UBL-CR-002: A UBL invoice should not include the UBLVersionID or it should be 2.1
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-002]-A UBL invoice should not include the UBLVersionID or it should be 2.1
not(cbc:UBLVersionID) or cbc:UBLVersionID = '2.1'UBL-CR-002 is a warning rule in the schema layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is flagged but not rejected.
What this rule requires
The rule checks the UBL document's cbc:UBLVersionID element. It is satisfied if the element is absent, or if it is present and its value is exactly 2.1. This is a warning, so a document that does not meet the condition is reported but not rejected.
How to fix
Either remove the cbc:UBLVersionID element from the invoice or credit note, or set its value to 2.1.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to UBL-CR-002.
Validate an invoice against these rules · All release changes