Peppol BIS Billing 3.0.21 · UBL

UBL-CR-643: A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge PaymentMeans

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-643]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge PaymentMeans

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

UBL-CR-643 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

This advisory rule checks that no cac:PaymentMeans appears as a child of cac:AllowanceCharge inside the line item's cac:Price. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cac:AllowanceCharge/cac:PaymentMeans), so a PaymentMeans in that position triggers the warning. It does not reject the invoice, but recommends omitting the element.

How to fix

Remove the cac:PaymentMeans element from any cac:Price/cac:AllowanceCharge under cac:InvoiceLine or cac:CreditNoteLine, or change your system to not include it there.

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

Validate an invoice against these rules · All release changes