Guide to Business in Spain logo

3.2. Direct taxation

Despite there being no differences, as of today, in the tax treatment of income obtained electronically, the following chart shows the main potential issues of contention in the area of e-commerce:

Main contentious issues in relation to direct taxation
a) The permanent establishment problem.
b) Legal characterization of the income generated from the sale of goods and services on the Internet.
c) Determination of taxable income and transfer pricing problems.
d) Application of the place-of-effective-management rule to determine the tax residence of taxable persons engaging in e-commerce activities.

The most relevant considerations and the progress made in analyzing those issues are summarized below:

3.2.1 The permanent establishment problem

The issue concerns whether the paradigmatic elements of e-commerce, such as a server, a website, etc., can be deemed a permanent establishment (“PE”) in the country where a company supplying a good or service on the Internet is located:

The Commentary published in November 2017 on article 5 of the OECD Model Tax Convention (concerning the definition of permanent establishment) remains unchanged from that published in 2003, in which the elements defining the new forms of commerce were already foreshadowed. Based on the observations made in the Commentary, the following chart shows the scenarios in which, as a general rule, a PE can be deemed to exist and those in which it cannot:

Can constitute a PECannot constitute a PE
ISP (Internet Service Provider).

The reasons justifying the characterization of a PE in each case are as follows:

  • A computer or server can constitute a PE whereas the software used by that computer cannot. This distinction is important because the entity that operates the server hosting the website is normally different from the entity that engages in the online business (hosting agreements).

    In order to characterize a server as a PE, regard must be had to the following considerations:

    • A server will constitute a fixed place of business only if it is permanent and located in a certain place for a sufficient length of time. What is relevant here is whether it is actually moved from one place to another, rather than whether it can be moved. A server used for e-commerce can be a PE regardless of whether or not there is personnel operating that server, since no personnel is required to perform the operations assigned to the server.
    • In determining whether or not the server installed by a given enterprise in a country constitutes a PE, it is particularly important to analyze whether the enterprise engages in business activities specific to its corporate purpose through that server, or whether, on the contrary, it only engages in activities of a preparatory or auxiliary character (such as advertising, market research, data gathering, providing a communications link between suppliers and customers, or making backup copies).
  • A website does not, in itself, constitute tangible property and, therefore, cannot be deemed a “place of business,” defined as facilities, equipment, or machinery capable of constituting a PE. ISPs do not generally constitute a PE of enterprises that engage in e-commerce through websites since ISPs are not generally dependent agents of those nonresident enterprises.

3.2.2 Legal characterization of income

The second relevant issue is the characterization of income and, in particular, the possibility that certain goods supplied online may, merely by virtue of the fact that they are protected by intellectual or industrial property laws (such as music, books and, particularly, software), be characterized as generators of royalties and, therefore, be taxable in the country of source.

The Commentaries on the OECD Model Tax Convention characterize as business profits (instead of royalties) almost all payments made for all intangible goods delivered electronically, on the ground that the subject-matter of those transactions are copies of images, sounds or text, rather than the right to exploit them commercially.

Initially, Spain included an observation on the relevant Commentary on the 2003 Model Tax Convention qualifying the treatment of the acquisition of rights to software by arguing that payment for those rights could constitute a royalty. Specifically, Spain considered that payments relating to software were royalties where less than the full rights to it were transferred, either if the payments were in consideration for the use of a copyright on software for commercial exploitation or if they related to software acquired for business or professional use when, in this latter case, the software was not absolutely standardized but somehow adapted to the purchaser.

However, the relevant Commentary on the OECD Model Tax Convention published in July 2008 took the novel line that payments made under arrangements between a software copyright holder and a distribution intermediary do not constitute a royalty if the rights acquired by the distributor are limited to those necessary for the commercial intermediary to distribute copies of the software. Thus, if it is considered that distributors are paying only for the acquisition of the software copies and not to exploit any right in the software copyrights (without the right to reproduce the software), payments in these types of arrangements would be characterized as business profits. The Commentary published in December 2017 maintains this position.

In light of this change in the Commentary on royalties in the Model Tax Convention, Spain introduced a qualification in the observations published in July 2008 (which was kept in the Commentary on the OECD Model Tax Convention published in December 2017), indicating that payments in consideration for the right to use a copyright on software for commercial exploitation constitute a royalty, except payments for the right to distribute standardized software copies, not comprising the right to customize or to reproduce them.

