Peppol BIS Billing 3.0.21 · UBL

UBL-CR-642: A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge TaxTotal

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-642]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge TaxTotal

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

UBL-CR-642 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 checks that no cac:InvoiceLine or cac:CreditNoteLine contains a cac:Price that contains a cac:AllowanceCharge with a cac:TaxTotal inside it. Since this is a warning, the validator reports it as advisory and the document is not rejected, but the element should not be present at that location.

How to fix

Remove the cac:TaxTotal element from any cac:AllowanceCharge inside cac:Price of an cac:InvoiceLine or cac:CreditNoteLine. If the system producing the invoice adds this element automatically, adjust it so that cac:TaxTotal is not generated 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-642.

Validate an invoice against these rules · All release changes