Faktura

BR-09

fatalEN 16931EN 16931 business ruleCIIUBLBG-5BT-40

The Seller postal address (BG-5) shall contain a Seller country code (BT-40).

Why it fails

The Seller postal address has no country code (BT-40).

How to fix it

Add the ISO 3166-1 alpha-2 country code. UBL: PostalAddress/cac:Country/cbc:IdentificationCode. CII: PostalTradeAddress/ram:CountryID. Greece is GR here (unlike the VAT identifier, which uses EL).

What the validator checks

CII — context /rsm:CrossIndustryInvoice

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

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

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

Related rules

Part of BR — EN 16931 core business rules.

Validate an invoice against this rule →