# EU VAT Number Validator – Bulk VIES Check, Name & Address (`yck69/eu-vat-validator`) Actor

Validate EU VAT numbers in bulk with the official VIES service: messy formats cleaned, check digits verified, registered company name and address, expected-name match and consultation number for your audit trail. Unanswered checks are free.

- **URL**: https://apify.com/yck69/eu-vat-validator.md
- **Developed by:** [yck](https://apify.com/yck69) (community)
- **Categories:** Automation
- **Features:** Limited permissions
- **Stats:** 7 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $3.00 / 1,000 vat number checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## EU VAT Number Validator – Bulk VIES Check, Name & Address

https://www.youtube.com/watch?v=NA9qI5XvKwA

**What does EU VAT Number Validator do?** It checks whether EU VAT numbers are valid, in bulk, with the European Commission's official **VIES** service, and returns the **registered company name and address**. Paste numbers in any format, validate a whole customer or supplier list, and get a clean, export-ready answer for each one.

- **Any format accepted**: `FR 40 303 265 045`, `de811569869`, `NL-820.646.660.B01`, Greek `GR…` or `EL…`, or numbers without prefix plus a default country.
- **Typos caught before VIES**: national format and **check digits** are verified locally for France, Germany, Italy, Belgium, the Netherlands, Poland, Portugal, Spain (format), Sweden, Denmark, Finland, Austria, Luxembourg and more. Those rows are free.
- **Registered name and address** with postal code and city split out, when the member state discloses them.
- **Expected-name check**: give the company name you have on file and get `match`, `partial` or `mismatch` — spot a wrong or borrowed VAT number during supplier onboarding.
- **Consultation number** (with your own VAT number): official proof that you checked your customer on that date, for zero-rated intra-EU invoices.
- **Reliable in bulk**: one request per member state at a time, automatic retries when a national service is busy, duplicates checked once. If a country doesn't answer, the row says so and **isn't charged**.

### What data can you get?

<table>
<tr><td>✅ Valid or invalid</td><td>🏢 Registered name</td><td>📍 Address</td></tr>
<tr><td>📮 Postal code and city</td><td>🌍 Country</td><td>🔢 Check-digit result</td></tr>
<tr><td>🤝 Name match</td><td>🧾 Consultation number</td><td>📅 Request date</td></tr>
<tr><td>🔁 Retries handled</td><td>🆔 Your reference</td><td>📊 Summary counts</td></tr>
</table>

### How to use it

1. Click **Try for free** and open the Actor.
2. Paste **VAT numbers** in any format.
3. Optionally add expected **company names** and your own VAT number.
4. Click **Start** and review the status of each number.
5. Export to CSV or Excel, or keep only the problems.

### Input examples

**Check a few numbers**

```json
{
  "vatNumbers": ["IE6388047V", "FR03552081317", "NL820646660B01", "DE811569869"]
}
```

**Supplier onboarding: check that each number belongs to the expected company**

```json
{
  "items": [
    { "vatNumber": "BE0403170701", "companyName": "Electrabel", "reference": "supplier-12" },
    { "vatNumber": "PL5260250995", "companyName": "Orange Polska", "reference": "supplier-13" }
  ],
  "requesterVatNumber": "FR40303265045"
}
```

**Validate a whole customer list from a dataset and keep only problems**

```json
{
  "datasetId": "YOUR_DATASET_ID",
  "vatField": "vat",
  "nameField": "company",
  "defaultCountry": "FR",
  "onlyProblems": true
}
```

### Output

One row per number. Real results from a run in November 2026:

| VAT number | Status | Registered name | Postal code | City |
|---|---|---|---|---|
| IE6388047V | valid | GOOGLE IRELAND LIMITED | | |
| FR03552081317 | valid | ELECTRICITE DE FRANCE | 75008 | PARIS |
| NL820646660B01 | valid | ABN AMRO BANK N.V. | 1082PP | AMSTERDAM |
| DE811569869 | valid | *(Germany doesn't disclose names)* | | |

```json
{
  "input": "FR03552081317",
  "vatNumber": "FR03552081317",
  "countryCode": "FR",
  "country": "France",
  "status": "valid",
  "isValid": true,
  "name": "ELECTRICITE DE FRANCE",
  "address": "22-30 AVENUE DE WAGRAM-., 22 AV DE WAGRAM, 75008 PARIS",
  "addressLines": ["22-30 AVENUE DE WAGRAM-.", "22 AV DE WAGRAM", "75008 PARIS"],
  "postalCode": "75008",
  "city": "PARIS",
  "nameDisclosed": true,
  "nameMatch": null,
  "consultationNumber": null,
  "requestDate": "2026-11-15T21:02:31.512Z",
  "source": "VIES (European Commission)"
}
```

| `status` | Meaning | Charged? |
|---|---|---|
| `valid` | Registered for intra-EU trade. | Yes |
| `invalid` | VIES says the number isn't active for intra-EU trade (domestic-only, deregistered or wrong). | Yes |
| `bad-checksum` | The check digits are wrong: almost always a typo. | No |
| `bad-format` | Doesn't match the country's VAT number format. | No |
| `unknown-country` / `missing-country` | Not an EU prefix (GB numbers left VIES after Brexit; use XI for Northern Ireland), or no prefix and no default country. | No |
| `service-unavailable` | The national service didn't answer after several retries. Run it again later. | No |

`nameMatch` compares your `companyName` with the registered name, ignoring accents, word order and legal forms (`match` ≥ 0.9, `partial` ≥ 0.7, else `mismatch`). The **SUMMARY** record counts every status.

### How much does it cost?

**$3 per 1,000 VAT numbers checked** ($0.003 per unique number answered by VIES). Typos, format errors and unanswered checks are free, and a number appearing twice is checked and charged once.

### More Actors from this developer

### FAQ

##### Why is the name empty for German or Spanish numbers?

Some member states (Germany, Spain and a few others) confirm validity but never disclose the name and address through VIES. The row says `nameDisclosed: false`.

##### What is the consultation number?

When you give your own EU VAT number, VIES returns a unique identifier for each valid check. Tax authorities accept it as proof that you verified your customer's number before invoicing without VAT.

##### Does it work for UK VAT numbers?

Great Britain numbers are no longer in VIES since 2021. Northern Ireland businesses trading goods with the EU use the `XI` prefix, which is supported.

##### How many numbers can I check?

Thousands per run. Requests are paced per member state to stay within VIES limits; large lists take roughly one second per number for a single country, and countries are checked in parallel.

##### Can I use it through the API, Make, Zapier or Google Sheets?

Yes. Every run can be started and read through the [Apify API](https://docs.apify.com/api/v2) (JavaScript and Python clients, CLI, MCP), and Apify integrations connect it to Make, Zapier, n8n, Google Sheets, Slack, webhooks and more.

##### Is it legal to use this data?

The Actor only reads public or official open data and doesn't log in anywhere. Check the source's licence and your local rules (for example GDPR when data concerns people) for your use case; if in doubt, ask a lawyer.

##### Something isn't working, or you need another field?

Open an issue on the **Issues** tab: feedback is read and answered.

# Actor input Schema

## `vatNumbers` (type: `array`):

One per line, in any format: <code>FR 40 303 265 045</code>, <code>de811569869</code>, <code>NL820646660B01</code>. Greek numbers can start with EL or GR.

## `items` (type: `array`):

Check that each number belongs to the company you expect: <code>\[{"vatNumber": "BE0403170701", "companyName": "Electrabel", "reference": "supplier-12"}]</code>. <code>country</code> can replace a missing prefix; <code>reference</code> is copied to the output.

## `datasetId` (type: `string`):

ID of an Apify dataset with your customers or suppliers.

## `vatField` (type: `string`):

Field holding the VAT number in each dataset item.

## `nameField` (type: `string`):

Field holding the expected company name, used for the name match.

## `defaultCountry` (type: `string`):

Used for numbers written without a country prefix.

## `requesterVatNumber` (type: `string`):

With it, VIES returns a <b>consultation number</b> for each valid check: official proof that you verified your customer's number on that date (useful for zero-rated intra-EU invoices).

## `onlyProblems` (type: `boolean`):

Keep only invalid, badly formatted, unanswered numbers and name mismatches in the dataset. Everything is still checked.

## Actor input object example

```json
{
  "vatNumbers": [
    "IE6388047V",
    "FR03552081317",
    "NL820646660B01",
    "DE811569869"
  ],
  "vatField": "vatNumber",
  "nameField": "companyName",
  "onlyProblems": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Status, registered name and address for each number.

## `results` (type: `string`):

Every field of every row.

## `summary` (type: `string`):

The SUMMARY record.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "vatNumbers": [
        "IE6388047V",
        "FR03552081317",
        "NL820646660B01",
        "DE811569869"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("yck69/eu-vat-validator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "vatNumbers": [
        "IE6388047V",
        "FR03552081317",
        "NL820646660B01",
        "DE811569869",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("yck69/eu-vat-validator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "vatNumbers": [
    "IE6388047V",
    "FR03552081317",
    "NL820646660B01",
    "DE811569869"
  ]
}' |
apify call yck69/eu-vat-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yck69/eu-vat-validator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SkuccFYPPeBdqLc0b/builds/zCdyrgY7qc3qLcBQv/openapi.json
