A Spanish company pays interest to a foreign entity. A non-resident company receives dividends from a Spanish subsidiary. A group provides services between companies located in different countries. Or an investor obtains a profit in a state other than the one in which he resides for tax purposes.
In any of these cases, an apparently simple question may arise: which country has the right to tax that income?
The answer is not only to check whether Spain has signed an agreement with the other State. The correct application of agreements to avoid double taxation requires first determining the tax residence of the parties, correctly classifying the income, checking which State can subject it to taxation and verifying whether there are limits, exemptions, methods to eliminate double taxation or specific documentary requirements.
An error in any of these steps can lead to an incorrect international withholding, higher taxation than the appropriate one or a position that is difficult to justify to the tax administration.
Therefore, in cross-border transactions, it is advisable to integrate the analysis of the agreement within a broader review of the international taxation of the operation, instead of treating it as an automatic rule to reduce taxes.
What treaties actually do to avoid double taxation
Double taxation treaties are international treaties through which two States coordinate the exercise of their respective taxing powers over certain income and assets.
Its purpose does not necessarily mean that an income will be taxed only once or that it will be exempt in one of the countries. Depending on the category of income and the specific agreement, the power to tax may be attributed exclusively to one of the States or the capacity to tax both may be recognized, subsequently establishing a mechanism to correct double taxation.
The Ministry of Finance maintains the official list of the agreements signed by Spain. In May 2026, it indicated that Spain had 99 agreements in force.
Therefore, the first step should always be to check that there is an applicable agreement, that it is effectively in force for the period analysed and what its current text is, including the protocols and modifications that may affect it.
It is not sufficient to use as a reference another Spanish convention, the OECD Model Convention or the conditions applied in a previous transaction with a different country. The analysis must be carried out on the specific treaty applicable to the two States involved.
Applying an agreement correctly requires following an order
The existence of the convention is only the starting point. Before determining the tax treatment of a payment or an international transaction, a number of legal issues must be resolved.
1. Determine tax residency
The application of a DTA normally starts from identifying whether the person or entity can be considered a resident of one of the contracting States under the relevant rules.
This point can be simple when there is a company with activity, address and residence clearly located in one jurisdiction. But it can be complicated when an entity is incorporated in one country and performs management functions in another, or when a person has relevant links with several jurisdictions.
Where there is a potential conflict, international tax residency must be analysed before determining the consequences of the convention.
In addition, the existence of a certificate of residence should not be confused with the automatic resolution of any material issue related to the agreement. Tax documentation is essential, but the operation and the facts must be consistent with the position that is intended to be held.
2. Correctly identify the rent
Once the residence has been determined, it must be analyzed what type of income is being generated.
Agreements usually establish differentiated treatments for categories such as business profits, dividends, interest, royalties, capital gains, real estate income or certain remunerations.
The qualification is especially relevant because two economically similar payments may receive different tax treatment.
For example, it should not be assumed that any invoice issued by a foreign company automatically constitutes a business profit subject to a single rule. It may be necessary to review the contract, the service actually performed, the rights assigned and the possible business presence in the State of source.
Similarly, distinguishing between interest, dividends or royalties can determine which article of the convention is applicable and what powers each State retains.
The agreement distributes taxing powers, it does not replace all tax analysis
One of the most frequent conceptual errors is to go directly to the withholding percentage provided for in an agreement.
First, it must be determined which State can tax the income and under what conditions.
In certain cases, the convention reserves taxation to a State. In others, it allows the State of source to tax the income, but establishes a limit. It may also be up to the State of residence to subsequently eliminate double taxation through the mechanism provided for in the convention itself and in its domestic legislation.
This explains why applying a double taxation treaty does not simply mean choosing the lowest tax rate.
The operation must be analyzed from beginning to end: residence, source, nature of the income, possible permanent establishment, tax limits, withholdings and mechanism to eliminate double taxation.
Dividends, interest and royalties: special attention to withholding taxes
Cross-border payments of dividends, interest and royalties are one of the areas where the implementation of DTAs is of greatest practical importance.
The Spanish regulations on Non-Resident Income Tax include, among other income obtained in Spanish territory, certain dividends paid by resident entities, interest and royalties connected with Spain.
When the recipient is resident in a State with which Spain has an agreement, it will be necessary to verify the specific treatment provided for in that treaty.
The result may be, depending on the agreement, the operation and the circumstances of the beneficiary, a limitation of taxation at source or a treatment different from that which would result exclusively from domestic legislation.
Therefore, before making an international payment, it is advisable to check at least:
- Who is legally the recipient of the income
- Where you have your tax residence
- What is the nature of the payment?
- Which convention is applicable
- What does the corresponding article establish?
- Whether there are additional requirements to enjoy conventional treatment
- What documentation the payer must keep
The existence of an international corporate structure does not in itself allow it to be assumed that any intermediate entity can automatically benefit from the advantages of the treaty.
The tax residence certificate is an essential piece
The practical application of an agreement must be supported by documentation.
The Tax Agency establishes that, when no withholding is made for an exemption provided for in an agreement or the tax limits established therein are applied, the justification is made by means of a tax residence certificate issued by the corresponding tax authority, which expressly states that the taxpayer is a resident in the sense defined in the agreement.
In general, these certificates are valid for one year from their issuance, without prejudice to certain specific cases provided for by the regulations.
In some agreements developed by means of a specific order, there may be a particular form that replaces the certificate.
Therefore, knowing the percentage provided for in a DTA is not enough. If a Spanish company is going to make an international payment applying a conventional treatment, it must check before making it if it has the necessary documentation to support that treatment.
What about business profits?
Business profits pose a different analysis.
In this area, it may be decisive to determine whether the undertaking of one State carries out its activity in the other through a permanent establishment under the terms provided for in the corresponding agreement.
Not all commercial activity with Spanish customers implies the existence of a permanent establishment by itself. However, it should not be ruled out solely because the foreign company has not constituted a formal subsidiary or branch.
Facilities, personnel, agents, functions carried out in Spain, capacity to intervene in contracts and characteristics of the activity may be relevant depending on the case and the applicable treaty.
When a foreign entity carries out activity on a recurring basis in Spanish territory, it is advisable to specifically analyse the possible permanent establishment in Spain before concluding how the business profit should be taxed.
An example: a Spanish company pays interest to a foreign company
Suppose a Spanish company has received financing from a company resident in another country and must pay interest.
Applying the agreement correctly does not simply consist of searching the Internet for the percentage corresponding to the interest.
First, the tax residence of the creditor and the existence of a valid DTA must be verified. Then the financing contract, the legal nature of the payment and the circumstances of the parties must be analyzed.
Next, the article of the agreement corresponding to interest will be reviewed and it will be determined whether Spain retains the power to subject income to taxation, if there is any conventional limit and what requirements must be met.
In the case of related-party entities, the analysis may also require reviewing the financing conditions from the perspective of related-party transactions and transfer pricing.
Finally, the available documentation and the corresponding formal obligations must be checked.
The example shows why the DTA is part of the tax analysis of the transaction, but does not replace it.
What happens if a withholding has already been made in excess of the appropriate one?
Incorrect application of the agreement is not always detected before payment.
It may happen that a company practices the withholding provided for in the internal regulations and it is subsequently verified that the agreement established a lower limit. It may also happen that the necessary documentation to apply the conventional treatment was not initially available.
In the field of Spanish IRNR, the Tax Agency contemplates the possibility for non-residents to request a refund through form 210 when they have borne a withholding higher than the corresponding taxation.
Therefore, a withholding already made does not necessarily mean that taxation is final.
The income, the applicable agreement, the withholding tax, the documentation and the corresponding procedure must be reviewed. When the problem affects operations already carried out or previous years, it may be necessary to address the situation from an international tax regularization perspective.
How Double Taxation Is Eliminated When Both States Can Tax
An agreement does not always prevent the two States from taxing income.
In certain cases, the State of source may tax in accordance with the conditions laid down in the treaty and the State of residence may also include that income in the taxpayer’s taxation.
It is then that the article of the convention dedicated to methods to eliminate double taxation becomes important.
The specific mechanism should be checked at each DTA and coordinated with the applicable domestic law. It should not be assumed that any tax paid abroad may be recovered or deducted in full.
The amount paid, the nature of the tax, the applicable limits and the correct accreditation of the foreign tax can be decisive.
Errors that may lead to incorrect application of the agreement
In practice, problems do not usually arise solely from ignorance of the existence of a DTA. They often arise because a conventional rule is applied without sufficient analysis of the facts.
Among the mistakes that should be prevented are using an agreement without properly proving tax residence; automatically applying a withholding percentage without previously qualifying the income; ignoring a possible business presence in the State of source; using expired or insufficient documentation; or assuming that any tax paid abroad will be recoverable in the State of residence.
The use of corporate structures without reviewing the conditions established in the agreement, its protocols and the anti-abuse rules that may be applicable can also be problematic.
The correct application of a DTA must respond to the substance of the operation and the real legal position of the parties.
The agreement must be reviewed before executing the operation
In international taxation, revising the agreement after payment is made limits the alternatives available.
Before distributing dividends, granting international financing, paying interest or royalties, providing services between countries, acquiring shareholdings or structuring an investment, it is advisable to determine in advance how the jurisdictions involved will be coordinated.
This review is particularly important in a foreign investment in Spain, where the choice of vehicle, financing, future dividends, eventual divestment and intra-group payments can produce tax consequences in several jurisdictions.
Analyzing the DTA in advance allows you to identify what documentation must be obtained, what withholdings may be applicable and what tax issues must be integrated into the contracts and the structure of the operation.
Implementation of international tax conventions and planning
Double taxation treaties are a centerpiece of international taxation, but their correct application requires much more than locating a treaty and consulting a percentage.
Tax residence, income classification, State of source, possible existence of permanent establishment, withholdings, documentation and the method for eliminating double taxation must be analysed together.
IN DIEM Abogados can review an international transaction before its execution or analyse an existing position, checking the applicable agreement, tax documentation, withholdings and interaction with Spanish regulations and the other tax issues of the structure.
When a transaction connects several countries, reviewing these elements before making payments or making corporate decisions allows you to build a documented tax position that is consistent with the reality of the transaction.
Preguntas frecuentes sobre convenios para evitar la doble imposición
¿Qué es un convenio para evitar la doble imposición?
Es un tratado internacional entre dos Estados que establece reglas para coordinar sus potestades tributarias sobre determinadas rentas y patrimonios. Dependiendo del convenio y del tipo de renta, puede atribuir la tributación a uno de los Estados, permitir que ambos graven con determinados límites o establecer mecanismos para eliminar posteriormente la doble imposición.
¿Cómo puedo saber si España tiene un convenio de doble imposición con otro país?
Debe consultarse la relación oficial de convenios del Ministerio de Hacienda y comprobarse que el tratado está en vigor para el período correspondiente. También deben revisarse sus protocolos, modificaciones y, cuando proceda, otros instrumentos que puedan haber afectado a su contenido.
¿Tener un convenio significa que no hay que pagar impuestos en España?
No. Un convenio puede reconocer a España potestad para gravar una determinada renta, limitar esa tributación o atribuirla al otro Estado. La consecuencia concreta depende de la residencia fiscal, el tipo de renta, su origen y las reglas del convenio aplicable.
¿Qué documentación se necesita para aplicar un convenio de doble imposición?
Depende de la operación y del convenio. En España, para justificar determinadas exenciones o límites de imposición convencionales resulta especialmente relevante el certificado de residencia fiscal expedido por la autoridad competente del otro Estado, sin perjuicio de formularios específicos que puedan resultar exigibles en determinados casos.
¿Cuánto dura un certificado de residencia fiscal para aplicar un convenio?
Con carácter general, la Agencia Tributaria establece para estos certificados un plazo de validez de un año desde su expedición, aunque existen determinados supuestos especiales. Debe comprobarse la documentación exigible para la operación concreta.
¿Cómo se aplica un convenio de doble imposición a los dividendos?
Debe determinarse la residencia fiscal del perceptor, analizarse el artículo sobre dividendos del convenio correspondiente y comprobarse qué potestad tributaria conserva el Estado de la fuente y bajo qué condiciones. También deben revisarse la normativa interna, la documentación y los requisitos específicos aplicables.
¿Los intereses pagados a una empresa extranjera llevan siempre retención?
No puede responderse de forma general. Deben analizarse la normativa interna, la residencia del perceptor, el convenio aplicable, la naturaleza del pago y las circunstancias de la operación. En determinadas situaciones pueden existir exenciones o límites de imposición cuya aplicación exige cumplir los requisitos correspondientes.
¿Qué ocurre si me han retenido más de lo previsto en el convenio?
Cuando un no residente ha soportado en España una retención superior a la tributación que le corresponde, puede existir la posibilidad de solicitar la devolución del exceso. En el IRNR, la Agencia Tributaria contempla la utilización del modelo 210 para estas solicitudes, debiendo acreditarse adecuadamente el derecho a la devolución.
¿Un convenio de doble imposición puede afectar a un establecimiento permanente?
Sí. Los convenios suelen contener reglas específicas sobre establecimiento permanente y sobre la tributación de los beneficios empresariales. Por ello, cuando una empresa desarrolla actividad en otro Estado debe revisarse si su presencia encaja en la definición contenida en el convenio aplicable.
¿Conviene revisar el convenio antes de realizar una operación internacional?
Sí. Revisarlo antes de efectuar pagos, inversiones, distribuciones de dividendos, financiaciones u otras operaciones transfronterizas permite determinar la tributación prevista, preparar la documentación necesaria y detectar posibles retenciones o riesgos de doble imposición antes de ejecutar la operación.
Lawyers Specializing in Tax Law: Málaga, Marbella, Seville, Madrid, Las Palmas de Gran Canaria, Almería, Huelva…
Abogados IN DIEM has extensive experience and a high degree of specialization in the area of Tax and Financial Law, offering advice regarding taxation, fiscal year closings, strategies and resources, providing clients with personalized assistance at every moment.
IN DIEM is a leader in the cryptocurrency and virtual asset taxation and tax sector, with significant experience and knowledge in crypto and its main virtual currencies, such as Bitcoin, as well as all existing cryptocurrencies including: Ethereum, Ripple, Litecoin, Dash… and tokens, ICO (Initial Coin Offering), STO (Security Token Offering), offering our clients the appropriate operational strategy and necessary advice for their operations and investments.
Abogados IN DIEM has a team with experience in roles such as magistrate, state attorney, prosecutor, and university professor, which will give you peace of mind and confidence, knowing you have the best team—one that is competitive and highly qualified to achieve your goals and meet your needs.
We are at your disposal for whatever you need. You can reach us through the IN DIEM Lawyers Telephone (+34) 901 900 071. In cases of Emergency, you have us at the 24-Hour Emergency Lawyers Telephone IN DIEM: (+34) 610 667 452.
Did you know that Abogados IN DIEM offers online and expedited services?
We offer our clients the option of receiving assistance via video call or videoconference, as well as by phone, depending on their preference, so that the assistance is as personalized as possible, provided immediately, and without the need to travel. This service is complemented by communication via email, which facilitates the review and delivery of documentation.
In addition, for businesses and individuals, IN DIEM Abogados offers urgent services and 24-hour support for matters that require a quick response.
Would you like to know more about IN DIEM Abogados? Here is this short introductory video…
To acknowledge some of you, here’s this link.
You can find us in Seville, Madrid, Las Palmas de Gran Canaria, Málaga, Tomares, Coria del Río, Dos Hermanas, Mairena del Alcor, Estepona, Marbella, and Mairena del Aljarafe. We look forward to serving you.