Therefore, as acknowledged by the Directorate-General of Taxes in its binding ruling of November 10, 2008 and other subsequent rulings, Spain considers that payments made for the right to distribute standardized software copies are business profits, although it continues to treat as royalties any payments made for the right to distribute software where the software has been adapted. In any case, as was clarified in a binding ruling of November 23, 2010, the transfer, together with the distribution right, of other rights, such as a license to adapt the software being distributed, will mean that the payments are treated as royalties.

It should also be noted that article 13 of the Revised Nonresident Income Tax Law, approved by Legislative Royal Decree 5/2004, of March 5, 2004, treats as royalties amounts such as those paid for the use of, or the right to use, rights in software.

Also, in some tax treaties signed by Spain, income derived from the licensing of software is expressly characterized as a royalty. In this regard, one should note the Supreme Court judgment of March 25, 2010, which defined the licensing of software as a license of the rights to exploit a literary work, although the Court’s definition addressed a situation pre-dating the entry into force of the Spanish legislation specifically listing the items deemed to be royalties. However, in a judgment dated March 22, 2012, the National Appellate Court held that such a definition was no longer possible after the entry into force of the above-mentioned legislation. The Supreme Court confirmed this view in a judgment handed down on March 19, 2013, in which it held that characterization as a literary work is no longer correct after the change in the legislation.

3.2.3 Determination of taxable income and transfer pricing problems

The widespread use of intranets among different companies belonging to multinational groups, and the enormous mobility of transactions over computer networks, create highly complex problems when applying the traditional arm’s-length principle to pricing transactions within groups. This has been accentuated by the increase in transactions between group companies and the downloading of digital content or of free services.

Accordingly, the tax authorities of OECD countries (including Spain) are advocating the development of bilateral or multilateral systems for advance pricing agreements, applying the OECD transfer pricing guidelines to e-commerce. Noteworthy in this regard is the creation of an EU Joint Transfer Pricing Forum in which, among other matters, non-legislative measures are being proposed to enable a uniform application of the OECD guidelines across the EU.

In BEPS, Actions 8 to 10 of the BEPS Action Plan have the ultimate aim of ensuring that the results of transfer pricing are in line with the creation of value. The implementation of the BEPS Action plan measures has been reflected in the OECD Guidelines on transfer pricing for multinational enterprises and tax administrations, published in July 2017.

3.2.4 Application of the place-of-effective-management rule

Due to the special characteristics of e-commerce (which include easy detachability from location, relative anonymity, and the mobility of the parties involved), the traditional rules on taxation of worldwide income, based on the principles of residence, registered office or place of effective management, are more difficult to apply to taxpayers engaging in e-commerce.

Indeed, the parameters established in the tax treaties for apportioning the revenue powers among States in the event of a conflict (most of them based on the “place-of-effective-management” principle) are exceeded in the context of e-commerce, since the various managing bodies of the same enterprise can be located in different jurisdictions and be totally mobile during the same year. It can therefore be extremely difficult to determine where the enterprise’s place of effective management is situated, and this can lead to double taxation or to no taxation at all.

At EU level, in 2018 two draft Directives and a Recommendation have been developed with a view to establishing a common framework for the taxation of digital services companies in the EU. These legislative initiatives have been placed on hold until an agreement has been reached in the OECD regarding the taxation of digital services.

In Spain, the Official Parliamentary Gazette of February 28, 2020 publishes the initiation of the passage through Parliament of the Bill on the Tax on Certain Digital Services (“TCDS”).

The preamble recalls that Spain's creation of this tax is temporary until the OECD completes its works to adapt the international tax system to the digitalization of the economic, through the “re-allocation of taxing rights to market countries or territories when participating in the economic activity, without the need for a physical presence, creating a new nexus for that purpose”, in clear reference to pillars 1 and 2 of the OECD.

The TCDS charges taxes to companies whose global net revenues in the preceding calendar year are above €750 million and that obtain revenues in Spain (also in the preceding calendar year) of at least €3 million derived from the provision of online advertising services, online intermediation services or the sale of data generated on the basis of information provided by the user of digital interfaces. The tax rate at 3%, and the scope of the tax excludes sales of goods or services between users in the context of an online intermediation service, and sales of goods or services contracted online on the website of the supplier of those goods or services in which the supplier does not act as intermediary. The tax will be assessed every three months. The first assessment in 2020 is postponed until December 20. In that assessment, presumably (depending on how the passage through Parliament goes), taxpayers will report tax for the second and third quarters of 2020. The single transitional provision establishes that during the period from the date of entry into force of the Law to the following December 31, the determination of whether the 3 million euro income threshold is exceeded shall be done taking into account the revenues existing from the entry into force of the law until the end of the assessment period, annualized.