einvoice / EN 16931 / XRechnung rule reference
BR-CL-15
Item origin country codes MUST be coded using ISO 3166-1.
Ländercodes in einer Rechnung MÜSSEN anhand der ISO-Codeliste 3166-1 codiert werden.
Deutsche Fassung: Übersetzung der gleichen BT/BG-Semantik (translation — not the official assert).
- Requires
- Country codes in an invoice MUST be coded using ISO code list 3166-1
- Business terms
- — (no single business term)
- Syntax
- Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
- Location (UBL-2.1 path)
cac:OriginCountry/cbc:IdentificationCode- Fix
- Encode `cac:OriginCountry/cbc:IdentificationCode` using a valid value from ISO code list 3166-1.
- Fix (Deutsch)
- Codieren Sie `cac:OriginCountry/cbc:IdentificationCode` mit einem gültigen Wert aus der geforderten Codeliste: Ländercodes in einer Rechnung MÜSSEN anhand der ISO-Codeliste 3166-1 codiert werden.
- Severity
- fatal
- Provenance source
en16931-ubl- Provenance assert
Country codes in an invoice MUST be coded using ISO code list 3166-1
The Location above is a UBL-2.1 path, and no UN/CEFACT-CII path for this rule is published here; Fix and Fix (Deutsch), verbatim from remediation_catalog.json and not reworded here; the UN/CEFACT-CII binding of this rule is differentially proven against the official CEN EN 16931 1.3.16 Schematron.
Everything here is free and open source — pick up whatever helps, at your own pace:
- Licensing — Apache-2.0 for everyone, including closed-source embedding; an optional $29 / $290 commercial license adds support and rule-corpus update notices.
- German remediation (
--lang de) — the German fix for this rule is in the section above; the CLI surfaces it in place of the English message with--lang de. - Quickstart / free on-ramp — the README, a copy-paste CI-gate recipe, and a 5-minute worked walkthrough.