UBL-CR-526: A UBL invoice should not include the InvoiceLine OrderLineReference UUID
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-CR-526]-A UBL invoice should not include the InvoiceLine OrderLineReference UUID
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:OrderLineReference/cbc:UUID)UBL-CR-526 is a warning rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected.
What this rule requires
The rule applies to UBL invoices and credit notes. It is a warning that checks whether any cac:InvoiceLine or cac:CreditNoteLine contains cac:OrderLineReference/cbc:UUID. If such a cbc:UUID is present, the validator reports the warning; the document is not rejected. The rule message says a UBL invoice should not include the InvoiceLine OrderLineReference UUID.
How to fix
Remove the cbc:UUID child from each cac:OrderLineReference inside every cac:InvoiceLine or cac:CreditNoteLine. If an order line reference is needed, keep the cac:OrderLineReference but do not include its cbc:UUID.
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-526.
Validate an invoice against these rules · All release changes