[ALIGNED-IBRP-Z-09-OM] - The VAT category tax amount (IBT-117) in a VAT breakdown (IBG-23) where VAT category code (IBT-118) is "Z" MUST equal 0 (zero) unless invoice transaction type is a simplified tax invoice (X1XXXXXXXXXXXXXXXXXX), where a VAT category tax amount (IBT-117) is not required if VAT category code (IBT-118) equal to "Z".
ALIGNED-IBRP-Z-09-OMubl:Invoice/cac:TaxTotal/cac:TaxSubtotal | cn:CreditNote/cac:TaxTotal/cac:TaxSubtotal$isSimplified or not($vatCategory='Z') or ( cbc:TaxAmount castable as xs:decimal and xs:decimal(cbc:TaxAmount) = 0 )