Peppol BIS Billing 3.0 · rule
UBL-CR-211
What does UBL-CR-211 mean? A UBL invoice should not include the AccountingCustomerParty Party PostalAddress AddressTypeCode
Why did my invoice fail UBL-CR-211?
This EN 16931 rule warns when the UBL element cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:AddressTypeCode is present: the invoice should not include an address type code on the buyer postal address. EN 16931 models one buyer postal address (BG-8) without type qualification; distinguishing billing/shipping addresses is done structurally (the delivery address is BG-15), not by a type code. 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 AddressTypeCode
Common causes
- Address-book type flags exported from the ERP
- A delivery address mapped into PostalAddress with a type code instead of into cac:Delivery
- Full UBL 2.1 schema export
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.