Message

A credit note MUST contain VAT category details unless VAT total amount is omitted.

Context
/ubl:CreditNote
Test
(//cac:TaxScheme/cbc:ID = 'VAT') or not(/ubl:CreditNote/cac:TaxTotal/cbc:TaxAmount)
Usage
/ ubl:CreditNote / cac:TaxTotal / cac:TaxSubtotal / cac:TaxCategory