ErrorMandatory content (EN 16931)
BR-09: Seller country code is missing
Last updated: · XRechnung 3.0.2 · KoSIT validation configuration of 2026-08-31
What does the message mean?
The invoice does not contain “Seller country code” (BT-40), which is mandatory here.
The invoice is invalid under this rule and the recipient may reject it.
Typical causes
- The country is empty in the company data because the software assumes domestic addresses are in Germany.
- The country is stored as text (“Deutschland”) instead of a two-letter code.
How to fix it
- Set the country in your company address.
- The XML needs the two-letter ISO 3166-1 code, “DE” for Germany (in UBL: cac:Country/cbc:IdentificationCode).
- Then generate the e-invoice again and re-validate it.
Example (XRechnung, UBL syntax)
Shortened excerpt from an official KoSIT test invoice. We tested with the official rules that the faulty version triggers exactly this message and the corrected one does not.
<cbc:PostalZone>12345</cbc:PostalZone>
</cac:PostalAddress>
<cac:PartyTaxScheme><cbc:PostalZone>12345</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode>DE</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>Official rule text
BR-09: The Seller postal address (BG-5) shall contain a Seller country code (BT-40).
Source: KoSIT/CEN validation rules (XRechnung 3.0.2 · KoSIT validation configuration of 2026-08-31).