Spain VAT number format
ES + 9 characters (letter or digit, 7 digits, letter or digit). Check: the last character is a check digit or letter (NIF/CIF rules).
Examples that pass the check: ESC54733704, ESA50557784, ESU07277320.
These are fake numbers for testing — they are not registered in VIES.
How do I verify a real Spain VAT number?
Use the EU VAT number checker (VIES).
More test data for Spain
Spain IBAN · Spain phone numbers · Spain addresses
Other countries
Austria · Belgium · Bulgaria · Croatia · Cyprus · Czechia · Denmark · Estonia · Finland · France · Germany · Greece · Hungary · Ireland · Italy · Latvia · Lithuania · Luxembourg · Malta · Netherlands · Poland · Portugal · Romania · Slovakia · Slovenia · Sweden · United Kingdom · Norway · Switzerland