Services
Tax Residency Spain Stock Options & RSUs Trusts & Foreign Structures Permanent Establishment Tax Inspections & Defence Beckham Law / Impatriados Blog Contact Book a Free Call
Corporate Tax · Spain

Permanent Establishment in Spain: Risk Assessment for Foreign Businesses

A single employee working from home in Spain could create a taxable presence for your entire company. Don't wait for an AEAT inspection to find out.

Book Free Consultation → 💬 WhatsApp Jacob

What Is Permanent Establishment?

A Permanent Establishment (PE) is a concept in international tax law that defines when a foreign company has a sufficiently substantial and stable connection to a country to be taxable there on its business profits. If a foreign company has a PE in Spain, Spain can tax the profits attributable to that PE at the Spanish corporate income tax rate of 25%.

The concept originates in the OECD Model Tax Convention, Article 5, which defines PE as "a fixed place of business through which the business of an enterprise is wholly or partly carried on." Spain's domestic definition mirrors this in Article 13 of the Non-Residents Income Tax Act (LIRNR): a PE exists where there is a fixed place of business in Spain through which the foreign entity carries on all or part of its activity.

OECD Model Article 5 — The Key Tests

The OECD Model identifies two main pathways to PE status:

  • Fixed place of business PE (Article 5.1): A place of management, branch, office, factory, workshop, mine, oil or gas well, quarry or other place of extraction of natural resources — or any fixed place of business through which the enterprise's business is wholly or partly carried on.
  • Agency PE (Article 5.5): An agent who habitually exercises authority to conclude contracts in the name of the enterprise, even if no fixed place exists. The 2017 OECD update (reflecting BEPS Action 7) expanded this to agents who habitually play the principal role leading to contracts being concluded, even without formal signatory authority.
🏠

Fixed Place Test

A home office, shared co-working space, or any premises habitually available to the foreign company's employees in Spain can constitute a fixed place of business — and therefore a PE.

🤝

Agency PE

An employee or agent who habitually concludes contracts — or plays the principal role in their conclusion — on behalf of a foreign company creates an Agency PE, even with no physical office.

🔧

Construction Site PE

A building site or construction/installation project constitutes a PE if it lasts more than 12 months. Some treaties have shorter thresholds (6 months under certain DTAs).

⚙️

Service PE

Employees providing services in Spain for more than 183 days in any 12-month period may create a Service PE under Spain's bilateral treaties, even without any fixed place of business.

The Home Office Problem: Spain's Aggressive Stance

The post-pandemic normalisation of remote work has created a significant PE risk landscape. Many foreign companies have employees who relocated to Spain — often with the company's tacit approval — and have been working from home ever since. What began as a temporary arrangement has in many cases become a permanent working pattern, with the employee living in Spain indefinitely and performing their full job function from a Spanish address.

