Permanent Establishment Risk in Spain: When Remote Workers and Representatives Create Tax Obligations
If your foreign company has employees, agents, or representatives operating in Spain, you may have created a Spanish Permanent Establishment — with significant Corporate Income Tax and VAT consequences.
This article is for general informational purposes only and does not constitute legal or tax advice. Tax laws and their application depend on individual circumstances and change frequently. The case studies and scenarios presented are illustrative only and have been anonymised. Please consult a qualified tax lawyer before taking any action. Jacob Salama · internationaltaxlegalspain.com · Bar Nº 11.294 ICAMálaga.
What Is a Permanent Establishment?
A Permanent Establishment (PE) is the threshold concept that determines when a foreign company's activity in a country becomes taxable in that country. If a foreign company creates a PE in Spain, Spain can tax the profits attributable to that PE under Corporate Income Tax (CIT), and the PE may have VAT registration and withholding tax obligations.
Under Spanish domestic law and most Double Tax Agreements (DTAs) to which Spain is a party (based on the OECD Model), a PE exists in one of two ways:
Fixed Place of Business PE: The foreign company has a fixed place of business in Spain — an office, branch, factory, building site, or similar — through which it carries on part of its business.
Dependent Agent PE: The foreign company uses an agent in Spain who habitually concludes contracts on its behalf and is not acting in the ordinary course of their own independent business.
With the dramatic increase in remote working since 2020, PE risk has become one of the most frequently overlooked international tax issues for companies whose employees have relocated to Spain or regularly work from Spain for a foreign employer.
The Remote Work PE Problem
Consider a foreign company ("F") with no offices in Spain. A senior manager of F ("M") works from home in Madrid for F's operations, conducting business development, client calls, and project management for F's international clients. M does not sign contracts on F's behalf — all contracts are concluded by F's central management in the home country.
Does F have a PE in Spain?
The analysis proceeds as follows:
Fixed Place of Business Test
M's home office in Madrid is a "place of business" in Spain that is at the disposal of F. The OECD and the Spanish STA have confirmed that a home office can constitute a fixed place of business for PE purposes if:
The company has "at its disposal" the premises — this does not require ownership; it is sufficient if the company directs, requires, or expects the employee to work from home;
The activity is not merely preparatory or auxiliary.
The key question is whether F requires M to work from Spain, or whether M's home working arrangement is purely for personal convenience and M could equally perform the work from F's home country office if so required.
The OECD Commentary on this point (updated post-Covid) acknowledges that home working arrangements typically do not create a PE where the company did not require or mandate the home working, and where the arrangement is not regular and part of an organisational structure.
Dependent Agent Test
Even without a fixed place of business, F may have a PE if M is an agent who "habitually concludes contracts, or habitually plays the principal role leading to the conclusion of contracts that are routinely concluded without material modification by the enterprise." This is the post-BEPS (2017 OECD Model) version of the dependent agent test.
Under this expanded test, M does not need to formally sign contracts. If M habitually plays the principal role in concluding contracts (e.g., by negotiating and agreeing key terms with clients, with head office merely rubber-stamping), a PE may exist.
Consequences of a PE in Spain
If a PE is found to exist, the consequences are significant:
Spanish CIT: Profits attributable to the PE are subject to Spanish CIT at 25%. Determining the attributable profits requires a transfer pricing analysis — the PE is treated as a separate entity dealing at arm's length with the head office.
VAT registration: A PE will typically trigger VAT registration obligations in Spain for supplies made or received through the PE.
Withholding taxes: Payments by Spanish clients directly to the PE may be subject to Spanish withholding.
Social security and labour law: Having employees in Spain triggers Spanish social security registration obligations, regardless of PE status.
Retrospective liability: If the PE has existed for some years without being declared, there may be significant retrospective tax exposure once discovered.
Structuring to Manage PE Risk
Companies with employees or representatives in Spain can manage PE risk through appropriate structuring:
Establish a Spanish subsidiary or branch: Rather than operating through an undeclared PE, formalise the Spanish presence by incorporating a Spanish company (SL) or registering a branch. This provides certainty on tax obligations and often enables more efficient structuring.
Use a payroll employer-of-record: Some companies use Spanish employer-of-record (EOR) services to employ staff in Spain without creating a corporate presence. This addresses social security but does not eliminate PE risk if the activity is substantive.
Restrict contract authority: Ensure that employees in Spain do not have authority to conclude or principally negotiate contracts on behalf of the foreign entity. Client-facing roles should be structured so that final contract authority remains with headquarters.
Activity limitation: Restrict Spanish-based employees to preparatory or auxiliary activities — market research, information gathering, or support functions — which do not rise to the level of a PE.
Post-BEPS Vigilance Required
The BEPS (Base Erosion and Profit Shifting) project significantly tightened PE rules from 2017. The updated OECD Model expands the dependent agent test as described above, and also adds an "anti-fragmentation" rule that prevents companies from artificially splitting activities between multiple locations to keep each below the PE threshold. Companies should reassess their PE exposure under the post-2017 rules, particularly if their initial analysis was done before the BEPS changes were implemented.
A PE is the threshold above which a foreign company's activity in Spain becomes taxable. It arises when a company has a fixed place of business in Spain (office, home office, etc.) or uses a dependent agent in Spain who habitually concludes or plays a principal role in concluding contracts on the company's behalf.
Possibly. If the company directs or requires the employee to work from Spain, and the activity is substantive (not merely preparatory), a fixed place of business PE may arise. A home office used by an employee purely for their own convenience, where the company has not mandated or structured around it, is less likely to constitute a PE under OECD guidance.
A PE is subject to Spanish Corporate Income Tax (25%) on profits attributable to it. It also triggers VAT registration and may create withholding tax obligations. Social security registration for employees is required regardless of PE status.
Key strategies include: incorporating a Spanish subsidiary or branch to formalise the presence; restricting contract authority for Spanish-based staff; limiting Spanish-based activity to preparatory or auxiliary functions; and using employer-of-record arrangements for employment purposes.
Yes. The 2017 OECD Model changes, adopted by Spain in its updated DTAs, significantly expanded the dependent agent test. An agent who plays the 'principal role' in concluding contracts — even without signing authority — can now create a PE. Companies should reassess their PE risk under post-BEPS rules.
A branch (sucursal) is a formally registered fixed place of business in Spain, subject to Spanish CIT on attributable profits. An undeclared PE may have the same tax consequences as a branch but without the legal registration — meaning retrospective tax liability and penalties if discovered. Formalising a PE as a branch or subsidiary provides certainty and avoids retroactive risk.
Get Expert Advice on Your Specific Situation
Every tax case is different. Book a consultation with Jacob Salama, specialist in international taxation for expats and non-residents in Spain.