DE-R-003: If both supplier and customer are located in Germany, the element "Seller city" (BT-37)…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[DE-R-003]-If both supplier and customer are located in Germany, the element "Seller city" (BT-37) shall be provided.
cbc:CityName[boolean(normalize-space(.))]DE-R-003 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-37.
What this rule requires
For UBL invoices and credit notes, when both the supplier's and the customer's country identification code equal 'DE' (case-insensitive, ignoring surrounding whitespace), the supplier's postal address must contain a cbc:CityName element whose normalized text is not empty. A document fails this fatal rule if either the supplier or customer country is not 'DE' the rule does not apply, but if both are 'DE' and the supplier's cac:PostalAddress has no cbc:CityName or the element is missing or contains only whitespace, validation fails.
How to fix
Ensure that within cac:AccountingSupplierParty/cac:Party/cac:PostalAddress there is a cbc:CityName element containing the supplier's city (for example <cbc:CityName>Berlin</cbc:CityName>). The element must be present and have non-whitespace content. If the supplier and customer country codes are not both DE, this rule does not require a city. Check the producer of the invoice to populate the supplier city when both parties are in Germany.
Guidance on this rule. The original text above is authoritative.
Where to go next
DE-R-003 changed in 1 published Peppol BIS Billing UBL release comparison:
- DE-R-003 in 3.0.17 → 3.0.18: New rule
Validate an invoice against these rules · All release changes