What is a Spanish NIF for a foreign company?
A Spanish Tax Identification Number (Número de Identificación Fiscal, or NIF) is the tax identifier issued by the Spanish Tax Agency (Agencia Tributaria, AEAT). A company incorporated outside Spain may need a Spanish NIF when it carries out transactions with Spanish tax relevance, even if it has no registered office, branch or employees in Spain.
For foreign legal entities, the Spanish NIF normally begins with the letter N. The NIF identifies the entity for Spanish tax-administration purposes; it does not, by itself, establish that the company is Spanish tax resident or registered for intra-EU VAT transactions.
When might a foreign company need a Spanish NIF?
The requirement depends on the transaction and its tax treatment. Common situations include:
- Buying, owning or selling real estate in Spain.
- Making a Spanish investment or undertaking a transaction that must be reported to the tax authorities.
- Complying with Spanish tax-filing or withholding obligations.
- Conducting business activities or operations that trigger Spanish tax identification requirements.
Documents generally required
For a foreign entity, the AEAT generally requests evidence of the company’s legal existence, identification of the person signing the application, and proof that this person has authority to represent the company. Depending on the structure and circumstances, prepare:
- An official certificate of incorporation, company-register extract, constitutional documents or equivalent evidence that the entity exists.
- The legal name, registered office, country of incorporation and foreign tax-identification details.
- Identity document and Spanish tax-identification number of the person signing Form 036, where required.
- Evidence of the signatory’s authority, such as an appointment document, company extract or valid power of attorney.
- Those documents will need to be apostilled or legalized.
Documentation requirements vary according to the legal form and submission channel. Do not assume that a foreign document is automatically accepted without translation or authentication.
How to apply: step by step
1. Confirm the purpose of the application
Identify the transaction requiring a Spanish tax number and determine whether the entity also has VAT, non-resident tax, investment or other filing obligations.
2. Identify the authorised representative
Verify who may sign for the foreign company. The signatory or representative may need an individual Spanish tax identifier before the application can be completed.
3. Gather corporate documentation
Collect official evidence of incorporation or legal existence and proof of representation. Check whether Spanish translations or legalisation/apostille will be needed.
4. Prepare Spanish Form 036
Enter the foreign entity’s identifying details, addresses, representative details and the relevant census information. Form 036 is the standard census form used for a company NIF application.
5. Submit the application and supporting evidence
Use the applicable AEAT submission procedure or an authorised representative. The exact process and identification requirements can depend on the chosen channel.
6. Receive and verify the NIF
The tax authority reviews the application and assigns a number if the requirements are met. Where required supporting evidence is incomplete, a provisional NIF may be issued pending completion of the file.
Spanish NIF vs Spanish VAT number: what is the difference?
The two terms are often used interchangeably, but they are not the same registration. A NIF is an entity’s Spanish tax identification number. A Spanish VAT identification number (NIF-IVA) is connected to VAT obligations and, where applicable, registration in the Register of Intra-Community Operators (ROI). A company is not automatically active in the EU VIES database simply because it has obtained a Spanish NIF.
Whether a foreign company must register for Spanish VAT, obtain an intra-community VAT identification number or appoint a fiscal representative depends on its activities, the VAT place-of-supply rules and where the business is established. These issues should be checked separately.
Can a non-resident company apply without travelling to Spain?
Depending on the available filing procedure, the documentation and the authority of the applicant, a Spanish professional representative may be able to handle the application without the company’s directors travelling to Spain.
How long does it take?
There is no reliable universal turnaround time for every foreign-company NIF application. Timing depends on the completeness of the supporting documents, whether the representative already has the necessary Spanish identification and the AEAT’s processing or verification requirements. For an urgent transaction, start collecting corporate and representation documents as early as possible.
Frequently asked questions
Does a foreign company need to incorporate a Spanish subsidiary to obtain a NIF?
No. A company legally established abroad may be assigned a Spanish NIF without incorporating a Spanish subsidiary, where it needs tax identification in Spain.
Is a Spanish NIF the same as a CIF?
CIF is an older term still commonly used for a company tax number. The current official term is NIF and CIF is only applicable to Spanish entities.
Does obtaining a Spanish NIF make my company tax resident in Spain?
No, not by itself. Corporate tax residence depends on the applicable legal tests and facts, not merely on having a Spanish identifier.
Can we use the NIF for EU VAT transactions immediately?
Not necessarily. Intra-EU VAT operations may require separate ROI/NIF-IVA registration; check the company’s status in VIES when relevant.
Does the company director need an NIE?
Yes if the director is a foreign national. The person signing or acting as representative must meet Spanish tax-identification requirements.
Can a UK or US company obtain a Spanish NIF?
Yes, foreign companies can apply where a Spanish tax-identification need exists, subject to submitting the correct documents and meeting the AEAT requirements.
Get professional assistance with your Spanish company NIF
NIFNumber.com helps foreign businesses navigate the Spanish tax-identification process. We can review your company’s situation, explain the documentation required and guide the submission through the appropriate procedure. Contact our team to discuss your company’s Spanish NIF application.
This guide provides general information, not tailored legal or tax advice. Requirements can change and individual cases may call for additional analysis.
Official sources
Spanish Tax Agency — NIF for legal persons and entities: https://sede.agenciatributaria.gob.es/Sede/censos-nif-domicilio-fiscal/solicitar-nif/nif-persona-juridica-entidad.html
Spanish Tax Agency — Documents for foreign entities: https://sede.agenciatributaria.gob.es/Sede/ayuda/manuales-videos-folletos/manuales-practicos/guia-practica-cumplimentacion-modelo-censal-036/anexos/anexo-01-solicitud-nif-documentacion-aportar/documentacion-solicitud-nif-personas-juridicas-entidades/entidades-extranjeras-sucursales-establecimientos-permanentes-espana/entidades-extranjeras.html
Spanish Tax Agency — VAT identification, ROI and VIES: https://sede.agenciatributaria.gob.es/Sede/iva/iva-operaciones-comercio-exterior/identificacion-realizar-operaciones-otros-empresarios-ue.html
