EN16931 1.3.16 · UBL · Severity: ERROR

Invoice country code is not recognized

Country identification codes must occur in the ISO 3166-1 alpha-2 country list used by the selected EN16931 package.

Rule ID & Severity
BR-CL-14 · ERROR
Standard & Scope
EN16931 1.3.16 · UBL
XPath Condition
cac:Country/cbc:IdentificationCode = $ISO3166-COUNTRIES
Target XML Path
cac:Country/cbc:IdentificationCode

Find the source field

cac:Country/cbc:IdentificationCode

Match namespace URI and element name, not a particular prefix spelling. The validator reports the full expanded-name source path when the published rule supplies a location.

Common causes

Invalid and corrected fragments

<cbc:IdentificationCode>de</cbc:IdentificationCode>
<cbc:IdentificationCode>DE</cbc:IdentificationCode>

Check the actual address country. Confirm case/whitespace normalization only for a recognized code at the correct namespace path. Do not infer country from VAT or bank identifiers.

Open BR-CL-14 in invoice-safe-repair →

Verify the whole document

These are fragments, not complete invoices. The exact rule is exercised by synthetic mutation tests against the stated package. Correcting one field does not prove conformance; run the full selected validator again. Published messages and severity remain authoritative.

Official BR-CL-14 source ↗

Explanation record: 2026-10-14 · Local WebAssembly / SaxonJS validation. No invoice-derived report is published as a search page.

EN16931 / Validate
No invoice uploads or storage
No invoice uploads or storage

Validate

Choose files · EN16931

XML · PDF
5 MB XML · 20 MB PDF · 500 documents per batch

Related tools and rules