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
- Invoicing in USD or AED and expecting the recipient to convert
- Holding the rate in an internal field that never reaches the UBL mapping
How to fix it
Whenever DocumentCurrencyCode is not OMR, emit TaxExchangeRate with the rate applied at the tax point.
<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-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