Peppol BIS Billing 3.0.20 · UBL

UBL-CR-560: A UBL invoice should not include the InvoiceLine AllowanceCharge PaymentMeans

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-560]-A UBL invoice should not include the InvoiceLine AllowanceCharge PaymentMeans

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

UBL-CR-560 is a warning rule in the schema layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is flagged but not rejected.

What this rule requires

This warning rule applies to UBL invoices and credit notes. It requires that no line-level allowance or charge (cac:AllowanceCharge) inside a cac:InvoiceLine or cac:CreditNoteLine contains a cac:PaymentMeans element. The document triggers the warning when any such nested cac:PaymentMeans is present. Because the severity is warning, the validator reports it but does not reject the document; it advises avoiding this structure.

How to fix

Remove the cac:PaymentMeans element from every cac:AllowanceCharge that is a child of cac:InvoiceLine or cac:CreditNoteLine. If the producing system generates line-level payment means automatically, adjust the mapping or configuration so that line-level allowance/charge blocks do not include cac:PaymentMeans.

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

Validate an invoice against these rules · All release changes