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
- Using an internal category code
- Lower-casing the code
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-pack | Layer | Severity | Applies to |
|---|---|---|---|
| pint-om-1.0.1 | pint-om | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
| pint-om-1.0.0 | pint-om | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
Related rules
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