All rules · pint-om · error

IBR-066-OM

When you report tax in the accounting currency, each VAT category must state its tax amount in that currency as well as in the invoice currency.

Reviewed

Why this rule exists

The authority reads the breakdown, not just the total. A converted total with unconverted categories cannot be reconciled, and the difference is exactly where a rounding dispute starts.

Why it usually happens

How to fix it

Convert per category and then sum, rather than converting the total and apportioning it back — the rounding lands differently.

The official rule

TAX category tax amount in accounting currency (IBT-190), TAX category code for tax category tax amount in accounting currency (IBT-192) and TAX category rate for tax category tax amount in accounting currency (IBT-193) must be provided when Invoice currency code (IBT-005) is not equal to 'OMR' and at least one TAX category code (IBT-118) is equal to 'S'.

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

Schematron test

                 not($invoiceCurrency != 'OMR'                     and $doc//cac:TaxCategory/cbc:ID = 'S')                 or                 exists(                     $doc/cac:TaxTotal[cbc:TaxAmount/@currencyID = $taxCurrency]                         /cac:TaxSubtotal[                             cbc:TaxAmount/@currencyID = $taxCurrency                             and cac:TaxCategory/cbc:ID = 'S'                             and cbc:TaxAmount                             and cac:TaxCategory/cbc:Percent                         ]                 )                 

Applied to nodes matching ubl:Invoice | cn:CreditNote

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-004-OM · IBR-034-OM · ibr-co-14

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