DE-R-010: If both supplier and customer are located in Germany, the element "Deliver to city"…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[DE-R-010]-If both supplier and customer are located in Germany, the element "Deliver to city" (BT-77) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered.
cbc:CityName[boolean(normalize-space(.))]DE-R-010 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-77, BG-15.
What this rule requires
The rule applies when both the supplier and customer country codes are DE and the delivery address group (cac:Delivery/cac:DeliveryLocation/cac:Address) is present. In that case, the cbc:CityName child must exist and contain non-whitespace text; this is the "Deliver to city" (BT-77). Because severity is fatal, an invoice or credit note that does not satisfy this is rejected.
How to fix
In both the invoice and credit note UBL documents, if the delivery address is present and both parties are in Germany, add a cbc:CityName element with the delivery city name inside cac:Delivery/cac:DeliveryLocation/cac:Address. If the parties are not actually both in Germany, check and correct the country codes in cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode and cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode so the rule does not apply.
Guidance on this rule. The original text above is authoritative.
Where to go next
DE-R-010 changed in 1 published Peppol BIS Billing UBL release comparison:
- DE-R-010 in 3.0.17 → 3.0.18: New rule
Validate an invoice against these rules · All release changes