Insight

Digital Economy vs. Permanent Establishment

Limitations of the Spanish taxation system to effectively tax certain incomes.

Keyboard with percent symbols and statistics
Mariano Roca

Mariano Roca López

November 27, 2017 10:07 AM

It is a well-known fact that many large technology companies use complex multinational corporate structures in order to transfer their profits to low-taxation territories, ultimately resulting in a loss to the public purse. Notwithstanding the foregoing, this circumstance affects not only the environment of large companies in the technology sector, but also all those companies—large-, small-, or medium-sized—operating in the digital economy. This is because the root of the problem is not so much in the aforementioned corporate structures as in an obsolete regulation of the mechanisms for taxing the income generated in the context of a globalized digital economy.

Obsolescence of the Permanent Establishment Concept in Relation to the Digital Economy

Let’s assume, for example, this is a company based in any other country but Spain, where it has its offices, servers, and staff and provides its services through its website in many countries around the world. Specifically in Spain, where it does not have a subsidiary, offices, staff, commission agents or any other infrastructure, it provides its service and obtains income from Spanish consumers, the website (accessible from anywhere in the world) being the only tool to render the service.

The question that arises is: shouldn’t those Spanish-sourced incomes be somehow taxed in Spain?

The usual response would be that such incomes should be taxed in Spain through the permanent establishment (“PE”) institution, as provided in the Double Taxation Treaty (“DTT”) signed by Spain and the residence country of the company. It is worth mentioning that DTTs are usually based on the Model Tax Convention drafted by the Organization for Economic Co-operation and Development (“OECD”). However, due to the obsolete and inappropriate configuration of the PE concept in the Model Convention, and therefore in the whole network of DTTs, it is very difficult for a source state, such as Spain, to tax incomes generated in Spain by web platforms with a structure like the one mentioned above. This is mainly because the concept of PE is essentially based on a physical connection with the territory, either because it is a fixed place of business or because it has a dependent agent of the non-resident entity.

The Double Taxation Treaty Network: A Tricky Business

This situation becomes even more difficult insofar as the concept of PE is expressly defined (and sometimes even with small variations) in each of the more than 3,500 DTTs in force in the world, 93 in the case of Spain, each of them an independent international treaty that would have to be negotiated separately if there was any intention to modify it.

This is why, being this a common problem among the countries around us, the OECD is making considerable efforts to deal with this and some other similar situations, being worth mentioning, for instance, the base erosion and profit shifting (BEPS) project. In this regard, as evidence of these efforts, in 2003 the comments to the Model Convention (official document for interpretative purposes) were amended in the part relating to the permanent establishment. The change aimed to allow the possibility of considering the server where the website is located as a “fixed place of business.” The key point was that, unlike the web itself, which is an intangible asset, the server is a tangible asset and therefore could be considered a “fixed place of business.” However, this change did not solve the problem since the server can be located in a different territory and far away from the territory where the services are ultimately rendered.

Courtrooms Strike Back

Given the legislator’s difficulties tackling the problem through regulatory change, certain tax authorities and courts have decided to interpret PE precepts in a sufficiently flexible way to understand that certain situations, which apparently should not be understood as PEs, should in fact be considered as such. In this regard, it is worth highlighting the so-called Roche and Dell cases, both concluded with sentences of the Supreme Court in 2012 and 2016, respectively.

In essence, both sentences are based on the theory of a “complex operational settlement with economic coherence” expressed by the General Directorate of Taxes, among others, in the binding consultation V2192/2008. This theory consists, in very general terms, of the fact that, even if the provisions relating to PE were not literally met, if there were a series of elements available to the non-resident company in Spain, even indirectly (in the mentioned cases it was through the figure of a commission agent), then the existence of a permanent establishment could eventually be considered.

These sentences were a turning point in this matter insomuch as the Supreme Court confirmed the application of a particularly flexible interpretative approach in this case, which ultimately led to increased legal uncertainty.

The Multilateral Instrument: The OECD’s Latest Spearhead

As already mentioned, the OECD has not ceased in its efforts to tackle this problem. As evidence of this, only a few months ago (June 2017) took place the last of these efforts, the first round of signatures of the Multilateral Convention to implement measures in the DTTs in force against the erosion of tax bases and the transfer of profits. This new agreement consists of an innovative mechanism that aims to update the global DTT network in a synchronized and efficient manner without investing that many resources in the bilateral renegotiation of each of them. It should be mentioned that Spain has participated in this act and has signed the aforementioned agreement.

