Blog Carbray International

Permanent Establishment in Spain: Rules for US Companies

Fixed work desk in a Spanish apartment

By Damián Carmona Rodríguez, immigration lawyer, founder of Carbray International and member no. 32228 of the Barcelona Bar Association (Il·lustre Col·legi de l’Advocacia de Barcelona).

A US company has a permanent establishment (PE) in Spain when it carries on its business there through a fixed place of business or through an agent who habitually signs contracts for it. Once a PE exists, the profits attributable to it are taxable in Spain, whether or not you ever incorporated a Spanish entity. The trigger is usually a practical one, such as an employee working from a Spanish home office or a contractor who closes deals locally. It is rarely a formal decision.

Carbray International
carbrayinternational.com
Plan Cross-Border Moves With Care
Carbray brings immigration lawyers, tax advisors and relocation experts together to support companies moving talent to Spain and Portugal.

Explore corporate mobility support

TL;DR

  • Spanish domestic law and the US-Spain tax treaty both define a PE as a fixed place of business, or an agent with authority to contract, through which a foreign company operates in Spain.
  • No lease is required. A space used continuously for the business can be enough, including a home office.
  • Construction and installation projects have a time threshold. It is twelve months under the treaty and six months under Spanish domestic law, so always check which rules apply to your facts.
  • The treaty reduces double taxation but is not an exemption, and the US saving clause keeps US citizens and residents taxable in the US.
  • Individual immigration status and corporate PE risk are separate questions. Both need to be solved before staff move.

Table of Contents

What counts as a permanent establishment under Spanish law

Spain’s Non-Resident Income Tax Law (Royal Legislative Decree 5/2004) says an entity operates through a PE in Spain if it keeps facilities or workspaces of any kind there on a continuous or habitual basis, and carries out all or part of its activity through them. The law’s examples are offices, branches, workshops and warehouses. The same text covers an agent who is authorized to habitually contract on the entity’s behalf.

There are two practical points here.

First, the test is about what the space does, not what it is called. Nothing in the definition requires a lease signed by the company, a brass plate or a Spanish tax ID. If the business runs from a place on a continuous basis, the facts can create a PE.

Second, the agent route matters more than most US managers expect. A salesperson who negotiates and signs contracts in Spain for a US parent can create a PE without any physical office at all.

The BOE text is in Spanish and is the binding source. The consolidated version is the one to check, since this law is amended regularly.

What counts as a permanent establishment under Spanish law — overview diagram

How the US-Spain tax treaty changes the picture

The United States and Spain have an income tax treaty to avoid double taxation, in force since the early 1990s and amended by a later protocol. Article 5 of the treaty defines a PE as a fixed place of business through which the business of an enterprise is wholly or partly carried on. It lists places of management, branches, offices, factories and workshops. It also excludes activities that are only preparatory or auxiliary, such as storing goods for delivery or purchasing goods for the enterprise.

For a US company, the treaty matters in two ways.

  1. It narrows the PE definition in some cases. The clearest example is the time limit for building sites and installation projects, covered below.
  2. It limits Spain’s right to tax business profits. Under the treaty’s business profits article, Spain can generally tax a US enterprise’s business profits only to the extent they are attributable to a PE in Spain. So the question of whether a PE exists decides whether Spain taxes the profits at all.

The treaty is not a blanket exemption. As the Treasury’s technical explanation of the treaty shows, it is a mechanism for resolving conflicts when both countries claim the right to tax the same income. Relief from double taxation, in Article 24, works through credits or deductions, and it depends on correct disclosure and documentation.

The saving clause

Article 1, paragraph 3 of the treaty is the saving clause. It allows each country to tax its own citizens and residents as if the treaty did not exist, with limited exceptions. For a US citizen, this means the US keeps taxing worldwide income. A US company’s owner who moves to Spain still has US filings, and the usual tools for avoiding double tax are the Foreign Tax Credit or, for earned income, the Foreign Earned Income Exclusion. Dual citizenship does not change this.

