Message

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

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