VAT checker › Spain

Spanish VAT number check

A Spanish VAT number has the format ES + 9 characters (letter or digit first and last), for example ESX1234567X. Locally it is called the NIF-IVA (NIF / CIF). Paste a number below to check it free and live against VIES.

Spain in VIES: available

Spanish VAT number format

Country prefixES
FormatES + 9 characters (letter or digit first and last)
ExampleESX1234567X
Local nameNIF-IVA (NIF / CIF)
VAT rate21% standard, reduced 10%, 4%
7-day VIES uptime100.0%

Spanish NIF numbers can start or end with a letter depending on the entity type.

Spanish VAT number example

ESX1234567X is a correctly formatted Spanish VAT number: the prefix ES followed by X1234567X. Without the prefix, the number is the NIF-IVA (NIF / CIF). VIES always needs the prefix. You can paste the number with spaces, dots or dashes; the checker removes them.

The example only shows the format. It is not a real business.

Where to find a Spanish VAT number

Look on the customer's invoices, order confirmations or the footer and legal notice of their website. If you can't find it, ask the customer for their EU VAT number in the ES format above, not a domestic tax number. Our guide on finding a company's VAT number covers the other options.

What if VIES says the number is invalid?

First check the format against the table above. A correctly formatted number can still be invalid in VIES if it is not activated for intra-EU trade, was registered recently or has been deregistered. See VAT number valid but not in VIES for the common reasons, and don't invoice without VAT until the number checks out.

Last reviewed .

Sources: European Commission: VIES VAT number validation.

What does a Spanish VAT number look like?

Spain VAT numbers have the format ES + 9 characters (letter or digit first and last), for example ESX1234567X. Spanish NIF numbers can start or end with a letter depending on the entity type.

How do I check a Spanish VAT number?

Type the number including the ES prefix into the checker on this page. We validate the format, then query VIES, which forwards the request to the Spanish tax authority's database and returns whether the number is valid for intra-EU transactions.

What is the Spanish VAT number called locally?

In Spain it is called the NIF-IVA (NIF / CIF).

Is the Spanish VIES service down?

At the last check the Spanish system was available. Uptime over the last 7 days: 100.0%.

Checking many Spanish customers?

Upload a CSV and get every result back with VIES consultation numbers for your audit file.

Bulk check

Other countries