Spanish Tax Number for Foreign Companies: Requirements, Documents and Steps

If your company is incorporated outside Spain but needs to carry out a transaction or comply with Spanish tax obligations, it may need a Spanish tax identification number (Número de Identificación Fiscal, or NIF). This guide explains when a foreign legal entity may need one, the typical documents involved and how the application process works.

Important: Obtaining a Spanish NIF does not automatically incorporate a Spanish company, create a permanent establishment, register the entity for VAT or authorise it to conduct a regulated activity. These questions require separate consideration.

When does a foreign company need a Spanish NIF?

A Spanish NIF may be needed when a foreign legal entity must identify itself before the Spanish Tax Agency (AEAT), file certain tax declarations or carry out transactions for which Spanish tax identification is required. The precise obligation depends on the transaction and the entity’s circumstances.

For example, a foreign company considering an investment, acquiring certain assets or undertaking activities in Spain should assess its identification and tax registration requirements before proceeding. Not every commercial contact with Spain requires a Spanish NIF.

Spanish NIF vs VAT registration: what is the difference?

A Spanish NIF is a tax identification number. VAT registration concerns the entity’s obligations under Spanish VAT rules. A Spanish NIF alone does not establish that a business is registered for VAT or entitled to use an intra-Community VAT number (NIF-IVA). Where relevant, registration in the Register of Intra-Community Operators (ROI) is a separate matter subject to applicable requirements.

If you are unsure whether your business needs only a NIF, VAT registration, or a Spanish subsidiary, it is worth assessing the intended activity before filing. See our guide to choosing between a Spanish S.L. and a foreign-company NIF.

Documents commonly required

The documentation depends on the company’s jurisdiction, legal form and who will submit the application. It may include:

  • A certificate of incorporation, commercial register extract or equivalent evidence of the foreign company’s existence and legal details.
  • Identification details for the company and its legal representative.
  • Evidence of the representative’s authority, such as corporate documentation or a power of attorney, where applicable.
  • A Spanish tax census declaration, generally using Form 036, completed for the relevant purpose.
  • Apostille or other legalisation and a sworn translation into Spanish, when required for the particular foreign documents.
  • Details of the entity’s intended activities or transactions in Spain and, where applicable, tax representation arrangements.

Do not assume that every document must be apostilled or translated in every case. The AEAT may require different supporting evidence depending on the application and how it is submitted.

How to apply for a Spanish NIF for a foreign company

  • 1. Identify the purpose. Determine why the foreign entity needs a NIF and whether any other Spanish tax registration is required.
  • 2. Confirm who can apply. Check the authority and identification of the company’s legal representative or appointed agent.
  • 3. Prepare the supporting documents. Obtain appropriate corporate evidence and arrange legalisation or translations if needed.
  • 4. Prepare and submit Form 036. Follow the applicable AEAT procedure and submission channel, which may depend on identification and representation arrangements.
  • 5. Respond to any AEAT requests. Additional evidence or corrections may be requested before the application is completed.
  • 6. Confirm the outcome. Keep the tax identification documentation and review any subsequent filing, VAT or other compliance obligations.

The timing varies according to document readiness, the applicant’s circumstances and any requests from the tax authority. There is no universal guaranteed processing time.

Can the application be managed from abroad?

In many cases, preparatory work and parts of the process can be coordinated remotely through an appropriately authorised representative. Whether personal attendance, particular identity checks or original documentation are necessary depends on the case and the available administrative procedures.

Frequently asked questions

Does a Spanish NIF mean my company has a branch in Spain?

No. A tax identification number does not itself establish a Spanish branch or subsidiary. Corporate registration and tax questions must be considered separately.

Is a Spanish NIF the same as a Spanish VAT number?

No. A NIF identifies the entity for Spanish tax purposes; VAT registration and intra-Community VAT identification involve additional rules and, where applicable, procedures.

Can a representative apply on behalf of my foreign company?

Depending on the procedure, an authorised representative may act for the company. The scope of authority and supporting documentation must be appropriate.

Will my company need to file Spanish tax returns after obtaining a NIF?

Not necessarily solely because a NIF was issued. Filing obligations depend on the activities, transactions and applicable tax rules. Obtain specific tax advice where necessary.

Official guidance and related resources

For current forms and administrative requirements, consult the Spanish Tax Agency (AEAT). You may also find these Echaniz Legal resources useful:

Need assistance with a Spanish NIF application?

Echaniz Legal supports foreign businesses with the coordination and documentation of Spanish NIF applications. Tell us where your company is incorporated, what you plan to do in Spain and your preferred timeframe so we can assess the scope of assistance.

View Spanish NIF application service and pricing →

If you would like help preparing the documentation for your company, request a tailored Spanish NIF application quote. You can also compare a foreign-company NIF with incorporating a Spanish S.L. before deciding how to establish your presence in Spain.

This guide is general information, not individual tax or legal advice. Requirements should be checked against current official procedures and the circumstances of each company.