Reference
Markdown exportBR-CL-14 Country codes must use ISO 3166-1
Country codes in an invoice, such as the seller (BT-40) and buyer (BT-55) country, must be coded using ISO 3166-1 alpha-2.
Problem Description
Country codes in an invoice, such as the seller (BT-40) and buyer (BT-55) country, must be coded using ISO 3166-1 alpha-2.
ERROR
XRechnung 3.0
Context and Significance
This EN16931 core code-list rule keeps postal-address countries interoperable across borders.
Solution
Use the two-letter ISO 3166-1 alpha-2 code, e.g. DE for Germany, FR for France, IT for Italy.
Quick actions
Valid Examples
Use these points as the practical checks for this section.
- BT-40 = DE
- BT-55 = FR
Invalid Examples
Use these points as the practical checks for this section.
- BT-40 = GER — three letters, not ISO 3166-1 alpha-2
- BT-40 = Germany — country name
Code Examples
Valid XML
<cac:PostalAddress>
<cac:Country>
<cbc:IdentificationCode>DE</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>Invalid XML
<cac:PostalAddress>
<cac:Country>
<cbc:IdentificationCode>GER</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>