Peppol BIS Billing 3.0.21 · UBL

UBL-CR-645: A UBL invoice should not include the InvoiceLine DeliveryTerms

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-645]-A UBL invoice should not include the InvoiceLine DeliveryTerms

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

UBL-CR-645 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 advises that a UBL invoice or credit note should not contain a cac:DeliveryTerms element inside any cac:InvoiceLine or cac:CreditNoteLine. The test checks that no such line-level delivery terms exist; if one is present, the advisory condition is reported. Because this is a warning, the document is not rejected, but the rule recommends removing the element.

How to fix

Remove the cac:DeliveryTerms element from each cac:InvoiceLine or cac:CreditNoteLine where it appears. If your system generates line-level delivery terms automatically, change the mapping or configuration so that cac:DeliveryTerms is not emitted inside invoice or credit note 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-645.

Validate an invoice against these rules · All release changes