Peppol BIS Billing 3.0.21 · UBL

UBL-CR-641: A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge TaxCategory

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-641]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge TaxCategory

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

UBL-CR-641 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 an invoice or credit note does not contain a tax category inside the price allowance/charge of any line. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cac:AllowanceCharge/cac:TaxCategory), so it is satisfied only when no such element exists. If a document contains cac:TaxCategory under cac:Price/cac:AllowanceCharge on an invoice line or credit note line, the validator reports a warning.

How to fix

Remove the cac:TaxCategory element from every cac:AllowanceCharge that is inside cac:Price on cac:InvoiceLine or cac:CreditNoteLine. This rule is a warning, so the document is not rejected, but the validator recommends not having this element in 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-641.

Validate an invoice against these rules · All release changes