Message

Tax category on line level MUST match provided tax categories on document level.

Context
cac:CreditNoteLine
Test
not(cac:Item/cac:ClassifiedTaxCategory/cbc:Percent) or (some $cat in $taxCategories satisfies $cat = $category)