DE-R-008: If both supplier and customer are located in Germany, the element "Buyer city" (BT-52)…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[DE-R-008]-If both supplier and customer are located in Germany, the element "Buyer city" (BT-52) shall be provided.
cbc:CityName[boolean(normalize-space(.))]DE-R-008 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-52.
What this rule requires
The rule requires that when both the supplier and the customer are located in Germany (country code DE), the buyer's city (BT-52) must be provided in the customer's postal address. In UBL, this means the element cbc:CityName inside cac:AccountingCustomerParty/cac:Party/cac:PostalAddress must be present and contain a non-whitespace value. If it is missing or empty, the invoice fails validation.
How to fix
Add or correct the buyer's city in the customer party address. In the invoice or credit note XML, under cac:AccountingCustomerParty/cac:Party/cac:PostalAddress, ensure that cbc:CityName contains the buyer's city name (e.g., the city from the buyer's address) and is not empty or only whitespace. This is only required when both the supplier and customer country codes are DE.
Guidance on this rule. The original text above is authoritative.
Where to go next
DE-R-008 changed in 1 published Peppol BIS Billing UBL release comparison:
- DE-R-008 in 3.0.17 → 3.0.18: New rule
Validate an invoice against these rules · All release changes