Why BR-09 Fails
Full country names ('Germany'), 3-letter codes ('DEU'), or empty country tags violate ISO 3166-1 alpha-2.
How to Fix BR-09
- Replace the seller country string with its 2-letter uppercase ISO 3166-1 alpha-2 code (e.g., DE, FR, NL, AT).
The Seller postal address must specify a valid ISO 3166-1 alpha-2 country code in BT-40.
Full country names ('Germany'), 3-letter codes ('DEU'), or empty country tags violate ISO 3166-1 alpha-2.
<cac:Country><cbc:IdentificationCode>Germany</cbc:IdentificationCode></cac:Country>
<cac:Country><cbc:IdentificationCode>DE</cbc:IdentificationCode></cac:Country>
npx @cairnkithq/facturkite-cli validate invoice.xml --profile xrechnung-ubl --format sarif
Full country names ('Germany'), 3-letter codes ('DEU'), or empty country tags violate ISO 3166-1 alpha-2.
Yes. Paste your XML or upload a Hybrid PDF in FacturKite's free workbench or run npx @cairnkithq/facturkite-cli validate invoice.xml locally to verify BR-09 deterministically.
Every EN 16931 invoice must declare a non-empty specification identifier (CustomizationID / GuidelineSpecifiedDocumentContextParameter).
An invoice must contain a unique, non-blank invoice identifier in BT-1.
An invoice must contain a valid calendar issue date formatted as YYYY-MM-DD (or CII format 102 YYYYMMDD).
An invoice must declare a valid UNTDID 1001 numeric document type code (e.g., 380 for commercial invoice, 381 for credit note).
Every invoice must carry a valid 3-letter ISO 4217 currency code in BT-5.
An invoice must contain the full legal name of the seller in BT-27.