Withholding tax on international payments: when should a Spanish company withhold tax

Professional firm with financial documentation and globe, representing withholdings in international payments.

A Spanish company contracts services with a foreign company, pays interest to a financial institution in another country or distributes dividends to a non-resident partner. Before making the transfer, a tax question arises that is not always resolved by examining the invoice or the contract: should a withholding tax be made in Spain?

Withholdings in international payments depend on the nature of the income, its connection with Spanish territory, the tax residence of the beneficiary and the exemptions or international agreements that may be applicable.

Not all payments abroad are subject to withholding. Nor is it enough for the supplier to issue an invoice from another country to conclude that the transaction is outside Spanish taxation.

The paying company must analyse these circumstances before making the payment, because an omitted or incorrectly calculated withholding may generate tax obligations and liabilities to the Administration.

When there is an obligation to withhold in a payment abroad

The obligation to withhold income paid to a non-resident is mainly regulated in the revised text of the Law on Non-Resident Income Tax, approved by Royal Legislative Decree 5/2004, of 5 March.

Article 31 establishes the rules applicable to withholdings and payments on account of certain income subject to tax.

To determine whether a Spanish company must withhold, it is necessary to examine three elements: whether the beneficiary is a taxpayer of Non-Resident Income Tax, whether the income is considered to have been obtained in Spanish territory and whether there is an effective obligation to withhold after applying the corresponding exemptions and rules.

Article 13 of the IRNR Law identifies the income that is considered to have been obtained in Spain. This classification is decisive, because paying from Spain does not necessarily mean that the income is subject to Spanish taxation.

For example, a Spanish company may contract certain services performed entirely abroad without the payment constituting income obtained in Spain in accordance with the applicable rules. On the other hand, dividends distributed by a company resident in Spain to a foreign shareholder may be subject to IRNR, without prejudice to any exemptions or limitations that may apply.

The review of these operations is part of international tax advice for companies, especially when there are recurring payments, international contracts or corporate structures with a presence in several countries.

Which international payments may be subject to withholding

The tax treatment does not depend exclusively on the recipient being outside Spain. It is necessary to legally identify what is remunerating the payment.

Dividends distributed to non-resident shareholders

When a Spanish company distributes dividends to a non-resident partner or shareholder, the income is generally considered to have been obtained in Spanish territory.

Domestic legislation establishes a tax rate of 19% for dividends subject to non-resident income tax without a permanent establishment, although the amount actually withheld may be lower or even non-existent when a legal exemption or double taxation agreement is applicable.

Specific exemptions may apply to certain distributions between parent companies and subsidiaries in different States, subject to requirements relating to participation, residence, nature of the entities and applicable legal conditions.

Therefore, a withholding tax of 19% should not be automatically applied without first reviewing the corporate structure and tax position of the beneficiary.

Interest paid to foreign entities

Interest derived from loans, financing and other credit operations may also generate withholding obligations.

The IRNR Law contemplates certain income from movable capital connected to Spain, including interest paid by resident entities, with the particularities provided for by law.

However, there are relevant exemptions. Among them, Article 14 contemplates, under the conditions established in the regulation, certain interests obtained by residents in other Member States of the European Union or by permanent establishments of such residents located in other Member States.

In addition, double taxation treaties may limit the taxation of interest in the home State.

In international financing, it is necessary to examine the identity of the lender, the nature of the financing, the residence of the beneficiary and the requirements for applying the relevant tax treatment.

Royalties and payments for intellectual or industrial property rights

International royalties may include consideration for the use or transfer of certain intellectual property rights, industrial property, know-how and other assets or rights included in the applicable legal definition.

These payments require special attention because their qualification can be debatable.

It is not necessarily the same to acquire a technological product as to obtain a license to exploit certain rights. Nor should it be presumed that any technological service constitutes a royalty.

Domestic regulations establish specific rules on the taxation of this income, while international agreements may limit Spanish taxation.

In addition, certain royalty transactions between associated companies from different Member States of the European Union may benefit from exemptions when the legal requirements are met.

The review of the contract and the rights actually transferred is decisive in determining whether it is appropriate to withhold.

