# EU VAT Number Validator - Bulk VIES Check, Company Name (`gosoul9/eu-vat-validator`) Actor

Validate EU VAT numbers in bulk with the official VIES service of the European Commission. Get valid / invalid, company name and address for all 27 EU countries + Northern Ireland. Format check is free. $2 per 1,000 numbers checked.

- **URL**: https://apify.com/gosoul9/eu-vat-validator.md
- **Developed by:** [Gosoul Data](https://apify.com/gosoul9) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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, Company Name

Check **EU VAT numbers in bulk** against **VIES**, the official validation service of the European Commission. For each number you get **valid / invalid**, plus the **registered company name and address** when the country publishes them.

Works for the **27 EU countries + Northern Ireland (XI)**. Paste numbers in any format (`FR40303265045`, `DE 811 569 869`, `fr 40-303-265-045`). French **SIREN / SIRET** numbers are converted to the VAT number automatically.

![EU VAT Validator example output: VAT number validity, company name and address from VIES](https://api.apify.com/v2/key-value-stores/JJdNTW6mHqsclEqNv/records/eu-vat-validator-output)

### What you get

| Field | Example |
|---|---|
| `vatNumber` | `IE6388047V` (cleaned, with country prefix) |
| `country` | `Ireland` |
| `valid` | `true` / `false` |
| `name` | `GOOGLE IRELAND LIMITED` |
| `address` | `3RD FLOOR, GORDON HOUSE, BARROW STREET, DUBLIN 4` |
| `formatValid` | `true` (format checked locally before calling VIES) |
| `requestDate` | `2026-11-20` |
| `error` | why a number could not be checked (VIES down for a country...) |

Germany and a few other countries do not publish the company name through VIES: you still get `valid`, but `name` stays empty.

### How to use

1. Paste your VAT numbers, one per line.
2. Optional: set a **default country** for numbers written without the country prefix (e.g. `FR` to paste SIREN numbers).
3. Run, then export the results to Excel, CSV or JSON, or call the Actor from Make, Zapier, n8n or the API.

#### Input example

```json
{
  "vatNumbers": ["FR40303265045", "DE 811 569 869", "IE6388047V", "306138900"],
  "defaultCountry": "FR"
}
```

#### Output example

```json
{
  "input": "306138900",
  "vatNumber": "FR51306138900",
  "countryCode": "FR",
  "country": "France",
  "formatValid": true,
  "valid": true,
  "name": "SE DECATHLON",
  "address": "4 BD DE MONS, 59650 VILLENEUVE D ASCQ",
  "requestDate": "2026-11-20",
  "error": null
}
```

### Pricing

**$2 per 1,000 VAT numbers checked** (pay per result, no subscription).

You are **not charged** when:

- the number has an impossible format (detected locally, VIES is not called),
- the national VIES service is down and the number could not be checked (retry later).

### Use cases

- **Invoicing & accounting**: check customer VAT numbers before issuing reverse-charge (0% VAT) invoices.
- **E-commerce / marketplaces**: validate B2B buyers at checkout or in bulk once a month.
- **CRM cleaning**: fill in official company names and addresses from VAT numbers.
- **KYB / onboarding**: confirm a supplier or partner is a real registered business.

### FAQ

**Is this the official result?** Yes, every number is checked live against the European Commission's VIES service. The Actor only adds format checks, retries and clean output.

**What about UK VAT numbers?** Since Brexit, only Northern Ireland numbers (`XI...`) are in VIES. GB numbers are not supported.

**Why is the name empty for some valid numbers?** Some countries (Germany, Spain partly) do not share company names through VIES.

**A country returns errors.** National VIES services are sometimes down for maintenance. The Actor retries automatically; if it is still down, the number is returned with an error and is not charged.

# Actor input Schema

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

One EU VAT number per line, in any format: FR40303265045, DE 811 569 869, IE6388047V. French SIREN / SIRET numbers are accepted too (with default country FR).

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

Two-letter country code (FR, DE, IT, ES...) used for numbers written without a country prefix.

## Actor input object example

```json
{
  "vatNumbers": [
    "FR40303265045",
    "IT00743110157",
    "IE6388047V",
    "NL123456789B01"
  ]
}
```

# Actor output Schema

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

No description

# 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": [
        "FR40303265045",
        "IT00743110157",
        "IE6388047V",
        "NL123456789B01"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gosoul9/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": [
        "FR40303265045",
        "IT00743110157",
        "IE6388047V",
        "NL123456789B01",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("gosoul9/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": [
    "FR40303265045",
    "IT00743110157",
    "IE6388047V",
    "NL123456789B01"
  ]
}' |
apify call gosoul9/eu-vat-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gosoul9/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/Q9Lwoxho7TWyRxuhX/builds/VRZXsBrm3MoImUhlN/openapi.json
