BR-DE-11

Das Element "Deliver to post code" (BT-78) muss übermittelt werden, wenn die Gruppe "DELIVER TO ADDRESS" (BG-15) übermittelt wird.

In English The deliver to post code (BT-78) must be given when a deliver to address (BG-15) is given.

error: the document is invalid XRechnung Fehlermeldungen und ihre Lösung →

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element

Context
/ubl:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address | /cn:CreditNote/cac:Delivery/cac:DeliveryLocation/cac:Address
Test
cbc:PostalZone[boolean(normalize-space(.))]

Checked with XRechnung 3.0 Invoice (UBL), XRechnung 3.0 Credit Note (UBL)

Context
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress
Test
ram:PostcodeCode[boolean(normalize-space(.))]

Checked with XRechnung 3.0 Invoice (CII)