GR-R-003

For the Greek Suppliers, the VAT must start with 'EL' and must be a valid TIN number

About

ID
GR-R-003
Flag
fatal
Context
pxs-taxdata:TaxData/pxs-taxdata:ReportedTransaction/pxs-taxdata:ReportedDocument/cac:AccountingSupplierParty[$isGreekSender]/cac:Party/cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/cbc:CompanyID
Test
substring(.,1,2) = 'EL' and u:TinVerification(substring(.,3))