Tax category rates MUST match provided tax categories on document level when such exists.
cac:AllowanceCharge/cac:TaxCategory | cac:Item/cac:ClassifiedTaxCategory
not(cbc:Percent) or not(//cac:TaxTotal) or (some $cat in $taxCategoryPercents satisfies $cat = $category)