InvoiceValidator.eu

BR-11

fatalEN 16931EN 16931 business ruleCIIUBLBT-55

The Buyer postal address shall contain a Buyer country code (BT-55).

Why it fails

The Buyer postal address has no country code (BT-55).

How to fix it

Add the ISO 3166-1 alpha-2 country code under the buyer's PostalAddress/Country.

What the validator checks

CII — context /rsm:CrossIndustryInvoice

normalize-space(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountryID) != ''

UBL — context cac:AccountingCustomerParty/cac:Party/cac:PostalAddress

normalize-space(cac:Country/cbc:IdentificationCode) != ''

Related rules

Part of BR — EN 16931 core business rules.

Check your own invoice against BR-11

…or paste the XML instead

Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.