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