As for the content of the reforms, although it is true that the concept of PE is broadened and that the amendments contribute to the fact that certain operations can be clearly classified as PE, it is also true that the amended concept of PE still does not include other operations, such as those that are almost entirely web-based, so that the physical link is not that obvious. In other words, for the case raised at the beginning of these lines, for example, there is still no clear solution.

The Spanish Tax Agency on Alert

It seems clear from the foregoing that the taxation of incomes derived from activities in the digital economy is a highly controversial issue and generator of considerable legal uncertainty. It is probably because of that that the Spanish Tax Agency has expressed in the Resolution of January 19, 2017, of the General Direction of the State Tax Administration Agency, which approves the general guidelines of the Annual Plan of Tax and Customs Control of 2017, that it will focus its attention, among others, on the digital economy and its new business models. It is also indicated in this resolution that specific information will be announced on the Tax Agency’s website to inform about the obligations of those who carry out e-commerce operations, dealing with the issues that raise the most doubts, to ensure that the various agents involved in this business who do not have a willingness to defraud can adequately comply with their tax obligations.

It will be more than advisable to pay particular attention in the near future to developments in this area.

-----------------------------

Mariano Roca is a tax and private client practitioner focused on corporate and individuals advice (specialized in tax, wealth, and inheritance advice for HNWI). He began his professional career in Cuatrecasas Gonçalves Pereira (1997–2012). In 2012, he joined KPMG (2012–2015) where he co-led the family business and private client practice in Barcelona, Girona, Balearic Islands, and Andorra offices. In January 2016, he joined Marco Legal, Abogados & Economistas, leading as a partner for the firm’s tax department. Mariano is listed in Best Lawyers since 2012 and was recognized as “Lawyer of the Year” in 2014 and 2015.

Related Articles

Discover The Best Lawyers in Spain 2025 Edition


by Jennifer Verta

Highlighting Spain’s leading legal professionals and rising talents.

Flags of Spain, representing Best Lawyers country

Summer Voting Season Is Here!


by Best Lawyers

Summer 2021 voting is open to all lawyers listed in Best Lawyers in Chile, Colombia, Peru, Brazil, Mexico, Portugal, South Africa and Spain.

Illustration of a ballot box with photographs of candidates displayed

Everything to Know About Our Spanish Awards


by Best Lawyers

Learn more about this year’s selection process for The Best Lawyers in Spain.

Title image 13th edition of the Best Lawyers in Spain

Announcing the 2021 Best Lawyers in Spain


by Best Lawyers

Featuring the nation's top 2 percent of practicing lawyers.

Title image of the 2021 Best Lawyers in Spain

What a Time to be in Capital Markets


by Best Lawyers

Fernando Vives and Gonzalo García-Fuertes discuss the future of capital markets in the face of a pandemic.

Side by side portrait of Fernando Vives and Gonzalo García-Fuertes

How Spain's Garrigues Trains a Millenial Workforce


by Best Lawyers

In an interview with Best Lawyers, Adriano Gómez of "Law Firm of the Year" Garrigues in Spain offers a look at his career success, labor and employment law, and embracing a millennial workforce.

A close-up of a figure on a desk with an arm holding a tool

ECIJA on Revolutions in Spanish Information Technology Law


by Best Lawyers

Alejandro Touriño looks at the policy changes impacting information technology law in Spain in this 2019 "Law Firm of the Year" interview with Phillip Greer.

Close up of hands holding a phone with graphics around it

Can Tax Advisors Be Held Liable for Their Clients' Fraud? Understanding the "Messi Doctrine"


by Mariano Roca López

Could lawyers be held responsible for their client's fraudulent activity?

The "Messi Doctrine" with gold and silver triangles

How Preventative Counsel Is Changing Criminal Defense


by Best Lawyers

Ayala Gómez discusses Oliva-Ayala's 2019 "Law Firm of the Year" award for criminal defense law in Spain.

Six lawyers all holding multicolored cogs in a circle with a blue background

Why Law Firms are Embracing Sustainable Development Goals


by Best Lawyers

Uria Menendez Abogados is committing itself to Spain's progressive environmental policies.

Illustration of different terrains and buildings, representing environmental law

Good News for the Spanish Inheritance and Gift Tax


by Mariano Roca López

Changes made by the Spanish Supreme Court could mean enhanced tax benefits to citizens.

Euros in a giant block with a red bow on top

Thomas Thalhofer of Noerr on the Future of German IT Law


by Best Lawyers

Noerr received the 2019 "Law Firm of the Year" award for Information Tehcnology Law in Germany.

Thomas Thalhofer of "Law Firm of the Year" winner Noerr discusses his Digital Business practice

How New Spanish Tax Incentives Are Building a Film Industry


by Mariano Roca López

