Validation rules
BR-CL-14 — EN 16931 rule
A country code in the invoice is not an ISO 3166-1 alpha-2 code.
- Rule
BR-CL-14— official EN 16931 / XRechnung rule- Severity
- error
How to fix it
Correct invoice.seller.address.country or invoice.buyer.address.country to a real two-letter code, e.g. "DE".
BR-CL-14 auf Deutsch — was bedeutet der Fehler?
Ein Ländercode in der Rechnung ist kein gültiger ISO-3166-1-alpha-2-Code. Das Eingabeschema prüft nur das Format (zwei Großbuchstaben) — ein nicht existierender Code wie "XX" fällt erst beim KoSIT-Validator auf, der das Dokument ablehnt.
So beheben Sie den Fehler
Korrigieren Sie invoice.seller.address.country bzw. invoice.buyer.address.country auf einen echten Zwei-Buchstaben-Code, z. B. "DE".
Related rules
BR-CL-15— The item country of origin (BT-159) is not an ISO 3166-1 alpha-2 code.BR-CL-13— The list identifier of an item classification (BT-158 listID) is not a UNTDID 7143 code.BR-CL-16— The payment means code (BT-81) is not a UNTDID 4461 code.BR-CL-11— The scheme of a legal registration identifier (BT-30/BT-47 schemeID) is not part of the ISO/IEC 6523 ICD list.BR-CL-17— A VAT category code at document level (BT-95, BT-102 or BT-118) is not one of the UNCL 5305 values EN 16931…BR-CL-10— The scheme of a party identifier (BT-29/BT-46 schemeID) is not part of the ISO/IEC 6523 ICD list.
Official sources
- XRechnung specification (KoSIT / xeinkauf.de)
- KoSIT validator on GitHub and the XRechnung validator configuration
Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.
Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.