Domestic rules versus treaty rules

For a US company, the treaty generally takes precedence where it is more favorable, but the two sets of rules are not identical. The table below shows the main contrasts on the points that come up most.

QuestionSpanish domestic lawUS-Spain treaty
Basic testFacilities or workspaces used continuously or habitually for the businessFixed place of business through which business is carried on
AgentsAgent authorized to habitually contract on the entity’s behalfDependent agent rules in Article 5
Construction or installation projectMore than six monthsMore than twelve months after the 2013 protocol
Preparatory or auxiliary activityNot a PE under the treaty analysisExpressly excluded from PE status

The twelve-month threshold came from the protocol amending the treaty, which raised the period from six months. The Treasury’s technical explanation of that protocol describes the change. For projects by US companies, a PE therefore generally arises only after twelve months. For companies from countries without such a treaty, the Spanish six-month rule applies.

Treaty positions depend on details such as who the beneficial owner is, the form of the entity and any limitation-on-benefits provisions. Do not rely on a table. Have the facts reviewed.

Common ways a US company creates a PE without meaning to

Based on the sources above, these are the situations that most often cause trouble.

A remote employee working from a Spanish home

A common misconception is that a PE requires a formal office lease. Under the Spanish definition, a space used on a continuous basis for the business can qualify, and that can include a home office. The risk goes up when the employee works there routinely, the company relies on that location for its business, and the employee does more than support tasks. It goes up further when the employee has authority to contract.

Occasional work from Spain does not create the same risk. A long-term arrangement with a fixed workspace does. The facts decide, not the label.

A sales or business development lead who closes deals

An individual who habitually concludes contracts on behalf of the US company in Spain can create a PE on the agent basis. That means the question is not just where the person sits, but what authority they have.

Project teams on site

Project work sent to Spain is a major compliance risk for mobility managers. Teams should log the cumulative days spent on site, including the time of related entities if they work on the same project. Under domestic law, a construction, installation or assembly project lasting over six months is a PE. Under the treaty, the limit is twelve months. Know which regime applies to your company before the project starts.

Spanish project permanent establishment time limits

Warehouses and fixed storage

Storage used only to deliver goods is generally treated as preparatory or auxiliary under the treaty. A warehouse that is part of a wider sales activity may be treated differently. Check the activity, not only the space.

Founders who relocate to Spain

This is the case we see most among US readers. A founder or director moves to Spain on a visa and keeps running the US company from a Spanish desk, signing contracts and managing staff. The individual’s residence and the company’s PE exposure are then connected. Where the company’s central management ends up is a question that deserves advice before the move. If you are weighing this, our guide to the Digital Nomad Visa for company directors and business owners covers the immigration side.

What happens when a PE exists

Taxpayers operating in Spain through a PE are subject to non-resident income tax on the income attributable to it. That is the regime in the BOE text, which treats income from business activities carried out through a PE in Spain as Spanish-source income. In practice, expect the following to come up:

  • Registration and filing obligations in Spain for the PE.
  • Questions about how profits are attributed to the Spanish activity.
  • Payroll and social security consequences for staff who work there. These are separate from the PE question and must be handled on their own terms.
  • VAT questions tied to the activity.
  • Potential audits and penalties if a PE existed and was never declared.

We do not set out rates or thresholds here, because they change and depend on the facts. Check current figures with the Agencia Tributaria and with a qualified tax advisor, and confirm the year they apply to.

A step-by-step checklist before sending someone to Spain

  1. List the activities. Write down what the person will actually do in Spain: sell, negotiate, deliver, install, support or only attend meetings.
  2. Check authority to contract. Can they sign or habitually negotiate the key terms of contracts for the company? If yes, treat PE risk as high.
  3. Identify the workspace. A coworking desk, client site, home office or company-leased office all need different analysis.
  4. Track time. Record days on site per project, including related entities.
  5. Decide the structure. Options usually include a Spanish subsidiary, a branch registered as a PE, a posting arrangement or a limited-scope engagement. Our guide to setting up a company in Spain explains the corporate route.
  6. Separate the employee file. The employee’s visa, residence and personal tax are one track. The company’s PE and filings are another. Both must be consistent.
  7. Document the decision. Keep a short memo of the facts and the reasoning, in case Spanish authorities ask.

