VRBL-INV-IT-1p2-139
Basic Info
| Rule | The Carrier Tax Company ID used as VAT ID must begin with a valid Alpha-2 Country Code. |
| Context |
/ubl:Invoice/cac:Delivery/cac:CarrierParty/cac:PartyTaxScheme/cbc:CompanyID
|
| Pattern | vrbl-invoice-it-1p2 |
| Severity | fatal |
Implementation
not(../cac:TaxScheme/cbc:ID = 'VAT')
or
contains($VRBL-CL-CountryCode, concat(' ', substring(normalize-space(.), 1, 2), ' '))