Peppol BIS Billing 3.0.21 · UBL

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

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[DE-R-009]-If both supplier and customer are located in Germany, the element "Buyer post code" (BT-53) shall be provided.

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

DE-R-009 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-53.

What this rule requires

For both UBL Invoice and CreditNote, when both the supplier and customer country identification codes are DE, the buyer's postal address must contain a cbc:PostalZone element with a non-empty, non-whitespace value. This corresponds to the business term BT-53 ("Buyer post code"). The rule is fatal, so a document missing this value in the required context fails validation.

How to fix

In the buyer's cac:AccountingCustomerParty/cac:Party/cac:PostalAddress, add a cbc:PostalZone element containing the buyer's post code if it is missing. If it exists but is empty or only whitespace, set it to the actual post code value.

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

Where to go next

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

Validate an invoice against these rules · All release changes