Peppol BIS Billing 3.0 · rule
UBL-CR-212
What does UBL-CR-212 mean? A UBL invoice should not include the AccountingCustomerParty Party PostalAddress AddressFormatCode
Why did my invoice fail UBL-CR-212?
This EN 16931 rule warns when the UBL element cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:AddressFormatCode is present: the invoice should not include an address format code on the buyer postal address. The buyer postal address (BG-8) is a fixed structure of address lines, city, post code, subdivision and country code; a format code describing the address layout is outside the core model. 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 AddressFormatCode
Common causes
- Generator emits the UN/ECE address format code by default
- Template copied from a full UBL 2.1 Address example
- Mapping from a format that used structured-versus-unstructured address flags
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.