All rules · pint-om · error
IBR-019-OM
The buyer's postal address must include all three of: address line 1, city, and country subdivision (the emirate).
Reviewed
Why this rule exists
Same reason as the seller address: the emirate determines place of supply and therefore the VAT treatment of the transaction.
Why it usually happens
- Buyer master data captured as a free-text block rather than structured fields
- Copying the seller address mapping but forgetting CountrySubentity on the buyer side
How to fix it
Apply the same structured-address validation to buyers that you apply to sellers, before serialization.
<cbc:StreetName>Corniche Road</cbc:StreetName> <cbc:CityName>Abu Dhabi</cbc:CityName> <cbc:CountrySubentity>Abu Dhabi</cbc:CountrySubentity>
The official rule
Buyer address line 1 (IBT-050), Buyer address line 2 (IBT-051), Buyer address line 3 (IBT-163), Buyer city (IBT-052) and Buyer post code (IBT-053) MUST be present when the Invoice transaction type (BTOM-001) is a Full tax invoice (10000000000000000000) AND/OR Third-party Invoice (00010000000000000000) or Self-billed Invoice/credit note (00100000000000000000) or Export Invoice (00000010000000000000) or Invoice for import of services for RCM (00000000100000000000) or Profit Margin Self-Invoice (00000000001000000000), or Profit margin (00000000010000000000) invoice or Import of Goods (00000000000010000000) or Special zone supplies (00000000000001000000) or summary invoice (00001000000000000000).
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
not($isFullTax or $isThirdParty or $isSelfBilled or $isExport or $isImportRCM or $isProfitMargin or $isProfitMarginSelf or $isImportGoods or $isSpecialZone or $isSummary) or (cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:StreetName and cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:AdditionalStreetName and cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CityName and cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone and cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:AddressLine/cbc:Line)
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