When do you need a Spanish VAT number?
You need a Spanish VAT number when a transaction is taxable in Spain and cannot be declared at home or through OSS. The obligation often starts before your first invoice, on the day your goods reach a Spanish warehouse and long before anyone thinks about VAT returns. What counts is the transaction, not the amount of Spanish VAT at stake.
| Situation | Spanish VAT number required? | Why |
|---|---|---|
| Goods stored in Spain (Amazon FBA, 3PL, fulfilment centre) | Yes | Local stock creates an obligation from the first unit |
| Purchase and resale of goods within Spain | Yes | A domestic sale is invoiced under Spanish VAT |
| Import of goods from outside the EU | Yes | The importer declares and recovers import VAT |
| Intra-EU acquisition of goods in Spain | Yes | Taxed in Spain and reported on Modelo 349 |
| Supply of goods from Spain to a business in another EU country | Yes | The exemption requires a NIF-IVA valid in VIES |
| Export of goods from Spain outside the EU | Usually yes | The export is documented and declared in Spain |
| B2C distance sales to Spain above the EU threshold | Not necessarily | OSS covers them if no goods are stored in Spain |
| Services linked to Spanish property, events or passenger transport | Often yes | Place-of-supply rules tax them in Spain |
The €10,000 threshold of the EU One-Stop Shop (OSS) causes most of the mistakes we see. It covers cross-border B2C distance sales and some digital services, but it never exempts stock held in Spain or local sales from registration.
What a Spanish VAT number looks like: format, NIF, NIE and CIF
A Spanish VAT number is the NIF preceded by ES: two letters, then 9 characters. Spain issues no separate VAT number. When the AEAT accepts your ROI application, it adds the country code to your NIF, as provided by article 25 of Royal Decree 1065/2007.
Spanish VAT number format
| Holder | NIF structure | Example |
|---|---|---|
| Foreign company without a Spanish establishment | N + 7 digits + control letter | ESN1234567A |
| Spanish company | letter + 8 digits | ESB12345678 |
| Spanish branch of a foreign company | W + 7 digits + control letter | ESW1234567B |
| Foreign individual | NIE: X, Y or Z + 7 digits + letter | ESX1234567L |
A foreign company almost always receives an NIF starting with N, which tells your Spanish customers at a glance that they are dealing with a non-resident entity.
NIF, NIE, DNI and CIF
Every taxpayer in Spain has an NIF, company or individual. The NIE identifies foreign individuals, such as a sole trader or the director who signs the forms, never the company itself. Spanish nationals use their DNI identity card number as their NIF.
And the CIF? It was the tax code of Spanish companies until 2008, when it merged into the NIF. Invoices and ERP fields still say "CIF", so read it as the company's NIF.
Verify a Spanish VAT number in VIES
VIES, the VAT Information Exchange System of the European Commission, creates nothing: it queries the Spanish database and answers valid or invalid. An NIF not yet registered in the ROI comes back invalid in VIES, even though the AEAT knows the company. Check the VAT number in VIES, yours and your customer's, before your first intra-EU invoice. Keep the dated result on file: it supports the exemption if the AEAT questions it later.
The NIF and the NIF-IVA can be assigned weeks apart, and in between your number works for domestic Spanish operations while still failing the VIES VAT check. Invoice an intra-EU supply during that gap and you must charge Spanish VAT on it.
How to register for VAT in Spain step by step
One form, Modelo 036, two stages: first the NIF, then the ROI. Since 3 February 2025, form 037 no longer exists.
- Map your Spanish transactions: stock, local sales, imports, exports, intra-EU acquisitions and supplies, services taxable in Spain.
- Decide on representation: fiscal representative or simple tax agent, depending on where you are established (see below).
- Prepare the corporate file, with apostilles and sworn Spanish translations of foreign documents.
- Submit Modelo 036 to obtain the NIF. Page 10 now declares the beneficial owners of legal entities.
- Apply for the ROI in the same form: box 582 for the request, box 584 for the expected date of your first intra-EU transaction.
- Provide the information the tax agency requests. It can ask you to prove that your intra-Community activity is real.
- Verify the NIF-IVA in VIES, then issue your first intra-EU invoices.
- Set up your returns: Modelo 303, Modelo 390, Modelo 349 and, above the thresholds, Intrastat.
I attach proof of activity to the ROI application from day one: signed contracts, pro-forma invoices, the logistics agreement, purchase orders. Files that only show an intention to trade get questioned. Each request costs weeks.
A complete file can still be refused at ROI stage when the business purpose looks thin. The question the tax agency asks is simple: does this business genuinely need an intra-Community VAT number, or did it just fill in the boxes?
Documents for a Spanish VAT registration
A complete file on the first submission is what keeps you within 40 days. The list varies with your country and legal form, but expect:
- Modelo 036, signed, including page 10 on beneficial owners;
- a recent company register extract or equivalent proof of incorporation;
- the articles of association, when requested;
- a VAT certificate from your country of establishment;
- the passport or ID of the legal representative;
- a power of attorney if a third party files for you;
- apostilles on foreign official documents;
- sworn Spanish translations of documents not issued in Spanish;
- proof of the Spanish activity: contracts, warehouse agreement, import documents or business plan.
Tax representative in Spain: who needs one?
A business established outside the EU must appoint a fiscal representative in Spain, under article 164.Uno.7º of the Spanish VAT Act. Countries with mutual assistance instruments are exempt.
| Where you are established | Fiscal representative | In practice |
|---|---|---|
| EU Member State | Not required | A tax agent handles registration and filings |
| United Kingdom | Not required in practice | You can still appoint a representative (mandatario) |
| Norway | Not required | Mutual assistance with Spain |
| Switzerland, United States, other non-EU | Required | Appointed before the NIF-IVA is assigned |
This is not a mailbox role. Depending on the case, the fiscal representative can be jointly liable for your Spanish VAT debts. That is why a serious representative reviews your flows, your invoicing and your stock locations before it accepts the mandate.
One more trap. The Canary Islands, Ceuta and Melilla sit outside the Spanish VAT territory: they apply their own indirect taxes (IGIC and IPSI), and goods shipped there from the mainland follow the export rules.
How long does it take to get a Spanish VAT number?
Count 40 days for an EU or UK company and 45 to 60 days outside the EU. The gap comes from the file rather than the form: appointing a fiscal representative, collecting apostilles and ordering sworn translations add a few weeks for non-EU businesses.
The legal clock is harsher. If the AEAT has not ruled within three months, the NIF-IVA can be considered refused (article 25.1 of Royal Decree 1065/2007). Silence is not approval.
Start as soon as the warehouse contract is signed, not when the first container ships. Two months of margin absorb a request for information without blocking your first sales.
Book your first Modelo 303 in the calendar the day the NIF arrives. A business registered in the middle of a quarter still owes the return for that quarter, and missing it starts the surcharge clock straight away.
After registration: returns and invoicing
From the first quarter, you file even when nothing happened, because a quarter without transactions still requires a nil Modelo 303.
| Return | What it covers | Frequency |
|---|---|---|
| Modelo 303 | VAT return and payment | Quarterly; monthly above €6,010,121.04 of turnover, in REDEME or a VAT group |
| Modelo 390 | Annual VAT summary | Yearly, except on SII |
| Modelo 349 | Intra-EU transactions | Monthly; quarterly up to €50,000 of supplies per quarter |
| Intrastat | Flows of goods | Monthly, once you exceed the threshold per flow |
Monthly filers also report their invoices through SII, the near real-time system on the AEAT website. Intrastat starts once your arrivals or your dispatches exceed €400,000 in a year. Deadlines and paying from a foreign bank are covered in our Spanish VAT return (Modelo 303) guide; thresholds in EC Sales List and Intrastat in Spain.
Two invoicing reforms are coming:
- VERI\*FACTU starts on 1 January 2027 for companies paying Spanish Corporate Income Tax, 1 July 2027 for others. Without a permanent establishment in Spain, you are out of scope.
- B2B e-invoicing (Royal Decree 238/2026) covers invoices to customers established in Spain: 12 months after the ministerial order on the AEAT platform above €8 million of turnover, 24 months for others. The order was still awaited in September 2026.
Penalties for late registration and late returns
The real risk is retroactive: the AEAT claims the VAT due since your first taxable transaction, blocks input VAT recovery until you regularise and adds penalties on top.
File late before any AEAT request and article 27 of the General Tax Act applies a surcharge, not a penalty:
- 1% plus 1% per full month, up to 12 months, without interest;
- 15% after 12 months, plus interest from the 13th month;
- 25% off the surcharge if you pay it and the tax on time.
After an AEAT request, article 191 applies penalties of 50% to 150% of the unpaid VAT, depending on severity.
The old 5%, 10%, 15% and 20% surcharge scale ended in 2021. Many guides still quote it.
Need help with your Spanish VAT registration?
Eurofiscalis prepares your Modelo 036, the ROI application and the supporting file, and acts as your fiscal representative when you need one. Book a call with an expert to review your Spanish VAT obligations in 30 minutes.
FAQ
Do I need a Spanish VAT number if I use Amazon FBA in Spain?
Yes. Stock in a Spanish Amazon fulfilment centre triggers registration from the first unit, whatever your sales. The €10,000 OSS threshold changes nothing here. Pan-European FBA sellers face the same rule in every storage country: see our guide to Amazon VAT registration.
What is the difference between a NIF and a Spanish VAT number?
The NIF is your Spanish tax identification number. The VAT number, or NIF-IVA, is that same NIF preceded by ES and activated for intra-EU trade through the ROI. Until your ROI registration is accepted, anyone who checks the number in VIES sees it as invalid.
Which Modelo 036 boxes are used for ROI registration?
Box 582 requests registration in the Registro de Operadores Intracomunitarios. Box 584 gives the expected date of your first intra-EU transaction. Since February 2025, the 036 is the only census form: form 037 has gone, and page 10 now declares the beneficial owners of the company.
How long does it take to obtain a Spanish VAT number?
About 40 days for an EU or UK company, 45 to 60 days for a non-EU company, which in most cases must also appoint a fiscal representative. Expect more if the tax agency asks for proof of activity. And after three months without any answer, the NIF-IVA can be considered refused.
Can OSS replace Spanish VAT registration?
Only for cross-border B2C distance sales and some digital services. OSS does not cover stock in Spain, domestic sales or imports. If you import into Spain without upfront VAT or keep goods in a Spanish warehouse, you need a Spanish VAT number.
Does a UK or non-EU company need a fiscal representative in Spain?
Swiss, US and most other non-EU businesses must appoint one. UK and Norwegian companies are not required to in practice, but many still appoint a representative to deal with the Spanish Tax Agency on their behalf. EU companies can follow the simpler route of a tax agent.
Is the CIF still used in Spain?
Not officially. Since 2008, the NIF has replaced the CIF of Spanish companies, keeping the same number. Software and invoices still label the field "CIF": read it as the NIF, and write the full VAT number with ES on intra-EU invoices.
What happens if a Spanish VAT return is filed late?
Before any AEAT request, you pay 1% plus 1% per full month, then 15% plus interest after a year, with 25% off if paid on time. Late registration also forces you to correct past sales, and how you invoice a client in Spain.
Countries concerned