Error codes

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

Severity: fatal ยท Syntax: CII, UBL

Official message

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

What this means

The official message is: Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). This page does not add a further obligation.

Typical cause

The assertion in the context above failed for this file.

How to fix it

Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.

Business term

BG-15, BT-80

Related rules

Context and assertion

UBL cac:Delivery/cac:DeliveryLocation/cac:Address

CII /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery

UBL

exists(cac:Country/cbc:IdentificationCode)

CII

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

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate