There is a profile that reaches our desk most weeks, always with the same opening line: "the Beckham part is clear, I just need you to file the form." It rarely is. If you work remotely from Spain for a company that sits abroad and has nothing set up here, the hard part of your file is not the tax analysis. It is social security, and it is what decides whether you make the deadline at all. This guide explains why, and in what order to fix it.
The deadline is not your problem. Your registration is
The window to elect into the impatriate regime is six months from the start of activity date shown in your Spanish social security registration, or in the documentation that allows you, where applicable, to remain under your home country’s social security legislation. That is article 116 of the Income Tax Regulation, approved by Royal Decree 439/2007.
The counting error, believing the clock starts when you land, is covered in full in the six month Modelo 149 deadline trap. This guide assumes you have that point and moves to the next one, which almost nobody raises in time:
If the clock starts with your Spanish social security registration, and your employer is in Toronto, Austin or Zurich with no company or branch in Spain, who registers you?
The answer is nobody, yet. And until that is resolved you have no start of activity date, nothing to evidence the deadline with, and in practice no regime.
The general rule: you contribute in Spain from day one
Most people’s instinct is that because the company is foreign and the payroll runs abroad, social security stays where the employer is. It is the other way round.
The governing principle is lex loci laboris: a person carrying out employed activity in a territory is subject to that territory’s legislation. Within the European Union this is set out in article 11.3.a of Regulation (EC) 883/2004. With third countries you arrive at the same place through bilateral conventions and Spanish domestic rules.
This is not a posting, because nobody sent you: you moved. Nor is it activity in two states, because you work only from Spain. It is the ordinary case, and the ordinary case says Spain.
Two consequences worth being clear about from the start:
- Contributions belong to the Spanish system, at Spanish rates, which in the general scheme run at around 31% on the employer side. For an employer used to a different cost structure this is not an administrative detail. It is a budget conversation.
- Your non resident employer is obliged to withhold Spanish income tax. Article 76.1.d of the Income Tax Regulation requires non resident entities operating in Spain without a permanent establishment to withhold on the employment income they pay. It is not optional and does not depend on them having an establishment. It implies a Spanish tax number and the corresponding withholding filings.
Your employer has to register in Spain
This is the real work. Before an enrolment can exist in your name, a registered employer has to exist.
In broad terms that means obtaining the foreign company’s Spanish tax number, gathering and legalising its corporate documentation, registering it with the Spanish social security treasury as an employer without a place of business in Spain, obtaining the contribution account code, and from there enrolling you and contributing monthly. In parallel, setting up income tax withholding.
Two things are worth saying plainly.
The first is that this is not something you can complete on your own. The obligation belongs to the employer, and much of the documentation is their corporate paperwork.
The second is that the slow part is rarely the administrative one. What takes time is getting the finance department of a company that does not operate in Spain to understand why it must take on formal obligations in a country where it sells nothing, and to approve it. We have taken that conversation directly to foreign finance departments in several files, and it is precisely where a worker acting alone stalls for months. Months that, in this regime, are expensive.
A certificate of coverage is not your way out
Someone almost always proposes the elegant solution, sometimes the HR department itself: request a certificate of coverage from the home country and keep contributing there. It is tidy, it costs the company nothing, and in the situation described here it does not apply.
The certificate of coverage is the instrument of the temporary posting exception, not a general route for someone who has moved. It presupposes three things: an employer who sends, a worker who is sent, and a period with a start and an end date.
The forms themselves make this plain. The Spanish form used under the Canadian convention, E/CDN 3, is issued under articles 6.2 and 6.3 of the Convention, and its box asks literally:
“Will work in Canada from … to … in: the establishment / Government Service described below”
If you have moved to Spain with your family, registered your children locally and intend to stay, there is no end date to write and nobody has sent you. It is not a posting. It is a relocation, and relocations fall under the general rule.
This nuance is missed often because the label “certificate of coverage” sounds like a document that evidences your situation, when what it actually evidences is an exception that does not apply here.
If your employer is Canadian, ask which province
Where the home country is Canada there is an additional layer that almost nobody checks, and it can remove what little of the convention was left.
The Social Security Convention between Spain and Canada was signed in Madrid on 10 November 1986, with a later Protocol done at Ottawa on 19 October 1995. On the Canadian side it covers Old Age Security and Canada Pension Plan benefits.
Quebec is outside it. The Spanish labour, migration and social security office in Canada puts it in as many words:
“Neither healthcare nor the contributory pensions of the province of Quebec are included in the convention.”
The reason is that Quebec runs its own system, the Regime de rentes du Quebec, administered by Retraite Quebec and collected by Revenu Quebec, separate from the federal CPP. Quebec also signs its own social security agreements with third countries, more than thirty according to the Canadian revenue agency. Spain is not among them: the official list of bilateral conventions signed by Spain shows Canada and does not show Quebec, in a list that does distinguish sub national instruments where they exist.
What this changes in practice:
| If the Canadian attachment is to… | Effect |
|---|---|
| QPP (Quebec) | Periods contributed in Quebec cannot be aggregated towards a Spanish pension: there is no instrument that allows it. Counterpart abroad: Retraite Quebec. |
| CPP (federal) | Periods fall within the convention and can be aggregated in due course. Counterpart: Service Canada. |
| Either of the two | You will contribute in Spain regardless, because a certificate of coverage is not a way out where there is no posting. |
Put differently: the province does not change what has to be built, it changes what is lost along the way. It is a question to ask at the start, not at the end.
The self-employment shortcut that kills the regime
Faced with the friction of registering the employer, the temptation is obvious: register as self-employed in Spain and invoice the company. It solves the contribution question in an afternoon.
And it destroys the regime.
Article 93 requires that you do not obtain income that would be treated as obtained through a permanent establishment in Spanish territory, apart from the specific entrepreneurial activity and highly qualified professional cases the law itself provides for. As an employee your income is employment income and there is no issue. As a self-employed person invoicing from Spain there is economic activity in Spanish territory, and that puts you outside the regime.
Three consequences that are rarely spelled out:
- The bar applies for the whole tax year, not from the day you registered.
- It is not undone afterwards. Ceasing the activity later does not recover the year.
- It drags your employer in. It exposes them to a permanent establishment in Spain and, if the work is exactly what you did as an employee, it also raises an unlawful labour assignment issue.
The crossover with the 183 days, which is what bites
All of the above would read differently if there were no clock running in parallel. There is.
You are tax resident in Spain if you spend more than 183 days in Spanish territory during the calendar year, under article 9.1.a of the Income Tax Act. Residency is not apportioned: there is no split year. Once you cross the line you are tax resident for the entire year, with effect from 1 January.
And the impatriate regime attaches to the tax period in which the change of residence takes place and the five following periods. In other words, it has to cover precisely that year.
That is where the sequencing trap sits, and it is counterintuitive:
If the year closes without the election validly made, you are taxed as an ordinary resident on your worldwide income on the progressive scale, instead of the flat 24% on employment income up to 600,000 euros. And it does not roll over to the following year: the regime is tied to the move, and once that year counts as a year of Spanish residency there is no second arrival to point at.
What to do, and in what order
- Count your days of presence in Spain in the current calendar year, with real entry and exit dates. Establish whether this year is already your first year of tax residency.
- Open the conversation with your employer this week, not once everything else is settled. It is the critical path of the file and it depends on a third party.
- Ask for your employer’s exact jurisdiction: country and, in the Canadian case, province and contribution scheme.
- Do not register as self-employed as a stopgap, and do not accept an invoicing structure as a provisional solution.
- Confirm whether a bilateral convention applies and what it covers, without assuming a certificate of coverage will resolve anything where there is no posting.
- Fix the contribution structure before your first working day from Spain, if you are still in time. If you are already months in, this is the first thing to put in order.
When a professional opinion is worth it
This file crosses three areas that rarely sit with the same person: impatriate taxation, international social security, and the employment law of the home country. The expensive mistake is usually not inside any one of them. It is in the sequencing between them.
At BMC we build contribution structures for foreign employers with no place of business in Spain, dealing directly with their finance departments, and coordinate them with the impatriate regime calendar. If this is your situation and you have been in Spain for months without registration, the useful conversation is now.
Sources
- Ley 35/2006 Spanish Income Tax Act, arts. 9 and 93, BOE-A-2006-20764
- Royal Decree 439/2007, Income Tax Regulation, arts. 76.1.d and 116, BOE-A-2007-6820
- Ley 28/2022 on the promotion of the emerging companies ecosystem, BOE-A-2022-21739
- Regulation (EC) 883/2004, art. 11.3.a, and Regulation (EC) 987/2009, art. 21, on the coordination of social security systems in the European Union
- Social Security Convention between Spain and Canada, Madrid, 10-11-1986, BOE-A-1987-26863, and Protocol, Ottawa, 19-10-1995, BOE-A-1997-2747
- Spanish Ministry of Labour, labour, migration and social security office in Canada, social security briefing
- Form E/CDN 3, certificate relating to the applicable legislation, Spanish Social Security
Get analysis like this in your inbox
Subscribe to BMC Insights: regulatory updates, tax analysis and opportunities for your business.