Each credit note line MUST be categorized with the credit note line VAT category if the credit note has a VAT total amount
//cac:CreditNoteLine
(cac:Item/cac:ClassifiedTaxCategory/cbc:ID) or not(/ubl:CreditNote/cac:TaxTotal/*/*/*/cbc:ID='VAT')