All rules · pint-om · error

CL-04-OM

Document-level allowance and charge tax category codes must come from the permitted UNCL5305 code list.

Reviewed

Why this rule exists

The category determines the tax treatment. A code outside the list has no agreed meaning between the two parties.

Why it usually happens

How to fix it

Use the coded values: S standard, Z zero-rated, E exempt, O out of scope, AE reverse charge.

The official rule

Document level allowance TAX category code (IBT-095), Document level charge TAX category code (IBT-102), TAX category code for tax category tax amount in accounting currency (IBT-192), TAX category code (IBT-118), Invoiced item TAX category code (IBT-151), MUST all be coded using the code list for Invoice VAT Categories.

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

((not(contains(normalize-space(.), ' ')) and contains(' S E O Z ', concat(' ', normalize-space(.), ' '))))

Applied to nodes matching cac:TaxCategory/cbc:ID | cac:ClassifiedTaxCategory/cbc:ID

Rule-pack versions

Rule-packLayerSeverityApplies to
pint-om-1.0.1pint-omerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-om-1.0.0pint-omerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice

Related rules

ibr-139-ae · BR-CL-17

Check your own invoice

Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.

Open the validator