Validation rules

BR-CL-15

The item country of origin (BT-159) is not an ISO 3166-1 alpha-2 code.

Rule
BR-CL-15official EN 16931 / XRechnung rule
Severity
error
Business term
BT-159 — Item country of origin
Field in your JSON
invoice.lines[*].origin_country

How to fix it

Correct invoice.lines[i].origin_country to a real two-letter code, e.g. "DE".

BR-CL-15 auf Deutsch — was bedeutet der Fehler?

Das Ursprungsland eines Artikels (BT-159) ist kein gültiger ISO-3166-1-alpha-2-Code.

So beheben Sie den Fehler

Korrigieren Sie invoice.lines[i].origin_country auf einen echten Zwei-Buchstaben-Code, z. B. "DE".

Official sources

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.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.