IBR-020-OM

Buyer country code (IBT-055) MUST be 'OM' when the Invoice transaction type (BTOM-001) is a Self-billed Invoice/credit note (00100000000000000000) or Invoice for import of services for RCM (00000000100000000000) or Profit Margin Self-Invoice (00000000001000000000) or Import of Goods (00000000000010000000).

About

ID
IBR-020-OM
Flag
fatal
Context
ubl:Invoice | cn:CreditNote
Test
not($isSelfBilled or $isImportRCM or $isProfitMarginSelf or $isImportGoods) or cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode='OM'