Immigration, personal tax and corporate tax are linked

The PE analysis is a corporate question, but it often starts with an individual’s immigration decision. An employee who needs to work in Spain for a US employer may need a work authorization. Our overview of the work permit in Spain for foreign nationals shows the main routes. Intra-company transfers and highly qualified professional permits suit different situations, and each has its own corporate footprint.

For the individual, personal tax matters as well. An executive relocating may look at the Beckham Law regime, covered in our Beckham Law guide. Our Expat Tax Program addresses the personal side of the US-Spain double filing. None of this answers the corporate PE question, which is why they must be planned together.

Our perspective

We see PE risk come up late. A US company usually asks about visas first, and the PE question appears only after the employee has been working from Barcelona or Madrid for months. By then, the facts are already fixed, and the options are fewer.

Two things stand out from our work. First, the question is rarely whether a company wants a PE. It is whether it has created one by default. Second, the best results come when the immigration lawyer, the tax advisor and the relocation team look at the same file. A visa application that describes the role one way and a tax position that describes it another way is a problem for both.

We do not guarantee outcomes, and we do not give a view on PE status without the facts. What we can do is map the role, the authority, the workspace and the timeline, and tell you early which structure is defensible.

— Damián Carmona Rodríguez

How Carbray supports companies and employees

Carbray International combines immigration lawyers, tax advisors and relocation specialists, with offices in Barcelona, Madrid and Málaga in Spain and Lisbon and Porto in Portugal. For employers, our corporate immigration and global mobility services cover work permits, highly qualified professional permits, intra-company transfers and posted workers. Our executive relocation work covers the move itself. You can follow each case through our online case tracking, from first consultation to final decision. Pricing is available on request after a consultation.

FAQ

Can a home office in Spain create a permanent establishment?

It can. Spanish law looks at whether a workspace is used continuously or habitually for the business, and the research we rely on notes that a home office used this way can qualify. The risk is higher if the person has authority to contract for the company. Occasional work from home is a different case from a fixed, ongoing arrangement.

Does the US-Spain tax treaty stop Spain from taxing my company?

Not automatically. Under the treaty, Spain can generally tax a US enterprise’s business profits only to the extent they are attributable to a PE in Spain. If a PE exists, the treaty does not remove Spanish tax. It helps to avoid double taxation through credits or deductions, and it requires proper documentation.

How long can a project last in Spain before it becomes a PE?

Under the US-Spain treaty as amended, a building site or construction or installation project is a PE only if it lasts more than twelve months. Under Spanish domestic law, the period is more than six months. Which applies depends on your company’s treaty eligibility, so get the facts reviewed first.

Does the treaty stop the US from taxing me if I move to Spain?

No. The saving clause lets the US tax its citizens and residents as if the treaty did not exist. Dual citizenship does not change this. Americans in Spain typically still file in the US and use credits or exclusions to avoid double tax.

Book a consultation

If you are sending staff to Spain, or moving there yourself while running a US business, speak to us before the facts are fixed. Book a consultation with Carbray International’s immigration lawyers and we will look at the role, the visa route and the corporate exposure together. Start with our services for business or reach any of our offices in Barcelona, Madrid, Málaga, Lisbon or Porto.

Sources

This article is for general information only and does not constitute legal or tax advice. Immigration and tax rules change frequently; for advice on your specific situation, contact Carbray International’s lawyers.

Do you have questions about immigration or global mobility?

Leave your details, and we’ll provide personalized guidance.
Contact us!

What services do you need?

Thank you. Carbray does not help with job search or work visas without a job offer. If you plan to move to Spain as a digital nomad, entrepreneur or retiree, we'll be happy to help.

MENÚ