DE-R-004: If both supplier and customer are located in Germany, the element "Seller post code"…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[DE-R-004]-If both supplier and customer are located in Germany, the element "Seller post code" (BT-38) shall be provided.
cbc:PostalZone[boolean(normalize-space(.))]DE-R-004 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-38.
What this rule requires
For a UBL invoice or credit note where both the supplier's and customer's country identification codes are "DE" (case-insensitive, ignoring surrounding whitespace), the supplier's postal address must contain a cbc:PostalZone element with non-whitespace content. The rule is fatal, so a document missing this element or leaving it blank fails validation.
How to fix
Add a cbc:PostalZone element inside the supplier's cac:PostalAddress (under /ubl-invoice:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress or /ubl-creditnote:CreditNote/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress) and set it to the seller's German postal code. The value must not be empty or whitespace-only.
Guidance on this rule. The original text above is authoritative.
Where to go next
DE-R-004 changed in 1 published Peppol BIS Billing UBL release comparison:
- DE-R-004 in 3.0.17 → 3.0.18: New rule
Validate an invoice against these rules · All release changes