Skip to content

v0.9.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 17:49
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.

Examples for the VAT category rules (BR-S, BR-Z, BR-E, BR-AE, BR-IC, BR-G, BR-O, BR-B): 74 new invalid examples in en16931, 50 in fr. en16931 now holds 177 invalid examples, fr 231.

Each category has its own realistic invoice, and each example breaks one thing in it: zero-rated solar modules sold to their operator in Germany (Z), the transport of goods being exported (E), subcontracted electrical work under reverse charge (AE), a pump shipped to a business in another EU country (K), a machine exported to Switzerland (G), and a German service to a Swiss company, outside the scope of VAT, whose seller gives its tax number (BT-32) since BR-O-02 forbids a VAT number (O). Split payment (B) is Italian: its two examples also fail the Factur-X profile rules that refuse category B (FX-SCH-A-000587, FX-SCH-A-000619), and BR-FR-15 in fr.

fr has no examples for BR-Z and BR-O (24 rules): France has no domestic zero rate, and a French company registered for VAT gives its VAT number on its invoices (CGI, annex II, art. 242 nonies A), which BR-O-02 forbids. Their examples are in en16931.

Some rules cannot fail alone in CII; the manifest names every rule each example fails. A category's rules on allowances and charges (-03, -04) fail with its rule on lines (-02), as the three run the same test on the seller's identifiers. BR-O-11 fails with BR-O-12, and BR-O-13 with BR-O-14 (shared tests). BR-AE-01, BR-IC-01, BR-G-01 and BR-O-01 fail with the -08 rule of their category: their example gives the category one breakdown per line, since the XML schema refuses an invoice without one. BR-S-01 fails with BR-CO-14.

183 of the 223 EN 16931 business rule ids have an example in en16931, 159 in fr. The 20 BR-IG and BR-IP rules (the Canary Islands' IGIC, the IPSI of Ceuta and Melilla) have none yet. Every example file of 0.8.0 is unchanged, byte for byte.

The same files as https://pypi.org/project/invoice-examples/0.9.0/ (wheel and sdist).