Validation rules
BR-CL-14
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".
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.