Peppol BIS Billing 3.0.20 · UBL

UBL-CR-527: A UBL invoice should not include the InvoiceLine OrderLineReference LineStatusCode

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-527]-A UBL invoice should not include the InvoiceLine OrderLineReference LineStatusCode

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:OrderLineReference/cbc:LineStatusCode)

UBL-CR-527 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

This is an advisory warning (severity: warning), so the document is not rejected. The rule requires that an invoice or credit note does not include cbc:LineStatusCode inside cac:OrderLineReference within any cac:InvoiceLine or cac:CreditNoteLine. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:OrderLineReference/cbc:LineStatusCode), meaning the validator reports a warning if this element is present.

How to fix

Remove the cbc:LineStatusCode element from every cac:OrderLineReference under cac:InvoiceLine or cac:CreditNoteLine. In the producing system, ensure line status code is not emitted within the order line reference.

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-527.

Validate an invoice against these rules · All release changes