Tax categories MUST match provided tax categories on document level.
cac:AllowanceCharge/cac:TaxCategory[cbc:Percent] | cac:Item/cac:ClassifiedTaxCategory[cbc:Percent]
some $cat in $taxCategoryPercents satisfies $cat = $category