Peppol BIS Billing 3.0.21 · UBL

UBL-CR-646: A UBL invoice should not include the InvoiceLine SubInvoiceLine

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-646]-A UBL invoice should not include the InvoiceLine SubInvoiceLine

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

UBL-CR-646 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 contains no cac:SubInvoiceLine elements inside any cac:InvoiceLine or cac:CreditNoteLine. The test returns false if any such element exists. This is a warning, so the validator reports it advisory but does not reject the document.

How to fix

Remove all cac:SubInvoiceLine elements from each cac:InvoiceLine or cac:CreditNoteLine, or configure the producing system not to generate sub-invoice lines.

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

Validate an invoice against these rules · All release changes