Peppol BIS Billing 3.0.21 · UBL

UBL-CR-530: A UBL invoice should not include the InvoiceLine ReceiptLineReference

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-530]-A UBL invoice should not include the InvoiceLine ReceiptLineReference

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

UBL-CR-530 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 requires that a UBL invoice or credit note does not contain a cac:ReceiptLineReference element inside any cac:InvoiceLine or cac:CreditNoteLine. The test not((cac:InvoiceLine|cac:CreditNoteLine)/cac:ReceiptLineReference) passes only when no such nested element exists. Since the severity is warning, the document is not rejected, but the advisory recommends removing it.

How to fix

Remove every cac:ReceiptLineReference from each cac:InvoiceLine and cac:CreditNoteLine in the document.

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

Validate an invoice against these rules · All release changes