Article 7.p LIRPF Exemption: Tax-Free Income for Work Abroad

~6 min read

A Spanish tax resident is taxed on worldwide income - but if part of the job is genuinely carried out abroad for the benefit of a foreign entity, the portion of salary tied to those days can be fully exempt from IRPF, with no regional rate applying and no separate application like the Beckham Law requires. Here is how the article 7.p LIRPF exemption works, the €60,100 annual cap, and what actually triggers a dispute with Hacienda over it.

Contents

What it is and who it fits

Article 7.p LIRPF exempts from Spanish IRPF income earned by a Spanish tax resident for work genuinely performed abroad, where the beneficiary of that work is a non-resident entity or a foreign permanent establishment. The exemption applies up to €60,100 a year and is applied automatically when filing the annual return - unlike the Beckham Law, it requires no separate advance application.

A typical case where this applies: a Spanish tax resident holds a role at a company that is part of an international group, and regularly travels abroad as part of the job - running projects, training staff at a foreign office, handling post-acquisition integration, or providing technical support to an overseas subsidiary. The portion of salary tied to days genuinely worked abroad for the foreign entity’s benefit can be fully exempt from tax.

This exemption is aimed mainly at people who are already Spanish tax residents and continue to physically perform part of their job abroad - not at people working fully remotely without ever leaving Spanish territory. Actual physical presence abroad while the work is performed is a requirement, not a formality.

↑ back to contents

Conditions for the exemption

Several conditions must all be met at once:

Why this matters especially for intra-group assignments

A common misconception is assuming the exemption only applies when a foreign company directly employs the worker. In practice, a different scenario comes up far more often: a Spanish company (part of an international group) sends an employee to work temporarily for the benefit of a foreign subsidiary - implementing a system, running training, closing out a project after an acquisition. This is exactly where the exemption applies in full, provided a genuine economic benefit to the foreign entity can be shown, not just the fact of a trip made on the Spanish employer’s instructions.

↑ back to contents

How the exempt amount is calculated

The exempt portion of salary is calculated proportionally to the days genuinely worked abroad, against total annual employment income - not just base salary, but generally including variable pay tied to the same period. The formula is straightforward in principle: (days worked abroad ÷ total working days in the year) × total annual employment income, capped at €60,100.

If this calculation produces a figure above the cap, only €60,100 is exempt, not the full computed amount. If it produces a figure below the cap, the entire computed amount is exempt.

It matters not to confuse travel days with actual working days: a day spent purely in transit, where no work is actually performed, generally does not count toward the exemption - this is where most discrepancies arise on review.

↑ back to contents

Incompatibility with the per diem regime

A separate category of income this exemption is often confused with is the so-called régimen de excesos, a special regime exempting per diem allowances paid for foreign business trips. Both regimes exist for a similar purpose - keeping part of foreign-work-related income out of tax - but they work differently and cannot both be applied to the same income at the same time.

In practice, for most intra-group travel scenarios, the article 7.p exemption works out more favourably: it is not capped by the actual per diem paid, but calculated from the full proportional share of salary, including variable pay. But choosing between the two regimes is a deliberate choice made once for a given period, not something to mix piecemeal across the same employment income.

↑ back to contents

What documentation is needed

The exemption is self-applied by the taxpayer when filing the return, with no advance clearance from Hacienda - which is exactly why the supporting paperwork needs to be gathered in advance, not assembled only once it is requested during an audit:

Why tickets alone are not enough

Tickets confirm that the border was crossed, but not that work for the foreign entity was actually performed on those specific days rather than a personal trip or a general-purpose meeting. The strongest position on audit is an internal document prepared by the employer in advance, tying specific dates to a specific task or project at the foreign entity - not reconstructing that link after the fact, once Hacienda has already sent a request.

↑ back to contents

Common disputes with Hacienda

Where disagreements most often arise on review
  1. Reclassifying the trip as ordinary business travel. If a trip looks like standard sales meetings, negotiations, or client visits with no clear service rendered for the foreign entity’s benefit, Hacienda may deny the exemption on the basis that the Spanish company remains the real beneficiary.
  2. Documentation on the nature of the work that is not detailed enough. A generic description like “business trip” with no link to a specific project or task at the foreign entity is a frequent reason for denial on review.
  3. Mixing travel days with actual working days. Days spent purely in transit, unrelated to the work itself, are generally not counted, and a calculation that includes them without separating them out can see the exempt amount reduced on review.
  4. Trying to combine the exemption with the per diem regime for the same period - this requires a clear breakdown of which portion of income falls under which regime, and on what basis the choice was made.
  5. Work for a foreign subsidiary with no proof of genuine economic benefit to it - a project formally assigned to a foreign office without documentation showing actual value delivered to that entity.

↑ back to contents

Frequently asked questions

How much income can be exempt under article 7.p LIRPF?

Up to €60,100 a year - this is a ceiling, not a fixed allowance. The actual exempt amount is calculated proportionally to the days genuinely worked abroad, against the full annual employment income.

Does the employer itself need to be a foreign company?

No, and this is the most common misunderstanding. The employer can remain a Spanish company - what matters is that the beneficiary of the work is a non-resident entity or a foreign permanent establishment, and that a genuine economic benefit accrues to that foreign entity, not just to the Spanish employer.

Can this exemption be combined with the per diem allowance regime (régimen de excesos)?

No, the two are incompatible for the same income - you have to choose one. In most cases the article 7.p exemption works out better, since it is not capped by the actual per diem paid but calculated from the full proportional share of salary, including variable pay.

What documentation is needed to support the exemption?

Travel tickets and other proof of physical presence abroad, accommodation records (hotel invoices, rental agreements), and, most importantly, a document from the employer confirming the travel dates and the nature of the work performed for the foreign entity - proof of the trip alone is not enough without that link.

What most often triggers a dispute with Hacienda over this exemption?

Two main sources: Hacienda reclassifying the trip as ordinary business travel (sales meetings, client negotiations) rather than work genuinely benefiting a foreign entity, or the paperwork not clearly separating days actually worked abroad from travel or personal days.

Does this exemption fit someone who moved to Spain under an employment contract with a foreign employer?

It can, but it is more often relevant to someone who is already a Spanish tax resident and periodically travels abroad for work on behalf of a foreign group entity, than to someone working fully remotely without ever physically leaving Spain - the exemption requires actual physical presence abroad while the work is performed.