Validates an EU VAT ID against the official European Commission VIES service and returns the registered company name and address where the country discloses them. Provide your own VAT ID to receive an official consultation number as proof of the check for your tax administration. An invalid VAT ID is returned as a result with an explanation, not as an error.
Validate EU VAT ID (VIES)| Property | Name | Type | Description |
|---|---|---|---|
vatId | VAT ID required | string | EU VAT ID to validate, including the country prefix, e.g. DE129273398 (spaces are ignored) minLength: 1 |
requesterVatId | Your Company VAT ID advanced | string | Optional: your own company's VAT ID. VIES then registers the check officially and returns a consultation number - store it together with the request date as proof for your tax office (for example for zero-rated EU B2B invoices). |
| Property | Name | Type | Description |
|---|---|---|---|
isValid | Is Valid | boolean | Whether the VAT ID is confirmed as registered and active by the official EU VIES service |
isFormatValid | Is Format Valid | boolean | Whether the structure and check digits of the VAT ID are valid for the country (offline check) |
validationMessage | Validation Message | string | Explains why the VAT ID is not valid or could not be verified; empty for valid VAT IDs |
compactVatId | Compact VAT ID | string | Normalized VAT ID without spaces, e.g. DE129273398 |
countryCode | Country Code | string | Country prefix of the VAT ID (e.g. DE; EL stands for Greece, XI for Northern Ireland) |
countryName | Country Name | string | Country of the VAT ID (English name, e.g. Germany) |
companyName | Company Name | string | Registered company name; some countries (e.g. Germany and Spain) do not disclose it |
companyAddress | Company Address | string | Registered company address; some countries (e.g. Germany and Spain) do not disclose it |
consultationNumber | Consultation Number | string | Official VIES consultation number proving the check towards your tax office; issued when 'Your Company VAT ID' is provided. Store it - a past check cannot be retrieved from VIES later |
requestDate | Request Date | string | Timestamp of the VIES check - keep it together with the consultation number as proof |
notes | Notes | array of string | Notes about the result, for example when a country does not disclose company details |
vatNumber | VAT Number advanced | string | National part of the VAT ID without the country prefix |
{
"vatId": "…"
}
Example generated from the connector definition.