Peppol BIS Billing 3.0.21 · UBL

UBL-CR-637: A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge…

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-637]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge SequenceNumeric

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cac:AllowanceCharge/cbc:SequenceNumeric)

UBL-CR-637 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 include the element cbc:SequenceNumeric inside cac:AllowanceCharge within cac:Price of an cac:InvoiceLine or cac:CreditNoteLine. The test checks that no such cbc:SequenceNumeric exists on any line. This is a warning, so the document is not rejected, but the validator reports it.

How to fix

Remove every cbc:SequenceNumeric element that appears under /ubl:Invoice/cac:InvoiceLine/cac:Price/cac:AllowanceCharge or /cn:CreditNote/cac:CreditNoteLine/cac:Price/cac:AllowanceCharge. If your system generates these elements, adjust it to omit them at the line-level price allowance/charge.

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

Validate an invoice against these rules · All release changes