Peppol BIS Billing 3.0.20 · UBL

UBL-CR-558: A UBL invoice should not include the InvoiceLine AllowanceCharge TaxCategory

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-558]-A UBL invoice should not include the InvoiceLine AllowanceCharge TaxCategory

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

UBL-CR-558 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 checks that no cac:InvoiceLine or cac:CreditNoteLine contains a cac:AllowanceCharge with a cac:TaxCategory. If any such cac:TaxCategory is present, the condition not(...) is false and the warning is reported. Since severity is warning, the document is not rejected, but the rule advises against including a tax category at the line-level allowance/charge.

How to fix

Remove the cac:TaxCategory element from any cac:AllowanceCharge inside cac:InvoiceLine or cac:CreditNoteLine. Keep line-level allowances/charges without a tax category, or move tax information to an element where the rule permits it.

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

Validate an invoice against these rules · All release changes