BR-CL-14: Country codes must be ISO 3166-1 codes
What it means
The official rule text from CEN:
Country codes in an invoice MUST be coded using ISO code list 3166-1
How to fix it
UBL: Write country codes in Country/IdentificationCode as two capital letters from ISO 3166-1, e.g. DE, not D, GER or Germany.
CII: Write country codes in CountryID as two capital letters from ISO 3166-1, e.g. DE, not D, GER or Germany.
Rule details
- Rule set
- EN 16931 rules (CEN): EN 16931 1.3.17 from CEN
- Severity
- Error. An invoice that breaks this rule is not valid.
- Formats
- UBL and CII
To check invoices from your own software, use the API: see the API reference.