Message

When greek supplier does not have a VAT number, the tax representative must be present

Context
cac:AccountingSupplierParty[$isGreekSender]/cac:Party
Test
count(cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/cbc:CompanyID) = 1 or count(/ubl-invoice:Invoice/cac:TaxRepresentativeParty) = 1