🇪🇺 VAT Number CheckVIES · 27 EU countries + XI

Spain VAT number check (ES)

Validate a Spain VAT number – NIF-IVA – live against VIES, the official European Commission database. Free, no sign-up.

Optional. Add your own EU VAT number and VIES issues a consultation number for each check - the official proof tax auditors accept that you verified your customer before invoicing without VAT.

Spain VAT number format

ES followed by 9 characters; the first and/or last is a letter – for example ESX1234567X (placeholder, not a real number).

FAQ

What does a Spain VAT number look like?

A Spain VAT number (NIF-IVA) is ES followed by 9 characters; the first and/or last is a letter, for example ESX1234567X. Spaces, dots and dashes are ignored by our check.

How do I check a Spain VAT number?

Enter it above with the ES prefix. We ask VIES, the European Commission’s official validation service, which queries the tax administration of Spain live and returns valid or not valid and, where the country publishes them, the registered name and address.

Why would a valid number show no company name?

Some member states (Germany is the best-known example) do not publish name and address through VIES. The number is still confirmed valid; compare the name with your customer’s invoice details.

What is a VIES consultation number?

If you also enter your own EU VAT number, VIES issues a consultation number for the check. It is the official proof that you verified your customer on that date – keep it with the invoice when you apply the reverse charge.

Can I invoice a Spain business without VAT?

For B2B supplies to a business in Spain the reverse charge usually applies, but only if the customer’s VAT number is valid when you invoice. If it is not, you can be liable for the VAT yourself, so check every new customer and record the result.

Other countries

Austria · Belgium · Bulgaria · Croatia · Cyprus · Czech Republic · Denmark · Estonia · Finland · France · Germany · Greece · Hungary · Ireland · Italy · Latvia · Lithuania · Luxembourg · Malta · Netherlands · Poland · Portugal · Romania · Slovakia · Slovenia · Sweden · Northern Ireland

Checking a whole customer list?

Paste or upload up to 500 VAT numbers and see in one go which are valid, which are not, and which are wrongly formatted. Bulk VAT check →

Free summary; full result with registered names, addresses and consultation numbers plus a CSV record for $19.

Why check a VAT number?

Reverse charge
You may only invoice an EU business customer without VAT (intra-community supply or reverse charge) if their VAT number is valid. If it is not, the tax office can make you pay the VAT yourself.
Proof of the check
A VIES consultation number shows that you checked the number on a given date. Keep it with the invoice.
Before onboarding a supplier
The registered name and address should match the company you are dealing with – a quick fraud check.
Formats
Always start with the country prefix: DE, FR, IT, ES, NL, BE, AT, PL, SE, IE… Greece uses EL (GR is converted automatically), Northern Ireland uses XI. Spaces, dots and dashes are ignored.