Message

A seller VAT identifier MUST be provided if the credit note has a VAT total amount

Context
/ubl:CreditNote
Test
(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID) or not(cac:TaxTotal/*/*/*/cbc:ID = 'VAT')