[IBR-066-OM] - TAX category tax amount in accounting currency (IBT-190), TAX category code for tax category tax amount in accounting currency (IBT-192) and TAX category rate for tax category tax amount in accounting currency (IBT-193) must be provided when Invoice currency code [IBT-005] is not equal to 'OMR' and atleast one TAX category code (IBT-118) is equal to 'S'.
IBR-066-OMubl:Invoice | cn:CreditNote not($invoiceCurrency != 'OMR' and $doc//cac:TaxCategory/cbc:ID = 'S') or //cac:TaxTotal/cac:TaxSubtotal[ cac:TaxCategory/cbc:ID = 'S' and cac:TaxAmount and cac:TaxCategory/cbc:Percent ]