UBL-CR-559: A UBL invoice should not include the InvoiceLine AllowanceCharge TaxTotal
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-559]-A UBL invoice should not include the InvoiceLine AllowanceCharge TaxTotal
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:AllowanceCharge/cac:TaxTotal)UBL-CR-559 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 is an advisory warning. In UBL, an invoice or credit note should not have a cac:TaxTotal inside a line-level cac:AllowanceCharge (i.e. within cac:InvoiceLine/cac:AllowanceCharge or cac:CreditNoteLine/cac:AllowanceCharge). The rule checks that no such element exists; the validator reports it if present, but the document is not rejected.
How to fix
Remove any cac:TaxTotal element that appears inside cac:AllowanceCharge under cac:InvoiceLine or cac:CreditNoteLine. If your system generates it automatically, configure it not to emit cac:TaxTotal at that location.
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-559.
Validate an invoice against these rules · All release changes