The Spanish tax authority (AEAT) has become increasingly assertive in treating such arrangements as creating a fixed place PE. The key factors AEAT considers are:

  • Whether the home office is regularly and habitually used for business purposes (not just occasional working from home)
  • Whether the company has any degree of control over the premises (even indirect, such as paying the employee's home internet costs or requiring availability at home)
  • Whether the employee performs core income-generating activities from Spain, not just back-office or support functions
  • How long the arrangement has been in place and whether it has become the employee's permanent working location

The OECD issued guidance in April 2020 acknowledging that short-term remote working during the pandemic should not create PE risk. However, that guidance explicitly does not cover permanent or indefinite remote working arrangements — the scenario that now applies to most remote workers in Spain.

Warning: The "Auxiliary" Exception Is Narrow

Companies often assume that if the employee in Spain performs only "auxiliary" or "preparatory" activities, there is no PE. Article 5.4 of the OECD Model provides exceptions for storage, display, purchasing, and activities of a preparatory or auxiliary character. However, these exceptions are interpreted very narrowly. If the employee is doing their normal job — sales, software development, client management, legal work — the auxiliary exception will not protect the company. Post-BEPS, the anti-fragmentation rule also prevents companies from splitting activities across multiple locations to artificially invoke the auxiliary exception.

Agency PE: When Your Employee Creates a Spanish Tax Presence

An Agency PE arises where a person in Spain — whether an employee, contractor or agent — habitually acts on behalf of a foreign enterprise in a way that commits the enterprise contractually. After the 2017 OECD BEPS Action 7 changes (reflected in most modern DTAs and in Spain's domestic rules), the threshold for Agency PE is lower than before:

Pre-BEPS vs Post-BEPS Threshold

Under the pre-BEPS formulation, Agency PE required the agent to have and habitually exercise "authority to conclude contracts in the name of" the enterprise. After BEPS, the threshold extends to agents who habitually play "the principal role leading to the conclusion of contracts that are routinely concluded without material modification by the enterprise." This captures commissionnaire arrangements and sales agents who negotiate the terms of contracts even if they do not technically "sign" them.

Practical Examples

  • A sales director in Spain who generates leads, negotiates terms and presents proposals that headquarters routinely approves — Agency PE risk even without signatory authority
  • An account manager who manages client relationships and recommends contract renewals that are always accepted — Agency PE risk
  • A technical consultant in Spain who recommends bespoke solutions that are priced and contracted remotely — may or may not create Agency PE depending on the degree of influence over the final contract
  • An independent contractor acting for multiple principals and not exclusively for the foreign company — generally not an Agency PE (the "independent agent" exception), but careful analysis needed

BEPS Action 7 and Anti-Fragmentation Rules

The OECD/G20 Base Erosion and Profit Shifting (BEPS) project — particularly Action 7 on preventing artificial avoidance of PE status — has significantly tightened the PE rules. The key changes that affect foreign businesses in Spain include:

Anti-Fragmentation Rule

Before BEPS, a company could split activities between multiple locations or entities in Spain, keeping each activity below the PE threshold (relying on the auxiliary/preparatory exception for each). The anti-fragmentation rule in the 2017 OECD Model (Article 5.4.1) prevents this: where the overall activities being carried out form a coherent business operation, they must be aggregated for PE analysis, even if carried out through separate locations or entities.

Commissionnaire Arrangements

Pre-BEPS, companies often used commissionnaire structures — where a local entity sells products in its own name but on behalf of a foreign principal — to avoid PE. The agent holds no inventory in its own name, so the fixed place test was harder to satisfy. Post-BEPS, if the local entity habitually plays the principal role leading to the conclusion of contracts for the foreign principal, an Agency PE exists regardless of the formal legal structure.

Spain's Position

Spain was an early adopter of the BEPS recommendations and signed the Multilateral Instrument (MLI) in 2017. As a result, many of Spain's existing DTAs have been modified by the MLI to incorporate the post-BEPS PE provisions. The specific impact depends on which DTA applies and whether both states have made the relevant MLI election — something we verify as part of our PE risk assessment.

Consequences of Having a Permanent Establishment in Spain

The consequences of an undeclared PE discovered by the AEAT are severe and operate on multiple fronts simultaneously.

📊

Spanish Corporate Tax at 25%

Profits attributable to the PE are taxed at Spain's CIT rate of 25%. Attribution requires an arm's-length functional analysis of what profits are properly allocated to the Spanish PE.

💸

Withholding Tax Obligations

The PE may be required to withhold tax on payments to the foreign head office. Failure to register and withhold triggers additional penalties.

🧾

VAT Registration

A PE triggers Spanish VAT registration obligations. VAT on supplies made through the PE must be charged, declared and remitted to the AEAT.

👤

Social Security Obligations

The existence of a PE may require the foreign company to register as an employer in Spain and make Spanish social security contributions for the local employee.

⚠️

Penalties and Back-Tax

Undeclared PE tax going back up to 4 years (or more, depending on the infraction) plus late payment interest at the legal rate plus 25–75% penalty surcharges.

📋

Transfer Pricing Documentation

The PE must maintain arm's-length transfer pricing documentation for transactions with the rest of the enterprise. Late or inadequate documentation attracts significant penalties.

How to Structure Safely: Practical Guidance

  • Employment vs service contract: Engaging the Spain-based person as an independent contractor (self-employed, autónomo) rather than an employee reduces (but does not eliminate) PE risk. The contractor must genuinely operate independently, serve multiple clients, and assume meaningful commercial risk — otherwise the AEAT may reclassify the arrangement.
  • Limited authority clauses: Ensuring employment contracts explicitly limit the employee's authority — no authority to conclude, negotiate or approve contracts in Spain — and that this limitation is genuinely observed in practice. Paper restrictions that are not reflected in actual behaviour do not protect against Agency PE.
  • Substance requirements: If the foreign company decides to establish a formal Spanish subsidiary or branch, ensuring it has genuine substance (real management, decision-making, qualified personnel) to avoid being treated as a shell and to withstand transfer pricing scrutiny.
  • Activity scoping: Carefully scoping the Spain-based employee's role so that their activities genuinely fall within the preparatory/auxiliary exception — for example, purely market research, information gathering, or liaison functions — with clear documentation that core business activities remain in the home country.
  • Inter-company agreement: Having a robust, arm's-length service agreement between the foreign parent and the Spanish PE (if one is intentionally established), with appropriate transfer pricing documentation meeting Spain's requirements under Article 16 LIS and Royal Decree 634/2015.
  • Regular review: PE risk is not static — as the employee's role evolves and their presence in Spain becomes more permanent, the risk profile changes. Annual reviews are essential for any company with Spain-based remote workers.

Our PE Risk Assessment Service

  • Review of employment contracts, job descriptions and actual working practices
  • Analysis under the applicable DTA (OECD Model, MLI modifications, bilateral treaty)
  • Written risk opinion with clear red/amber/green categorisation
  • Recommended structural changes to mitigate identified risks
  • Voluntary disclosure strategy if PE obligations are already outstanding
  • Representation in AEAT PE enquiries and transfer pricing audits
Case Study

US Software Company with Spain-Based Sales Director: How We Managed the PE Risk

A US-headquartered SaaS company had a Senior Sales Director living in Barcelona who had been working remotely since 2021. His role involved managing Spanish and Portuguese enterprise accounts, presenting proposals, negotiating commercial terms and "recommending" deal approvals to the CEO in San Francisco, who always approved his recommendations without modification.

The risk: Under post-BEPS Agency PE analysis, the Sales Director was almost certainly creating a PE for the US company in Spain. He was playing "the principal role leading to the conclusion of contracts" — even though he didn't technically sign them. Additionally, his home office in Barcelona was being used as a regular, stable place of business — pointing toward a Fixed Place PE as well.

What we did: We prepared a full PE risk memorandum and recommended a structural reorganisation: establishing a limited-function Spanish subsidiary as a Commissionnaire, restructuring the Director's compensation to reflect a limited-risk sales support role, and creating an inter-company agreement that removed the subsidiary from the contractual chain. We also prepared a voluntary disclosure to regularise the historic PE position from 2021–2023, taking advantage of the 30% penalty reduction available on proactive disclosure and cooperation. The company avoided a contested AEAT inspection and now has a defensible, documented structure.

Frequently Asked Questions

We have one employee working from home in Spain. Is that definitely a PE?
Not automatically, but it is a significant risk that requires analysis. The key factors are: how long has the arrangement been in place, what activities does the employee perform, do they have any authority to conclude or influence contracts, and is their home office habitually used as a place of business for your company? If the arrangement is recent, the role is purely preparatory/auxiliary, and the employee has no contract authority, the risk is lower. If the employee has been there for two or more years and performs core revenue-generating activities, the risk is high. We recommend a PE risk assessment for any company with Spanish remote workers — even a single one.
Our employee is contracted through a Spanish employment agency. Does that protect us from PE?
Using a Professional Employer Organisation (PEO) or Employer of Record (EOR) in Spain can help manage employment law compliance and social security, but it does not eliminate PE risk. The PE analysis is based on the economic reality of who directs the work, what activities are performed, and whether the foreign company is effectively carrying on business in Spain through that person — not on the formal employment legal structure. If the economic reality is that your company is directing the employee's work and benefiting from activities performed in Spain, PE risk exists.
What is the applicable DTA between Spain and the US on PE?
The US-Spain DTA (1990, as amended) contains a PE article broadly following the OECD Model. The US and Spain both signed the MLI, but the US made relatively limited MLI commitments — meaning some of the post-BEPS PE changes may not automatically apply to the US-Spain treaty. However, Spain's domestic law (LIRNR) and the general OECD Commentary are still relevant to the interpretation of the treaty's PE provisions. For UK-Spain, the 2013 DTC applies, and for Germany-Spain, the 2011 DBA. Each treaty has specific provisions and MLI modifications that we analyse for each client.
We already have an undeclared PE going back several years. What should we do?
The first step is a confidential assessment of the exposure: how long the PE has existed, what profits would be attributable to it, the applicable back-tax, interest and penalties. Once the quantum is known, a voluntary disclosure strategy can be prepared. Spain's voluntary disclosure regime allows for significant penalty reductions (up to 30% for prompt disclosure and payment, plus a further 25% for paying promptly), and proactive disclosure reduces the risk of the matter escalating to a criminal tax evasion investigation. The worst outcome is for the AEAT to discover an undisclosed PE — at that point, all options narrow and penalties are at their maximum. We handle voluntary PE disclosures regularly and can guide you through the process.
Can we establish a formal Spanish subsidiary to manage the PE risk?
Yes — if business reality means a PE already exists or is unavoidable, formalising it through a Spanish subsidiary or branch is often the better approach than trying to deny it. A properly structured subsidiary with genuine substance, appropriate transfer pricing, and full Spanish compliance is a manageable situation. The risk is in the gap between the economic reality (PE exists) and the declared position (no Spanish presence) — that gap creates the penalty exposure. We advise on whether to establish a subsidiary or branch, how to structure the inter-company arrangements, and how to ensure the transfer pricing documentation is robust.

Request a PE Risk Assessment

Describe your situation and Jacob will assess your PE risk and recommend a course of action within one business day.

Confidential. Jacob responds personally within one business day.

📅 Or Book a Free 30-Min Call Directly

Legal disclaimer

The content on this website is for general informational and educational purposes only. It does not constitute legal or tax advice and does not create a lawyer-client relationship. Tax laws change frequently and their application depends on individual circumstances. Always obtain specific professional advice before taking any action based on content found on this site. Jacob Salama — Salama Legal SLP — is a registered Spanish lawyer (Colegiado nº 11.294, ICAMálaga) and is not authorised to provide US or UK legal advice.

Ask a question