Message

An invoice with a VAT category code of reverse charge MUST NOT contain other VAT categories.

Context
/ubl:Invoice
Test
count(child::cac:TaxTotal/*/*/cbc:ID) = count(child::cac:TaxTotal/*/*/cbc:ID[. = 'AE']) or count(child::cac:TaxTotal/*/*/cbc:ID[. = 'AE']) = 0