Reference
Markdown exportBR-11 Buyer country code is required
The Buyer postal address shall contain a Buyer country code (BT-55) identifying the buyer’s country.
Problem Description
The Buyer postal address shall contain a Buyer country code (BT-55) identifying the buyer’s country.
ERROR
XRechnung 3.0
Context and Significance
This is a core EN16931 rule; the buyer country is decisive for VAT and place-of-supply rules, so the buyer address must always name a country.
Solution
Add cac:PostalAddress/cac:Country/cbc:IdentificationCode with an ISO 3166-1 alpha-2 code such as DE within the buyer address.
Quick actions
Valid Examples
Use these points as the practical checks for this section.
- BT-55 = DE — ISO 3166-1 alpha-2 country code present
Invalid Examples
Use these points as the practical checks for this section.
- cac:Country/cbc:IdentificationCode is missing inside the buyer postal address
Code Examples
Valid XML
<cac:PostalAddress>
<cbc:CityName>Muenchen</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>DE</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>Invalid XML
<cac:PostalAddress>
<cbc:CityName>Muenchen</cbc:CityName>
<cbc:PostalZone>80331</cbc:PostalZone>
</cac:PostalAddress>