All rules · pint-om · warning

ALIGNED-IBRP-S-09-OM-WARN

ACCEPTED WITH WARNING: The VAT category tax amount (IBT-117) for category "S" does not exactly equal the sum of invoice-line VAT amounts (BTOM-016) plus charges' VAT minus allowances' VAT, but the difference is within the permitted Baisa tolerance (+/- 0.001 OMR x number of invoice lines). The VAT breakdown 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 VAT category tax amount (IBT-117) for category "S" does not exactly equal the sum of invoice-line VAT amounts (BTOM-016) plus charges' VAT minus allowances' VAT, but the difference is within the permitted Baisa tolerance (+/- 0.001 OMR x number of invoice lines). The VAT breakdown 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($isInvoiceCurrency)                         or not($vatCategory = 'S')                         or u:slack($s09Actual, $s09Expected, 0)                         or not(u:slack($s09Actual, $s09Expected, $baisaCap))

Applied to nodes matching ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal | cn:CreditNote/cac:TaxTotal/cac:TaxSubtotal

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