All rules · pint-om · warning

IBR-168-OM-WARN

ACCEPTED WITH WARNING: The Line Item VAT amount (BTOM-016) does not exactly equal the calculation (Invoice Line Net Amount (IBT-131) x VAT rate (IBT-152) / 100), but the difference is within the permitted Baisa tolerance (+/- 0.001 OMR per line). The invoice line is accepted; confirm the rounding is intentional.

No plain-English explanation yet. We write these in order of how often they actually trip people up, and this one has not come up much. Tell us what tripped you up and it moves to the front of the queue.

The official rule

ACCEPTED WITH WARNING: The Line Item VAT amount (BTOM-016) does not exactly equal the calculation (Invoice Line Net Amount (IBT-131) x VAT rate (IBT-152) / 100), but the difference is within the permitted Baisa tolerance (+/- 0.001 OMR per line). The invoice line is accepted; confirm the rounding is intentional.

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

Schematron test

                     not($vatRate)                     or u:slack($ibr168Actual, $ibr168Expected, 0)                     or not(u:slack($ibr168Actual, $ibr168Expected, $baisaTolerance))                 

Applied to nodes matching cac:InvoiceLine | cac:CreditNoteLine

Rule-pack versions

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

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