Peppol BIS Billing 3.0.21 · UBL

UBL-CR-531: A UBL invoice should not include the InvoiceLine BillingReference

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-531]-A UBL invoice should not include the InvoiceLine BillingReference

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:BillingReference)

UBL-CR-531 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 checks that no invoice or credit note line contains a cac:BillingReference. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:BillingReference), so if any cac:InvoiceLine or cac:CreditNoteLine has a cac:BillingReference child, the condition is false and the warning is reported. Because the severity is warning, the document is not rejected, but it should not include such a reference at line level.

How to fix

Remove all cac:BillingReference elements from every cac:InvoiceLine and cac:CreditNoteLine in the document. Also adjust the generating system so it does not output line-level billing references.

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

Validate an invoice against these rules · All release changes