VRBL-INV-PT-2p1-65
Basic Info
| Rule | The Seller Tax ID does not meet the defined format: value preceded by the country code, according to ISO code list 3166-1. |
| Context |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID
|
| Pattern | vrbl-invoice-pt-2p1 |
| Severity | fatal |
Implementation
((not(contains(substring(normalize-space(.),1,2), ' ')) and contains($VRBL-CL-CountryCode, concat(' ', substring(normalize-space(.),1,2), ' '))))