Peppol BIS Billing 3.0.20 · UBL

UBL-CR-562: A UBL invoice should not include the InvoiceLine WithholdingTaxTotal

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-562]-A UBL invoice should not include the InvoiceLine WithholdingTaxTotal

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

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

The rule advises that a UBL invoice or credit note should not contain a cac:WithholdingTaxTotal element inside any cac:InvoiceLine or cac:CreditNoteLine. The test checks that no such element exists; if it is present, the validator reports a warning, but the document is not rejected for it.

How to fix

Remove the cac:WithholdingTaxTotal element from every cac:InvoiceLine in an invoice or every cac:CreditNoteLine in a credit note. If the producing system adds this element at line level, suppress 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-562.

Validate an invoice against these rules · All release changes