BR-09: Seller country code (BT-40) is missing
Official message
[BR-09] The Seller postal address (BG-5) shall contain a Seller country code (BT-40).
[BR-09] The Seller postal address (BG-5) shall contain a Seller country code (BT-40).
[BR-09] The Seller postal address (BG-5) shall contain a Seller country code (BT-40).
- Severity
- Error The invoice is invalid and may be rejected by the recipient.
- Applies to
- EN 16931 (CII), EN 16931 (UBL), Factur-X / ZUGFeRD EN 16931
- Affected fields
- BG-5, BT-40
What does this mean?
The seller postal address (BG-5) must contain a country code (Seller country code, BT-40). The element is missing or empty.
Typical causes
The seller's country was not selected.
The country appears as a name in the city or an address line instead of as a code.
How to fix the error
Enter the two-letter ISO 3166-1 alpha-2 country code, e.g. DE for Germany or AT for Austria.
CII: ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountryID, UBL: cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode.
Generate and validate the invoice again.
In E-Rechnungsfreund
In the invoice form, section "Verkäufer (BG-4)" (seller), select the country in the field "Land (BT-40/55)".
Example
Wrong
<ram:PostalTradeAddress>
<ram:PostcodeCode>10115</ram:PostcodeCode>
<ram:LineOne>Musterstraße 1</ram:LineOne>
<ram:CityName>Berlin, Germany</ram:CityName>
</ram:PostalTradeAddress>
Correct
<ram:PostalTradeAddress>
<ram:PostcodeCode>10115</ram:PostcodeCode>
<ram:LineOne>Musterstraße 1</ram:LineOne>
<ram:CityName>Berlin</ram:CityName>
<ram:CountryID>DE</ram:CountryID>
</ram:PostalTradeAddress>
For developers: test expression per syntax
EN 16931 (CII) (CII)
Context: /rsm:CrossIndustryInvoice
normalize-space(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountryID) != ''
EN 16931 (UBL) (UBL)
Context: cac:AccountingSupplierParty/cac:Party/cac:PostalAddress
normalize-space(cac:Country/cbc:IdentificationCode) != ''
Factur-X / ZUGFeRD EN 16931 (CII)
Technical ID in the source: FX-SCH-A-000018
Context: /rsm:CrossIndustryInvoice
//ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountryID!=''
Related validation rules
Last updated:
Explanation of the validation rule, not legal or tax advice.