Validitool

VAT numbers by country / Spain

Spanish VAT number

Format, example and a free check against the official register.

Format

Local nameNIF-IVA (número de identificación fiscal)
PrefixES
FormatES followed by 9 characters; the first or last (or both) is a letter
Format exampleESB12345678, ESX1234567X
Checked inVIES (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

How to check a Spanish VAT number

  1. Enter it with or without the ES prefix; spaces and punctuation don't matter.
  2. 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.
  3. 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.
  4. 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