All rules · pint-om · error

IBR-004-OM

When the invoice is issued in a currency other than Omani rial, you must supply the currency exchange rate (BTOM-003).

Reviewed

Why this rule exists

The Oman Tax Authority needs the tax amount in rials. Without the rate you applied, the reported figure cannot be reconciled against the tax you actually charged — and the rate is a business decision nobody can infer for you.

Why it usually happens

How to fix it

Whenever DocumentCurrencyCode is not OMR, emit TaxExchangeRate with the rate applied at the tax point.

Right
<cac:TaxExchangeRate>
  <cbc:SourceCurrencyCode>USD</cbc:SourceCurrencyCode>
  <cbc:TargetCurrencyCode>OMR</cbc:TargetCurrencyCode>
  <cbc:CalculationRate>0.3845</cbc:CalculationRate>
</cac:TaxExchangeRate>

The official rule

Currency exchange rate (BTOM-003) MUST be provided when the Invoice currency code (IBT-005) is not equal to 'OMR'.

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

Schematron test

$invoiceCurrency = 'OMR' or exists($exchangeRate)

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-034-OM · IBR-066-OM

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