New tax incentives show the Spanish government investing in audiovisual production in the Canary Islands and beyond.

Spain and the Canary Islands put into focus by two pairs of hands near an ocean

New Criteria to Determine Spanish Individuals’ Tax Residence


by Mariano Roca López

Despite its apparent triviality, individuals’ tax residence can in practice have significant consequences for their pockets.

Blue Euro with a ring of gold stars and a giant percent symbol and a map

Bitcoins: Tax Treatment in Spain of a Foreign Currency


by Mariano Roca López

It is an extremely volatile asset whose downward trend has been going on for a month now, having decreased its value more than 40 percent.

Bitcoin logo over the Spanish flag with technology waves

Taxation in Spain for the Purchase of Used Goods on C2C Platforms


by Mariano Roca López

How Spain applies transfer taxes to secondhand sales on peer-to-peer ecommerce platforms

Two people exchange three boxes with Spanish symbol on the boxes

Trending Articles

2026 Best Lawyers Awards: Recognizing Legal Talent Across the United States


by Jamilla Tabbara

The 2026 editions highlight the top 5% of U.S. attorneys, showcase emerging practice areas and reveal trends shaping the nation’s legal profession.

Map of the United States represented in The Best Lawyers in America 2026 awards

Gun Rights for Convicted Felons? The DOJ Says It's Time.


by Bryan Driscoll

It's more than an administrative reopening of a long-dormant issue; it's a test of how the law reconciles the right to bear arms with protecting the public.

Firearms application behind jail bars

2026 Best Lawyers Awards in Canada: Marking 20 Years of Excellence


by Jamilla Tabbara

Honoring Canada’s most respected lawyers and spotlighting the next generation shaping the future of law.

Shining Canadian map marking the 2026 Best Lawyers awards coverage

Revealing the 2026 Best Lawyers Awards in Germany, France, Switzerland and Austria


by Jamilla Tabbara

These honors underscore the reach of the Best Lawyers network and its focus on top legal talent.

map of Germany, France, Switzerland and Austria

Best Lawyers 2026: Discover the Honorees in Brazil, Mexico, Portugal, South Africa and Spain


by Jamilla Tabbara

A growing international network of recognized legal professionals.

Map highlighting the 2026 Best Lawyers honorees across Brazil, Mexico, Portugal, South Africa and Sp

How to Sue for Defamation: Costs, Process and What to Expect


by Bryan Driscoll

Learn the legal standards, costs and steps involved when you sue for defamation, including the difference between libel and slander.

Group of people holding papers with speech bubbles above them

Build Your Legal Practice with Effective Online Networking


by Jamilla Tabbara

How thoughtful online networking supports sustained legal practice growth.

Abstract web of connected figures symbolizing online networking among legal professionals

Algorithmic Exclusion


by Bryan Driscoll

The Workday lawsuit and the future of AI in hiring.

Workday Lawsuit and the Future of AI in Hiring headline

Blogging for Law Firms: Turning Content into Client Connections


by Jamilla Tabbara

How law firms use blogs to earn trust and win clients.

Lawyer typing blog content on laptop in office

Reddit’s Lawsuit Could Change How Much AI Knows About You


by Justin Smulison

Big AI is battling for its future—your data’s at stake.

Reddit Anthropic Lawsuit headline

How to Choose a Good Lawyer: Tips, Traits and Questions to Ask


by Laurie Villanueva

A Practical Guide for Your First-Time Hiring a Lawyer

Three professional lawyers walking together and discussing work

The 2026 Best Lawyers Awards in Chile, Colombia and Puerto Rico


by Jamilla Tabbara

The region’s most highly regarded lawyers.

Map highlighting Chile, Colombia and Puerto Rico for the 2026 Best Lawyers Awards

Common-Law Marriage in Indiana: Are You Legally Protected?


by Laurie Villanueva

Understanding cohabitation rights and common-law marriage recognition in Indiana.

Married Indiana couple in their home

Why Jack Dorsey and Elon Musk Want to 'Delete All IP Law'


by Bryan Driscoll

This Isn’t Just a Debate Over How to Pay Creators. It’s a Direct Challenge to Legal Infrastructure.

Elon Musk and Jack Dorsey standing together Infront of the X logo

AI Tools for Lawyers: How Smithy AI Solves Key Challenges


by Jamilla Tabbara

Understand the features and benefits within the Best Lawyers Digital Marketing Platform.

Legal professional editing profile content with Smithy AI

Alimony Explained: Who Qualifies, How It Works and What to Expect


by Bryan Driscoll

A practical guide to understanding alimony, from eligibility to enforcement, for anyone navigating divorce

two figures standing on stacks of coins