Skip to main content

BR-CL-14 Country codes must use ISO 3166-1

Every country code in an address, such as the seller (BT-40), buyer (BT-55), tax representative (BT-69) or deliver-to (BT-80) country, must be an ISO 3166-1 alpha-2 code.

Problem Description

ERROR

EN 16931 code-list rule (BR-CL)

Interactive pipeline

Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.

Try:

BR-CL-14 EN 16931 code list rule

Reported in stage 2: EN 16931 rules.

Level error: the report recommends rejecting the invoice.

Stage 2 · What it checks

  • The core business terms are present (BR-01 to BR-65).
  • Totals add up and related fields agree (BR-CO); codes and decimals are valid (BR-CL, BR-DEC).
  • Each VAT category is consistent: S, Z, E, AE, K, G, O, L, M (BR-S, BR-Z, BR-AE, BR-IC …).

Example codes

Typical fix

Recalculate totals and VAT from the line data, and correct the VAT category in the source data.

A validator checks an e-invoice in stages. First the file must be well-formed XML that matches the UBL or CII schema (XSD). Then the EN 16931 business rules run: BR core rules, BR-CO calculations, BR-CL code lists, BR-DEC decimals and VAT-category rules such as BR-S. Next come the national or network rules that BT-24 selects: BR-DE for XRechnung, PEPPOL-EN16931 for Peppol BIS Billing. The report lists every failed rule: one error means reject, warnings alone still mean accept. BR-CL-14: EN 16931 code list rule, reported in the stage “EN 16931 rules”. Rule sets: KoSIT validator 1.6.3 with the XRechnung configuration of 31 Aug 2026 (EN 16931 artefacts 1.3.16), Peppol BIS Billing 3.0.21.

Solution

Use the two-letter ISO 3166-1 alpha-2 code in capital letters, e.g. DE for Germany, FR for France or GB for the United Kingdom. In addresses, Greece is GR (not EL) and Northern Ireland is XI.

Quick actions

Context and Significance

The rule checks cac:Country/cbc:IdentificationCode in UBL and ram:CountryID in CII. It fails when an ERP exports three-letter codes (DEU), country names or lowercase codes, and in two common special cases: UK is not an ISO 3166-1 code (use GB), and EL is only the Greek VAT prefix, while the Greek country code is GR. Example: a buyer in Athens has BT-55 = GR, although its VAT identifier starts with EL.

Valid Examples

  • BT-40 = DE
  • BT-55 = GB — United Kingdom
  • BT-55 = GR — Greece

Invalid Examples

  • BT-55 = UK — not an ISO 3166-1 code; use GB
  • BT-55 = EL — Greek VAT prefix; use GR
  • BT-40 = DEU — three letters, not alpha-2

Code Examples

Valid XML
<cac:PostalAddress>
  <cac:Country>
    <cbc:IdentificationCode>GB</cbc:IdentificationCode>
  </cac:Country>
</cac:PostalAddress>
Invalid XML
<cac:PostalAddress>
  <cac:Country>
    <cbc:IdentificationCode>UK</cbc:IdentificationCode>
  </cac:Country>
</cac:PostalAddress>

Affected Fields

Validation Tools