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.
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.
The OECD Model identifies two main pathways to PE status:
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.
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.
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).
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 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:
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.
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.
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:
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.
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:
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.
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 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.
The consequences of an undeclared PE discovered by the AEAT are severe and operate on multiple fronts simultaneously.
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.
The PE may be required to withhold tax on payments to the foreign head office. Failure to register and withhold triggers additional penalties.
A PE triggers Spanish VAT registration obligations. VAT on supplies made through the PE must be charged, declared and remitted to the AEAT.
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.
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.
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.
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.
Describe your situation and Jacob will assess your PE risk and recommend a course of action within one business day.
📅 Or Book a Free 30-Min Call DirectlyThe 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.