Message

A credit note with a VAT category code of reverse charge MUST NOT contain other VAT categories

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