Services provided by foreign companies

Payments for international services present a different difficulty.

A Spanish company can contract consultancy, engineering, advice, technical assistance, technological development or professional services with an entity established outside Spain.

Not all of these payments should be subject to withholding.

Article 13 of the IRNR Law contains rules for the location of activities and provision of services. Among other cases, it contemplates certain services provided in Spanish territory and certain services used in Spain, especially when they serve economic activities carried out in that territory.

The application of these rules requires an analysis of the circumstances of the service, its nature and the place where it is used or developed.

In addition, when there is a double taxation agreement, certain business profits may be subject exclusively to taxation in the State of residence of the provider, unless the conditions for their taxation in Spain are met.

Therefore, an invoice issued by a foreign company does not in itself determine the obligation to withhold.

How much a Spanish company must withhold

When an income paid to a non-resident is subject to withholding and no conventional exemption or limitation is applicable, the corresponding rate must be taken into account according to Spanish regulations.

Article 25 of the IRNR Law contemplates, among others, the following rates for income obtained without a permanent establishment:

  • A general rate of 24%.
  • A general rate of 19% for taxpayers resident in other States of the European Union or the European Economic Area who meet the legal conditions for the effective exchange of tax information.
  • A rate of 19% for dividends, interest and certain capital gains.

These percentages do not constitute a universal rate for all international payments.

The effective rate may vary depending on the type of income, the residence of the beneficiary, the application of exemptions and the limits provided for in the corresponding agreement.

For example, if a Spanish company must pay €20,000 of interest subject to a 19% withholding tax, and there is no applicable exemption or reduction, the withholding tax would amount to €3,800.

In this case, the paying entity would pay 16,200 euros to the beneficiary and pay the remaining 3,800 euros to the Spanish Treasury.

This is a merely illustrative example. In a real transaction, it must be checked beforehand whether the interest is subject to taxation in Spain and whether there is an exemption or an agreement that modifies the result.

How Double Taxation Treaties Affect Withholding Taxes

Agreements to avoid double taxation may modify the treatment that would result exclusively from Spanish domestic legislation.

In certain cases, the convention allows Spain to tax income, but limits the maximum percentage of taxation. In others, it can attribute the power of taxation exclusively to the State of residence of the beneficiary.

However, the agreement does not replace the prior analysis of the income.

First, it must be determined whether there is taxation under Spanish law. It must then be checked whether the applicable convention limits or excludes such taxation.

It is also necessary to verify the conditions of access to treaty benefits, including, where applicable, those relating to beneficial ownership and provisions against the abuse of treaties.

IN DIEM analyses this matter in its article on how to correctly apply double taxation treaties, which develops the distribution of taxing powers between States.

In terms of withholdings, the practical question is to determine what amount the Spanish company can legally deduct when making the payment.

The beneficiary’s tax residence certificate

The application of an exemption or a reduced rate may require the paying company to have supporting documentation.

When an agreement is intended to be applied, the Tax Agency requires, in general, a certificate issued by the competent tax authority that proves the taxpayer’s residence in the sense defined in the agreement itself.

These certificates are, as a general rule, valid for one year from their issuance, without prejudice to the specific cases provided for in the regulations.

The Spanish company must keep the documentation that justifies the withholding practiced or the absence of withholding during the legally required period.

It is not sufficient for the supplier to indicate its foreign address on the invoice or to informally communicate that it is resident for tax purposes in another country.

The documentation must support the tax treatment applied.

What happens when the foreign supplier has a permanent establishment in Spain

The existence of a permanent establishment in Spain may substantially modify the applicable tax regime.

Where a foreign entity carries on business through a permanent establishment to which a certain income is attributable, the treatment may differ from that provided for income obtained without a permanent establishment.

In these cases, the corresponding tax obligations and, where appropriate, the withholding regime applicable to the income attributed to said establishment must be reviewed.

The IRNR withholding regime without a permanent establishment should not be used automatically for any payment made to a foreign entity.

The classification depends on the activity, the means used, the contracts, the attribution of income and the provisions of the applicable agreement.

