VAT numbers by country / Spain
Spanish VAT number
Format, example and a free check against the official register.
Format
| Local name | NIF-IVA (número de identificación fiscal) |
|---|---|
| Prefix | ES |
| Format | ES followed by 9 characters; the first or last (or both) is a letter |
| Format example | ESB12345678, ESX1234567X |
| Checked in | VIES (the EU’s VAT Information Exchange System) |
Examples show the format only; they aren't real registrations. Spaces, dots and dashes are ignored when checking.
Good to know
- VIES confirms whether the number is valid but doesn’t return the company’s name or address for this country, so compare the name on the invoice with what you know about the company.
How to check a Spanish VAT number
- Enter it with or without the ES prefix; spaces and punctuation don't matter.
- The check asks the official register in real time whether the number is currently valid, and returns the registered name and address where the country publishes them.
- Compare the name with the company you're dealing with: a valid number that belongs to a different company is a common invoice-fraud trick.
- If the check can't get an answer, Spain's database may be down: see the live VIES status.
Signed in, every check is saved with a PDF certificate you can show your auditor. To check many numbers at once, upload a spreadsheet, or use the VAT validation API.
VAT rates in Spain
Standard rate 21%; reduced rates 4%, 10%. All European VAT rates
Other countries
AustriaBelgiumBulgariaCroatiaCyprusCzechiaDenmarkEstoniaFinlandFranceGermanyGreeceHungaryIrelandItalyLatviaLithuaniaLuxembourgMaltaNetherlandsPolandPortugalRomaniaSlovakiaSloveniaSwedenNorthern IrelandUnited KingdomSwitzerlandNorway