Skip to content

UBL-CR-525 – EN 16931 validation rule

Official message

[UBL-CR-525] A UBL invoice should not include the InvoiceLine OrderLineReference SalesOrderLineID

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((cac:InvoiceLine|cac:CreditNoteLine)/cac:OrderLineReference/cbc:SalesOrderLineID)

Related validation rules

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