Faktura

BR-57

fatalEN 16931EN 16931 business ruleCIIUBLBG-15BT-80

Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80).

Why it fails

A deliver-to address (BG-15) has no country code (BT-80).

How to fix it

Add the ISO 3166-1 alpha-2 country code to the delivery address, or remove the address group if you are not stating a delivery location.

What the validator checks

CII — context $Delivery_information

(ram:ShipToTradeParty/ram:PostalTradeAddress and normalize-space(ram:ShipToTradeParty/ram:PostalTradeAddress/ram:CountryID) != '') or not (ram:ShipToTradeParty/ram:PostalTradeAddress)

UBL — context cac:Delivery/cac:DeliveryLocation/cac:Address

exists(cac:Country/cbc:IdentificationCode)

Related rules

Part of BR — EN 16931 core business rules.

Validate an invoice against this rule →