IBR-097-OM

[IBR-097-OM, IBR-103-OM] - If TAX category code for tax category tax amount in accounting currency (IBT-192) is 'Z', TAX category rate for tax category tax amount in accounting currency (IBT-193) MUST be 0.

About

ID
IBR-097-OM
Flag
fatal
Context
ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal | cn:CreditNote/cac:TaxTotal/cac:TaxSubtotal
Test
not($taxCurrency != '' and $isTaxCurrency and $vatCategory='Z') or (cac:TaxCategory/cbc:Percent castable as xs:decimal and xs:decimal(cac:TaxCategory/cbc:Percent) = 0)