Peppol BIS Billing 3.0 · rule
UBL-CR-002
What does UBL-CR-002 mean? A UBL invoice should not include the UBLVersionID or it should be 2.1
Why did my invoice fail UBL-CR-002?
The cbc:UBLVersionID element should either be absent or have the value 2.1. EN 16931 invoices are defined on UBL 2.1, so any other version claim is inconsistent with the syntax binding.
Official rule text
A UBL invoice should not include the UBLVersionID or it should be 2.1
Common causes
- Generator writing 2.0 or 2.2 as the version
- Hard-coded version string left over from an older integration
How do I fix it?
<cbc:UBLVersionID>2.1</cbc:UBLVersionID>
Related rules
UBL-CR-001 · UBL-CR-003 · UBL-CR-004 · UBL-CR-005 · UBL-CR-006 · UBL-CR-007 · UBL-CR-008 · UBL-CR-009
Check your invoice against this rule
Paste it into the live demo, or call POST /v1/validate. See the quickstart.