Skip to content

UBL-CR-002 – EN 16931 validation rule

Official message

[UBL-CR-002] A UBL invoice should not include the UBLVersionID or it should be 2.1

EN 16931 (UBL) · Warning · Message language: English · Version: xrechnung-3.0.2-validator-configuration-2026-08-31
Severity
Warning Note: this does not make the invoice invalid, but it should be checked.
Applies to
EN 16931 (UBL)
For developers: test expression per syntax

EN 16931 (UBL) (UBL)

Context: /ubl:Invoice | /cn:CreditNote

not(cbc:UBLVersionID) or cbc:UBLVersionID = '2.1'

Related validation rules

Last updated:
Explanation of the validation rule, not legal or tax advice.