Where there are doubts about the tax presence of a foreign entity, it may be necessary to carry out an analysis of the permanent establishment in Spain before determining the payer’s obligations.

Forms 216 and 296: tax obligations of the paying company

When a Spanish company is obliged to withhold income subject to non-resident income obtained without a permanent establishment, it must comply with the corresponding declaration and payment obligations.

Form 216: declaration and payment of withholdings

Form 216 allows you to declare and pay withholdings and payments on account corresponding to certain income obtained by non-resident taxpayers without a permanent establishment.

Their presentation is generally made quarterly, although certain taxpayers must use monthly periods.

In the ordinary quarterly regime, the filing is made during the first twenty calendar days of April, July, October and January, corresponding to the previous quarter, without prejudice to the specific rules of filing and direct debit.

The Tax Agency also contemplates cases in which it is necessary to file a negative return when certain income exempt from withholding is paid.

Therefore, the absence of an effective withholding does not automatically lead to the conclusion that there is no declaratory obligation.

Form 296: Annual Summary

Form 296 is the annual informative return of withholdings and payments on account of the IRNR corresponding to income obtained without a permanent establishment.

It allows the Tax Administration to be notified of information on the income paid and the recipients, in accordance with the applicable rules.

The return is filed, in general, during the month of January following the declared financial year.

The reporting obligations must be reviewed in accordance with the current instructions of the form. In particular, Order HAC/623/2026 has introduced modifications to the regulation of certain IRNR returns, including form 296.

The Tax Agency keeps the official procedures for filing form 216 and form 296 available.

Consequences of not applying a mandatory withholding tax

A Spanish company that omits a legally enforceable withholding may be exposed to tax regularization.

The Administration may claim the amounts that should have been withheld and paid, together with interest for late payment and, when the legal requirements are met, the corresponding penalties.

The liability of the withholder must be analyzed in accordance with the rules of the IRNR and the General Tax Law.

Contractual difficulties may also arise when the foreign beneficiary has already received the agreed amount in full.

In such cases, the possibility of recovering from the recipient the amounts that should have been withheld will depend on the circumstances of the transaction and the existing contractual arrangements.

On the other hand, making a withholding greater than that legally permissible can also cause problems.

The beneficiary may bear excessive taxation and need to request the corresponding refund. In certain cases, the procedure can be processed using form 210.

When errors are detected in previous years, it is advisable to review the documentation, the periods affected and the possibilities of correction. This situation may require an international tax regularisation to assess the outstanding obligations and the appropriate actions.

How to check if a withholding should be made before paying

The decision to withhold must be taken before executing the international transfer.

To do this, the Spanish company should follow a sequence of checks:

  1. Identify the actual payee of the payment and determine their tax residency.
  2. Review the contract, the invoice and the legal nature of the consideration.
  3. Check if the income is considered to have been obtained in Spain in accordance with article 13 of the IRNR Law.
  4. Determine whether there is a permanent establishment to which the income should be attributed.
  5. To examine the exemptions provided for in Spanish legislation.
  6. Verify the existence and application of the corresponding double taxation agreement.
  7. Obtain and keep the supporting tax documentation.
  8. Determine the amount of the withholding and the applicable declaratory obligations.

This review is especially important when the company makes periodic payments to foreign companies or maintains financial and commercial relations with entities of the same group.

In related-party transactions, in addition to withholding, it may be necessary to check the market valuation of the benefits and the tax documentation required.

An internal international payments review policy can help identify transactions that require specific tax analysis before authorizing their execution.

International withholdings: an obligation that must be reviewed before payment

The correct application of international withholdings requires distinguishing between taxable payments, non-taxable income, legal exemptions and limitations derived from double taxation agreements.

A Spanish company should not automatically withhold on any foreign invoice, but neither can it presume that the supplier’s residence outside Spain excludes its tax obligations.

The nature of the payment, the residence of the beneficiary, the place where the income was obtained, the possible existence of a permanent establishment and the available documentation are determining elements.

