Faktura

BR-20

fatalEN 16931EN 16931 business ruleCIIUBLBG-11BG-12BG-4BT-69

The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11).

Why it fails

The Seller tax representative postal address has no country code (BT-69).

How to fix it

Add the ISO 3166-1 alpha-2 country code to the tax representative's address.

What the validator checks

CII — context $Tax_Representative

normalize-space(ram:PostalTradeAddress/ram:CountryID) != ''

UBL — context cac:TaxRepresentativeParty/cac:PostalAddress

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

Related rules

Part of BR — EN 16931 core business rules.

Validate an invoice against this rule →