N30 Global

How Is the Article 7p Income Tax Exemption Calculated?

If you work abroad part of the year as an employee of a Spanish company, you may be entitled to stop paying income tax on those days of work outside the country. The Article 7p exemption is one of the most widely used and, at the same time, one that generates the most application errors. Here we explain how the calculation works step by step.

What income can benefit from the Article 7p exemption?

Article 7p of the Personal Income Tax Act allows the exemption from taxation of employment income obtained for work actually carried out abroad for a non-Spanish resident company or entity, or for a permanent establishment located outside the national territory. The worker must be a tax resident in Spain to be able to apply this exemption.

For the exemption to be applicable, three conditions must be met simultaneously: the work must be physically performed outside Spain (working remotely from Spain for a foreign company is not sufficient); the beneficiary of the services must be a non-Spanish resident entity or a permanent establishment abroad; and the country where the work is carried out must apply a tax of a similar nature to the income tax and must not be a tax haven.

The exemption has a maximum annual limit of €60,100. Income exceeding that amount is taxed normally under the general income tax regime. Additionally, this exemption is incompatible with the expatriate excess regime provided for in the Income Tax Regulations: if one is applied, the other cannot be applied to the same income.

Calculating the Article 7p exemption

Identifying days worked abroad

The first step is to determine precisely how many days of the year the worker has carried out their activity outside Spain. Only days of actual work abroad count. Travel days (flights, journeys) are a matter of debate regarding their computation: the General Directorate of Taxes has recognized in some binding rulings that travel days can be included if they are directly linked to work abroad, although this point continues to be subject to interpretation.

Days worked abroad must be able to be credibly proven to the tax authorities: work orders issued by the company, emails, boarding passes, hotel bills or accommodation, corporate calendars with details of projects and locations. Maintaining an updated record during the year is much simpler than trying to reconstruct it afterwards.

Determining the daily salary

Once the days have been identified, the proportional daily salary is calculated by dividing the worker’s total annual remuneration by 365 days (regardless of the fact that some days may not be working days). The formula is: Total annual remuneration ÷ 365 = Daily salary.

The annual remuneration that enters the calculation includes all remuneration components: fixed salary, variable pay, bonuses, salary supplements, benefits in kind, and any other employment income derived from the employment relationship. Remuneration components should not be excluded based on their nature or designation if they are linked to the worker’s service provision.

Calculating the exempt amount

The exempt amount is obtained by multiplying the daily salary by the number of days worked abroad:

Exempt amount = (Annual remuneration ÷ 365) × Days worked abroad

Practical example: if the total annual remuneration is €90,000 and the worker has spent 60 days carrying out actual work in Germany for a German client, the calculation would be: 90,000 ÷ 365 = €246.58/day. 246.58 × 60 = €14,794.52 exempt. This amount is declared as exempt income in the income tax return and is not included in the taxable base.

Applying the maximum annual limit

The result of the above calculation cannot exceed the maximum limit of €60,100 per year established by the regulations. If the calculated amount is less than that limit, it is applied in full. If it exceeds it, the exemption is limited to €60,100 and the excess is taxed normally.

This limit is particularly relevant for workers with high salaries or many days of work abroad. An executive with a remuneration of €200,000 and 150 days abroad would quickly reach the €60,100 limit. In that case, the excess is taxed at the corresponding marginal rate, but the €60,100 exempt still represents very significant tax savings.

calculo exencion 7p irpf

Common errors when doing the calculation

Errors in applying this exemption are frequent and can lead to supplementary tax assessments with surcharges and interest:

  • Counting travel or transit days as actual working days abroad without having a ruling from the General Directorate of Taxes to support it.
  • Not including all remuneration components (bonuses, per diems, benefits in kind) in the daily salary calculation.
  • Applying both the Article 7p exemption and the expatriate excess regime simultaneously on the same income, which is not permitted.
  • Not verifying that the destination country has a tax similar to the income tax: tax havens are excluded.
  • Confusing remote work from Spain for a foreign company with physical work abroad: these are completely different situations for the purposes of this exemption.

How to correctly justify the exemption before the tax authorities?

The key to a solid application of the Article 7p exemption lies in preventive documentation. The tax authorities can at any time require proof of the days of work abroad, the identity of the company benefiting from the services, and the existence of a tax equivalent to the income tax in the destination country.

¿Cómo podemos ayudarte?