Peppol BIS Billing 3.0 · rule
UBL-CR-353
What does UBL-CR-353 mean? A UBL invoice should not include the Delivery DeliveryLocation CountrySubentity
Why did my invoice fail UBL-CR-353?
The invoice should not contain the CountrySubentity element directly on DeliveryLocation (cac:Delivery/cac:DeliveryLocation/cbc:CountrySubentity). In EN 16931 the country subdivision of the deliver-to address (BT-79) belongs inside the delivery address (cac:DeliveryLocation/cac:Address/cbc:CountrySubentity), not on the location itself.
Official rule text
A UBL invoice should not include the Delivery DeliveryLocation CountrySubentity
Common causes
- The province/state is placed on the Location element instead of inside its Address child
- A flat address record is mapped onto Location-level fields
How do I fix it?
<cac:DeliveryLocation>
<cac:Address>
<cbc:CityName>Maribor</cbc:CityName>
<cbc:CountrySubentity>Podravska</cbc:CountrySubentity>
<cac:Country><cbc:IdentificationCode>SI</cbc:IdentificationCode></cac:Country>
</cac:Address>
</cac:DeliveryLocation>
<!-- CountrySubentity (BT-79) goes inside cac:Address -->
Related rules
UBL-CR-001 · UBL-CR-002 · UBL-CR-003 · UBL-CR-004 · UBL-CR-005 · UBL-CR-006 · UBL-CR-007 · UBL-CR-008
Check your invoice against this rule
Paste it into the live demo, or call POST /v1/validate. See the quickstart.