Permanent Establishment in Spain: When Foreign Companies Trigger Spanish Corporate Tax
Permanent establishment (PE) is the key concept that determines when a foreign company is subject to Spanish corporate tax on its Spanish-source business profits. A PE is a fixed place of business (office, factory, workshop) or a dependent agent through which the foreign company carries on its business in Spain. Once a PE is established, the foreign company is subject to Spanish IS on the profits attributable to the PE. The PE analysis is critical for any foreign company with Spanish activities and is governed by Spanish domestic law and the relevant tax treaty. This article covers the PE concept, the triggering activities, the attribution of profits to the PE, the compliance obligations, and the planning strategies. A dedicated international tax adviser is essential for any foreign company with Spanish operations.


The PE concept in Spanish tax law
The PE concept is defined in Article 13 of the Spanish Non-Resident Income Tax Act (LIRNR) and in Article 5 of the relevant tax treaty (typically following the OECD Model). The two definitions are similar but not identical, and the treaty definition typically prevails for treaty-protected foreign companies. The basic PE forms are: a fixed place of business; a dependent agent; certain construction sites and projects of long duration; certain digital and service activities.
The classic fixed-place-of-business PE includes: an office (sales office, representative office, branch); a factory or production facility; a workshop; a place of management; in some cases, a permanent home where business is conducted. The fixed place must be at the disposal of the foreign enterprise and used for its business.
The dependent agent PE
A dependent agent PE arises when a person acting on behalf of the foreign company in Spain has the authority to conclude contracts in the company’s name. The dependent agent need not be an employee — independent contractors can be considered dependent agents if they meet the criteria. The dependent agent PE is the most controversial form and the analysis is fact-specific.
The agent must have habitual authority to conclude contracts (occasional authority is not sufficient). The contracts must be in the name of the foreign company (or for assets owned by the foreign company). Independent agents acting in the ordinary course of their business are generally not dependent agents for PE purposes, but the analysis depends on the specific facts.
Construction and project PEs
Construction sites, installation projects, and similar projects can constitute a PE if they exceed a certain duration (typically 12 months under the OECD Model, sometimes 6 months under specific treaties). The PE applies if the project itself exceeds the duration, including all phases (preparation, execution, completion).
For foreign companies undertaking construction or installation projects in Spain, the PE analysis is critical for tax compliance. Projects exceeding the threshold trigger Spanish IS on the project profits. The professional planning of the project structure (separate companies for each project, careful tracking of duration, etc.) can manage the PE exposure.
Service and digital PEs
Modern PE analysis includes services provided in Spain through personnel present for substantial periods (typically 183 days in a 12-month period). Some treaties include "service PE" provisions that lower the bar for PE establishment in service industries. The digital economy has also added complexity, with some countries (including Spain through specific provisions) treating significant digital presence as a PE-like trigger.
For foreign service companies with personnel deployed in Spain, the service PE analysis is important. Companies sending employees to Spain for long-term assignments should consider whether the activity reaches the service PE threshold. The OECD has been working on the digital economy issue through BEPS and various Pillar projects; the application to Spanish tax is evolving.
Exclusions from PE
Several activities are explicitly excluded from PE status, even if conducted through a fixed place of business: use of facilities solely for storage, display or delivery of goods; maintenance of stock solely for storage or processing by another enterprise; purchase of goods or collection of information for the enterprise; activities of preparatory or auxiliary character. These exclusions reflect the principle that not every Spanish activity constitutes a PE.
The exclusions have been narrowed by BEPS Action 7, which sought to prevent the artificial avoidance of PE status by fragmenting activities across multiple "preparatory and auxiliary" functions. The post-BEPS interpretation considers the activities of related parties together and applies the "preparatory and auxiliary" test more strictly.
Attribution of profits to the PE
Once a PE is established, the profits attributable to the PE are subject to Spanish IS. The attribution follows the arm’s length principle: the PE is treated as a separate enterprise dealing at arm’s length with the rest of the foreign company. The profit attribution requires functional and risk analysis of the PE’s activities.
The attribution can be complex for integrated multinational operations where the PE is one part of a larger value chain. Transfer pricing rules apply to the dealings between the PE and the rest of the foreign company. Documentation supporting the attribution is essential and is one of the focus areas in Spanish tax audits of PEs.
PE compliance obligations
A foreign company with a Spanish PE has several compliance obligations: registration with the Spanish tax authority (Modelo 036 declaration of activity); appointment of a Spanish tax representative; quarterly filings (VAT, withholding obligations); annual corporate tax return (Modelo 200 with the PE schedule); transfer pricing documentation if relevant.
The compliance burden is substantial and requires Spanish professional support. The cost of compliance is part of the total cost of operating through a PE in Spain and should be factored into the business case. For many foreign companies, the alternative of a Spanish subsidiary (with its own corporate identity) is preferable to a PE for compliance and operational reasons.
PE planning strategies
Strategies to manage PE exposure include: structuring activities to avoid the PE threshold (limited employee presence, no Spanish office, limited contracting authority); using a Spanish subsidiary instead of a direct PE (clearer corporate structure, sometimes more tax-efficient); using independent agents (subject to the dependent vs. independent agent analysis); careful tracking of project durations.
The strategies must respect the substance of the activities. Artificial structuring to avoid PE status is increasingly challenged under BEPS and EU anti-avoidance rules. The Spanish tax authority has been active in identifying constructive PEs in foreign companies that purport to operate without one. Professional planning is essential.
Treaty PE definitions
Different tax treaties have somewhat different PE definitions. The Spain-US treaty, Spain-UK treaty, Spain-Germany treaty, and others have specific provisions. Foreign companies operating in Spain should consider the relevant treaty definition, which typically (but not always) provides the operative definition for treaty-protected companies.
The treaty PE definition can be more favorable than the domestic Spanish definition in some cases (e.g., higher project duration thresholds, narrower service PE rules). The treaty-protected position should be claimed where appropriate and documented properly.
Action steps for foreign companies with Spanish activities
First: analyze the Spanish activities under both domestic Spanish law and the relevant treaty for PE analysis. Second: structure the activities to manage PE exposure (subject to substance requirements). Third: if a PE is established, ensure full compliance with registration, declarations, and filings. Fourth: maintain transfer pricing documentation for PE attribution. Fifth: consider alternatives (Spanish subsidiary, joint venture) where appropriate. Sixth: review the analysis periodically as activities and laws evolve. For a full consultation on PE matters, contact our team.
The PE analysis is one of the most important international tax issues for foreign companies with Spanish activities. The professional handling of the analysis, structuring, and compliance is essential to manage the tax position and avoid unexpected liabilities.
