A DTT is a bilateral treaty that Spain signs with another state to allocate taxing power over cross-border income. It is neither an automatic exemption nor a non-taxation certificate: it is an allocation. Reading it well means recognising that each article works as a specific instruction on where each type of income is taxed and what the other state may do in return.

Statutory basis and model

Spain has DTTs in force with more than 95 states, almost all built on the OECD Model Tax Convention with official commentaries that guide interpretation. The Spanish domestic basis to apply them is article 3 LGT, which integrates treaties into the legal system, and article 96 CE, which places them above ordinary law. When a DTT has been amended by the Multilateral Instrument (MLI), ratified by Spain in 2021, the original clause may be modified without appearing rewritten in the treaty text: both documents must be read in parallel.

Treaty residence (art. 4)

Article 4 sets out who qualifies as a resident of the other state for DTT purposes. A person may be an internal resident in both states by simultaneous application of their rules —by days in Spain and by domicile in Germany, for example—. The DTT resolves that conflict with the tie-breaker: first permanent home, then centre of vital interests, then habitual abode, then nationality, and ultimately mutual agreement between the authorities. That said, the taxpayer remains an internal resident in both countries, but conventionally only in one: the other country's tax practice becomes conditioned by the DTT allocation.

Permanent establishment (art. 5)

Article 5 defines when a company resident in one state has sufficient presence in the other to be subject there to business taxation. The two classical figures are the fixed place of business (office, branch, construction site beyond 12 months) and the dependent agent. The MLI extended the scope to agents who habitually conclude contracts substantially even without formal signature, and it added an anti-fragmentation rule preventing the split of activities between group entities to stay below the threshold. It follows that the "virtual office without employees" no longer shields against PE as it did a decade ago.

Allocation by income category (arts. 6–22)

Each article in the central block assigns taxing power to one state, to the other, or to both with a limit. Immovable income: always taxed in the state where the property is located (art. 6). Business profits: only in the residence state unless PE (art. 7). Dividends: both states, with a source-country cap at 5/15 % depending on shareholding (art. 10). Interest: both states with a source-country cap, typically 10 % (art. 11). Royalties: both states with variable cap, 0–10 % in modern DTTs (art. 12). Capital gains: rule specific to each asset type (art. 13). Employment income: state where it is carried out, with the 183-day exception of art. 15(2). Public and private pensions, directors, artists and sportspersons: arts. 17–20. Other income: residence of the recipient unless PE (art. 21). Which is why correct classification of the income is the step that determines the allocation.

Methods to eliminate double taxation (art. 23)

The taxpayer's state of residence, bound to tax worldwide income, eliminates double taxation by applying one of two methods: exemption with progression (art. 23-A) or credit (art. 23-B). Spain uses credit in most cases: it grants a credit for tax paid in the other state up to the limit of the Spanish tax on that same income. Exemption with progression appears in specific cases —the DTT with Germany for director salaries of SAs, for instance— and exempts the income in Spain but incorporates it into the average rate calculation. Against that backdrop, the method applied changes the final arithmetic even when the source withholding is identical.

Mutual Agreement Procedure (art. 25)

When the two states apply the DTT in incompatible ways and the taxpayer ends up doubly taxed because of that divergence, art. 25 opens the Mutual Agreement Procedure (MAP): the resident files a request with the competent authority of their state —the AEAT, National Office of International Taxation in Spain— and both administrations negotiate. The MLI also introduced mandatory arbitration in certain DTTs if the authorities do not reach agreement within two years. Spanish practice in MAP has accelerated since 2020 and the average resolution time has dropped to around 24 months; it remains slow compared with an audit, but it is the only route when double taxation persists after appealing separately in each country.

Anti-abuse clauses introduced by the MLI

The MLI modified pre-existing DTTs by introducing two additional mechanisms. The Principal Purpose Test (PPT) entitles the source state to deny DTT benefits —reduced withholding, for example— when one of the principal purposes of the transaction is to obtain that benefit. The Limitation on Benefits (LoB), more mechanical, conditions DTT access on meeting objective tests on the type of beneficiary entity. Both clauses coexist with the traditional allocation: they do not require the transaction to be abusive, only that the tax purpose weigh as a principal motive.

How it reads in practice

Faced with a cross-border payment, the operational process is sequential. First, check which DTT applies and whether the MLI has modified it. Second, classify the income under the OECD model: not according to the private contract, but according to the treaty tax category. Third, check treaty residence with the tie-breaker if there is a domestic conflict. Fourth, read the specific article and find the source-country withholding cap. Fifth, check whether the MLI has introduced PPT or LoB. Sixth, trigger the residence-state elimination method. Seventh, document: residence certificate, payer-country form, beneficial-owner accreditation. Setting aside documentary execution —which is where most files fail—, reading the DTT closes in two or three analysis sessions for a standard case.

Recurring errors at the firm

The three errors we see most often: reading the DTT without incorporating the MLI amendments and applying a clause already reformed; applying withholding at the domestic rate because the residence certificate was not filed on time with the foreign payer; and assuming that a company interposed in a third state captures that state's DTT when the beneficial owner remains a resident of a fourth state —which triggers the PPT—. Each one produces double taxation or, worse, a retroactive assessment with penalty.

The firm's position

Our DTT practice runs in three layers. First: documentary mapping of the applicable DTT and the consolidated post-MLI version. Second: classification of the income supported by the OECD commentaries and, where warranted, a binding ruling from the DGT. Third: activation of residence forms and follow-up of the credit or exemption method in the Spanish return. If there is effective double-taxation risk, we open MAP before the ONFI. The standard engagement closes in four to six weeks with a DTT-by-DTT map useful for all the client's flows, not only the one-off payment.