Spain VAT Rates 2026
Spain (España) levies Value Added Tax under the name NIF / CIF (Número de Identificación Fiscal / Código de Identificación Fiscal). The standard rate is 21%, applied to most goods and services. Reduced rates of 10% and 4% apply to essential categories including food, medicines, and cultural services.
Current rates — 2026
| Type | Rate | Applies to |
|---|---|---|
| Standard | 21% | Most goods and services |
| Reduced | 10% | Food, water supply, medicines, hotel accommodation, passenger transport, cultural events |
| Super-reduced | 4% | Basic foodstuffs (bread, cereals, milk), books and newspapers, medicines, prosthetics |
Access rates via API
The TaxID API returns current VAT rates for all 27 EU countries. Use the /api/v1/rates/ES endpoint to get Spain rates programmatically. Responses are cached for 24 hours.
curl http://localhost:3000/api/v1/rates/ES
# No authentication required for rate lookups
# Response:
# { "country_code": "ES", "standard_rate": 21,
# "reduced_rates": [10, 4], "currency": "EUR" }Applying the correct rate in code
For B2B intra-EU sales, validate the customer's VAT number first. A valid registration means reverse charge applies — you charge 0% and the customer self-accounts. For B2C, charge the Spain standard rate.
// 1. Validate the customer's Spain VAT number
const vatCheck = await fetch(
'http://localhost:3000/api/v1/validate/ES/CUSTOMER_VAT',
{ headers: { Authorization: 'Bearer YOUR_API_KEY' } }
).then(r => r.json());
// 2. Fetch current Spain VAT rates (no auth required)
const rates = await fetch('http://localhost:3000/api/v1/rates/ES').then(r => r.json());
// → { standard_rate: 21, reduced_rates: [10, 4] }
// 3. Apply the correct VAT treatment
if (vatCheck.valid) {
// B2B intra-EU: reverse charge — you invoice 0%, customer self-accounts
applyRate(0, 'reverse_charge');
} else {
// B2C: charge the Spain standard rate
applyRate(rates.standard_rate, 'standard');
}About Spain VAT
Spain has three VAT identifier types: CIF for companies (letter + 7 digits + letter), NIF for individuals (8 digits + letter), and NIE for foreign nationals (X/Y/Z + 7 digits + letter). All are validated through VIES as Spanish VAT numbers.
The Spain NIF / CIF is administered by the national tax authority and validated through the EU VIES system. Before applying any VAT rate or zero-rate exemption to a Spain business customer, validate their VAT registration number first.