Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 15:46
· 4 commits to main since this release
Immutable release. Only release title and notes can be modified.

Examples for the core EN 16931 rules and the code list rules (BR-CL): 58 new invalid examples in each target, 36 for core rules and 22 for code list rules. en16931 now holds 103 invalid examples, fr 181.

A missing value is an empty element, so the example fails the presence rule alone, or with the code list rule of the same field (BR-CL-14 for an empty country). A value outside a code list is one a real export can write: a word or a name where the list has a code (INV, EURO, SEPA, Deutschland, GLN as a scheme), a code of the other syntax (35, a UBL code, as the VAT point date code of a CII invoice), or a code EN 16931 does not use (AA). The Factur-X EN 16931 profile checks the same lists, so its own rule (FX-SCH-A-…) fails next to each BR-CL rule; the manifest names both.

In fr, 11 of the new examples also fail a French rule that reads the same data; the manifest names it.

Twelve core rules have no example: BR-12 to BR-15, BR-24, BR-31, BR-36, BR-41, BR-43, BR-47, BR-49 and BR-54 ask for an element the Factur-X EN 16931 XML schema already requires. COVERAGE.md gives the reason for each, and for BR-CO-05 to BR-CO-08, whose official test is always true. 111 of the 223 EN 16931 business rule ids have an example in each target.

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