IBR-066-OM

[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'.

About

ID
IBR-066-OM
Flag
fatal
Context
ubl:Invoice | cn:CreditNote
Test
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 ]