At IN DIEM Abogados we can review a company’s international contracts and economic flows, determine the applicable withholding obligations, analyse the corresponding exemptions and agreements and assess the necessary measures when payments have been made with incorrect tax treatment.

A prior legal analysis allows payment decisions to be made that are supported by the applicable regulations and to reduce tax contingencies in international business relations.


Preguntas frecuentes sobre retenciones en pagos internacionales

¿Una empresa española debe retener siempre que paga a una empresa extranjera?

No. La obligación depende de que la renta esté sujeta a tributación en España, de su naturaleza, de la residencia del beneficiario y de las exenciones o convenios aplicables. La realización de una transferencia internacional no genera automáticamente una obligación de retener.

¿Hay que practicar retención en las facturas de proveedores extranjeros?

No necesariamente. Debe analizarse qué prestación remunera la factura, dónde se realiza o utiliza el servicio y si la renta se considera obtenida en España. También puede resultar aplicable un convenio de doble imposición que limite la tributación española.

¿Qué retención se aplica a los dividendos pagados a una sociedad extranjera?

La normativa interna española establece, con carácter general, un tipo del 19 % para los dividendos sujetos al IRNR sin establecimiento permanente. Sin embargo, determinados convenios y exenciones legales pueden reducir o eliminar la tributación si se cumplen sus requisitos.

¿Los pagos por licencias de software a empresas extranjeras llevan retención?

Depende de la naturaleza de los derechos adquiridos. Una licencia que implique la explotación de determinados derechos puede recibir un tratamiento distinto al de la adquisición de un producto o un servicio tecnológico. Es necesario examinar el contrato, la normativa española y el convenio aplicable.

¿Se puede aplicar un convenio de doble imposición sin certificado de residencia fiscal?

Para justificar ante la Administración española una exención convencional o un límite de imposición, con carácter general se exige un certificado de residencia fiscal expedido por la autoridad competente, que acredite la residencia en el sentido del convenio. Existen supuestos con formularios o requisitos documentales específicos.

¿Una empresa española debe retener al pagar intereses a una sociedad de la Unión Europea?

No siempre. La legislación española contempla determinadas exenciones para intereses obtenidos por residentes en otros Estados miembros de la Unión Europea, sujetas a condiciones legales. También debe comprobarse la residencia del beneficiario, la naturaleza de la renta y los requisitos documentales correspondientes.

¿Es obligatorio presentar el modelo 216 cuando no se ha practicado ninguna retención?

Puede serlo. La Agencia Tributaria contempla determinados supuestos de declaración negativa cuando se satisfacen rentas exceptuadas de retención. No obstante, existen excepciones, por lo que debe comprobarse la naturaleza de las rentas y la obligación declarativa correspondiente.

¿Qué diferencia existe entre el modelo 216 y el modelo 296?

El modelo 216 se utiliza para declarar e ingresar, cuando proceda, las retenciones e ingresos a cuenta del IRNR sin establecimiento permanente. El modelo 296 es una declaración informativa anual que recoge las rentas y retenciones correspondientes conforme a su normativa específica.

¿Qué sucede si una empresa paga al extranjero sin practicar una retención obligatoria?

La Administración tributaria puede exigir al retenedor las cantidades que debieron ingresarse, junto con los intereses de demora y, cuando concurran los requisitos legales, las sanciones correspondientes. Es necesario revisar la operación y los ejercicios afectados para determinar las actuaciones procedentes.

¿Puede recuperarse una retención practicada en España superior a la prevista en un convenio?

Sí, cuando se acredite que la retención soportada supera la tributación legalmente exigible, puede existir derecho a solicitar la devolución del exceso. En determinados supuestos del IRNR, el beneficiario no residente puede utilizar el modelo 210, aportando la documentación que justifique su derecho y respetando los plazos aplicables.


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.


Anything else about IN DIEM Lawyers? Here’s a short presentation 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Legal Vision

Other posts on our blog that might interest you

Passport, Spanish flag, and tax documents in an office facing Madrid, representing the impatriate regime or Beckham Law.

Impatriate regime or Beckham Law: requirements and taxation for workers, entrepreneurs, and digital nomads