Peppol BIS Billing 3.0.21 · UBL

DE-R-011: If both supplier and customer are located in Germany, the element "Deliver to post code"…

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[DE-R-011]-If both supplier and customer are located in Germany, the element "Deliver to post code" (BT-78) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered.

Stored validation assertion
cbc:PostalZone[boolean(normalize-space(.))]

DE-R-011 is a fatal rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected. It refers to BT-78, BG-15.

What this rule requires

For UBL invoices and credit notes where both the supplier country and customer country are Germany (identification code DE), any delivered delivery address (cac:Delivery/cac:DeliveryLocation/cac:Address) must contain a cbc:PostalZone element whose value is not empty or only whitespace. This corresponds to BT-78 "Deliver to post code". A document fails when the delivery address is present but the postal zone is missing or blank.

How to fix

In the XML, within cac:Delivery/cac:DeliveryLocation/cac:Address, add or correct cbc:PostalZone to contain the delivery address postal code, for example <cbc:PostalZone>10115</cbc:PostalZone>. Ensure the value is not empty/whitespace. If no delivery address (BG-15) is used, the rule does not require this.

Guidance on this rule. The original text above is authoritative.

Where to go next

DE-R-011 changed in 1 published Peppol BIS Billing UBL release comparison:

Validate an invoice against these rules · All release changes