Peppol BIS Billing 3.0 · rule
UBL-CR-304
What does UBL-CR-304 mean? A UBL invoice should not include the TaxRepresentativeParty PostalAddress ID
Why did my invoice fail UBL-CR-304?
Within the tax representative's postal address (BG-12), EN 16931 only uses street name, additional street name, address line, city, postal code, country subdivision and country; cbc:ID on cac:PostalAddress is not part of that subset and should not appear.
Official rule text
A UBL invoice should not include the TaxRepresentativeParty PostalAddress ID
Common causes
- Internal address-record IDs from an ERP serialized into the address element
- Generic UBL address object emitted with all populated fields
How do I fix it?
<cac:PostalAddress> <cbc:StreetName>12 Rue de la Paix</cbc:StreetName> <cbc:CityName>Paris</cbc:CityName> <cbc:PostalZone>75002</cbc:PostalZone> <cac:Country><cbc:IdentificationCode>FR</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
Check your invoice against this rule
Paste it into the live demo, or call POST /v1/validate. See the quickstart.