All rules · pint-om · error
IBR-012-OM
Deliver to country code (IBT-080) must not be 'OM' if invoice transaction type (BTOM-001) is export invoice (00000010000000000000) and at least one VAT exemption reason code (IBT-121) is 'Export of service (VATZR-OM-09)'.
The official rule
Deliver to country code (IBT-080) must not be 'OM' if invoice transaction type (BTOM-001) is export invoice (00000010000000000000) and at least one VAT exemption reason code (IBT-121) is 'Export of service (VATZR-OM-09)'.
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
not($isExport and $lines//cbc:TaxExemptionReasonCode = 'VATZR-OM-09') or cac:Delivery/cac:DeliveryLocation/cac:Address/cac:Country/cbc:IdentificationCode != 'OM'
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 |
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