IBR-152-OM

[IBR-152-OM] - Buyer identifier (IBT-046) is mandatory with Scheme identifier (IBT-046-1) 'Special Zone License Number' if Invoice transaction type (BTOM-001) is Special zone supplies (XXXXXXXXXXXXX1XXXXXX) and Buyer country subdivision code (BTOM-026) is not equal to 'MO'.

About

ID
IBR-152-OM
Flag
fatal
Context
ubl:Invoice | cn:CreditNote
Test
not($isSpecialZone and cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CountrySubentityCode!='MO') or cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID