Peppol BIS Billing 3.0 · rule
UBL-CR-213
What does UBL-CR-213 mean? A UBL invoice should not include the AccountingCustomerParty Party PostalAddress Postbox
Why did my invoice fail UBL-CR-213?
This EN 16931 rule warns when the UBL element cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:Postbox is present: the invoice should not include a separate post box element on the buyer postal address. EN 16931 addresses use up to three generic address lines (BT-50, BT-51, BT-163); a P.O. box is written into an address line rather than a dedicated Postbox element. The element is not forbidden by UBL itself, but it lies outside the EN 16931 core invoice model, so remove it to keep the invoice fully conformant and interoperable.
Official rule text
A UBL invoice should not include the AccountingCustomerParty Party PostalAddress Postbox
Common causes
- Address parsed into fine-grained UBL fields instead of the three address lines
- ERP address structure exported field-by-field
- Template based on a full UBL 2.1 Address example
How do I fix it?
<cac:PostalAddress> <!-- put the P.O. box in an address line (BT-50) --> <cbc:StreetName>P.O. Box 123</cbc:StreetName> <cbc:CityName>Ljubljana</cbc:CityName> <cbc:PostalZone>1000</cbc:PostalZone> <cac:Country><cbc:IdentificationCode>SI</cbc:IdentificationCode></cac:Country> </cac:PostalAddress>
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
Paste it into the live demo, or call POST /v1/validate. See the quickstart.