Spain Digital Nomad Visa with Portuguese Payroll: How a Portuguese Employer Meets the Foreign-Employer Rule

Spain's Digital Nomad Visa requires that you stay employed by a company registered outside Spain. When your real employer has no entity that can do this, it can order your hire through a Portuguese payroll partner, which handles payroll and social security in Portugal while Relovisa prepares the UGE-CE compliance documentation, so you can base yourself in Spain without going autonomo or relying on a third-party EOR platform. This guide covers the five UGE-CE compliance points, the A1 versus TGSS choice and its timing, the Beckham Law election, and the side-by-side cost and eligibility comparison against Spanish autónomo, which is mutually exclusive with the arrangement rather than an alternative route to the same place.

Spain Digital Nomad Visa with Portuguese Payroll: How a Portuguese Employer Meets the Foreign-Employer Rule
In this guide
  1. Why Spain DNV Requires a Foreign Employer
  2. How the Portuguese Payroll Partner Works
  3. The Five UGE-CE Compliance Points
  4. Social Security: A1 Certificate vs TGSS Registration
  5. Tax Implications: Beckham Law Eligibility for DNV Holders
  6. Portuguese Payroll Partner vs Spanish Autonomo vs Third-Party EOR
  7. What the Documentation Package Looks Like
  8. Client Case: Software Engineer on Spain DNV (Anonymized)
  9. Sources

Spain's Digital Nomad Visa (DNV), introduced by Ley 28/2022 and processed by UGE-CE (Unidad de Grandes Empresas y Colectivos Estratégicos), requires that applicants remain employed by, or contracted to, a company registered outside Spain. That foreign-employer requirement is the eligibility gate most applicants struggle with: going autonomo in Spain fails it, and using a third-party EOR platform creates documentation gaps that UGE-CE increasingly flags in 2026. A Portuguese payroll company that is registered and operating in Portugal can satisfy every UGE-CE compliance criterion when your real employer orders the hire through it. Under this arrangement you sign a Portuguese employment contract with the payroll partner, it runs payroll and handles social security in Portugal, Relovisa coordinates the arrangement and the immigration file, and you live and work remotely in Spain on your DNV, within the rules as written and as enforced in 2026.

Why Spain DNV Requires a Foreign Employer

The DNV lives inside Spain's Entrepreneurs Law framework (Ley 14/2013 as expanded by the Startup Act, Ley 28/2022). The programme targets professionals working remotely for companies or clients based outside Spain who want to relocate physically to Spain. The core eligibility test: at least 80% of your professional activity during the DNV period must be for non-Spanish principals, and you must have worked in that capacity for at least three months before applying.

This requirement is structural, not incidental. If your income is Spanish-source, whether a Spanish employer, a Spanish subsidiary payroll, or Spanish clients above the 20% cap, you fail the test. Self-employed applicants have their own track: you apply as a self-employed professional with clients outside Spain, and you register as autónomo (RETA) only after approval, keeping Spanish clients under 20%. The foreign-source requirement must be maintained throughout the permit period, not just at application.

For employees, the clean solution is a real, active employment contract with a company that is genuinely registered and operating outside Spain. When your employer has no entity that can hold that contract, a Portuguese payroll partner can hold it on its behalf.

A remote workspace in Spain: the foreign-employer requirement is exactly what a Portuguese payroll contract satisfies

How the Portuguese Payroll Partner Works

Relovisa does not employ you itself. The employer is a Portuguese payroll company we work with as a partner: a Portuguese company with its own tax registration, social security registration, tax filings, Portuguese bank accounts, and staff payrolled in Portugal. It is not a shell: employment and payroll are its business, and it runs payroll for multiple employees, including D3 and Spain DNV clients. Partner company details are shared during your consultation.

The arrangement works in two configurations:

D3 configuration: clients resident in Portugal on a D3 Highly Qualified Professional visa are employed by the Portuguese payroll partner, which acts as their employer of record in Portugal. This configuration is covered in how the Portugal D3 works with an employer of record.

Spain DNV configuration: clients who obtain a Spanish DNV and live in Spain are also employed by the Portuguese payroll partner, but the employment is 100% remote, and payroll runs in Portugal. The client delivers the work their foreign employer ordered; the payroll company issues Portuguese payslips and handles Portuguese social contributions. This is the configuration this article covers.

The two configurations rely on the same Portuguese payroll partner, but the compliance logic differs at several points: primarily in social security coordination and how UGE-CE verifies the foreign-employer relationship.

The Five UGE-CE Compliance Points

UGE-CE has tightened document review in 2026; at a recent conference, UGE-CE explicitly stated it will cancel all applications submitted by a single fraudulent agent if one application from that agent is found to be fraudulent. The five criteria for the foreign-employer relationship are verified against real documentation:

1. Employer is registered outside Spain. The Portuguese payroll partner has Portuguese tax identification and registration. It has no Spanish entity, no Spanish CIF, and no Spanish establishment. All employment contracts, payslips, and entity filings are Portuguese-issued.

2. Job description is 100% remote. The employment contract specifies remote work performable from any EU member state. There is no Spain-based office, client site visit, or physical presence requirement in Spain tied to the job.

3. Foreign entity has existed for more than one year. UGE-CE requires the foreign employer to have been established for at least one year. The Portuguese payroll partner has been operating for well over a year, and the Certidão Permanente in the file shows it.

4. Foreign entity has real operational substance. This is the failure point for shell-employer setups. UGE-CE asks for company accounts, evidence of active operations, and employee headcount at the foreign entity. The Portuguese payroll partner has its own employees, files Portuguese corporate tax returns (IRC), pays Portuguese social security, and holds Portuguese bank accounts with transaction history. It passes the substance check that a newly created empty entity would not.

5. Income meets Spain's financial means threshold. Spain's DNV requires at least 200% of the Spanish SMI: €2,849/month with 12 monthly payments in 2026 (based on annual SMI of €17,094). The first additional family member adds 75% SMI (€1,068/month) and each further member adds 25% SMI (€356/month), whatever their age, so a family of three must show about €4,273/month. The gross salary in the Portuguese employment contract is the one your role actually pays, agreed with your employer, and it has to meet or exceed the applicable threshold. The salary is visible on three months of Portuguese payslips, which form a mandatory part of the UGE-CE submission.

What this structure is not. It is not a way to produce a foreign employer for someone who does not have one. The DNV exists so that professionals with genuine non-Spanish employment can live in Spain; the employment has to be real work for a real payer. That has a practical consequence on the salary figure: the contract has to reflect what the role actually pays. Adjusting the gross downward to fit a budget that does not match the role, or upward purely to clear €2,849 (12 monthly payments), is the kind of misalignment that surfaces at UGE-CE review and again when the permit is renewed against three years of payslips.


Does your situation fit these five criteria? The answer depends on your employment history, the nature of your current work, and what your employer or clients allow. Explore the Spain DNV product page →


Social Security: A1 Certificate vs TGSS Registration

Most DNV guides skip the social security question. It is the detail that creates the most administrative friction, and one of the top three rejection causes in 2026 (alongside non-compliant health insurance and missing apostilles).

When a Portuguese-employed worker lives and works remotely from Spain, two social security jurisdictions are technically in play. EU Regulation 883/2004 (social security coordination) resolves the conflict: an employee working remotely from an EU member state for an employer registered in another EU member state remains covered by the employer's home-country social security system, provided the arrangement is documented with an A1 posting certificate from that home country.

The A1 route: the Portuguese payroll partner, as the employer, applies to Portugal's Instituto da Segurança Social (ISS) for an A1 certificate for the Spain-based employee, and Relovisa coordinates the timing with the visa file. The A1 confirms Portuguese social security coverage and exempts the employee from Spanish TGSS registration during the certificate period. Typical processing is 4 to 8 weeks from a complete application, and the sequence matters: Portuguese social security enrollment through the payroll comes first, then the A1 application with the employment documentation and proof of Spanish residence. This is the standard route for arrangements up to 24 months and is the route Relovisa prefers: it keeps social security costs and filings entirely within Portugal, reducing the client's administrative exposure in Spain.

TGSS registration: For arrangements intended to run longer than 24 months, or where A1 eligibility is complicated by prior EU posting history (each A1 window is finite and prior periods in other EU states consume it), it is also valid to register the employee with Spain's TGSS under a foreign-employer convention. Spain's TGSS accepts registrations from foreign employers without requiring a Spanish legal entity. This is an equally legitimate route that UGE-CE accepts, but it creates a Spanish social security number and Spanish contribution obligations.

Relovisa advises which route fits based on the client's prior cross-border employment history and the intended duration of the DNV residency, as part of the employment contract setup process.

Tax Implications: Beckham Law Eligibility for DNV Holders

Spain's Régimen Especial para Trabajadores, Profesionales, Emprendedores e Inversores Desplazados, universally known as the Beckham Law (Article 93, Ley 35/2006, as amended by Ley 28/2022), lets qualifying new residents pay a 24% flat tax on Spanish-source income up to €600,000/year, instead of Spain's standard progressive rates (up to 47%), for the year of arrival plus the following five tax years: six years in total.

DNV holders are eligible for Beckham, provided they meet the five-year non-residency gate: you must not have been a Spanish tax resident in the five years immediately before moving to Spain. For most international applicants who have never lived in Spain, this is straightforward.

The critical filing window: the Beckham election (Modelo 149) must be filed within six months of Spanish Social Security registration, meaning six months from when the A1 certificate takes effect or TGSS registration is completed. This window does not reset and cannot be retroactively reopened. Missing it means losing the flat-rate benefit for that tax year permanently.

Income from a Portuguese employment contract qualifies. Employment income from a foreign employer is one of the qualifying income types under Beckham for the inpatriate employee category. A Portuguese employment contract generates employment income, not self-employment income, which matters for the Beckham income classification. Dividends or passive income from Spanish sources are taxed at normal rates even under Beckham, but the employment remuneration from the Portuguese payroll qualifies for the flat rate.

The combination (Portuguese payroll satisfying the DNV foreign-employer requirement, and Beckham Law reducing Spanish income tax to 24% for six years) makes the arrangement worth costing out with your employer on its own merits, not only for the immigration file.

For the Spanish tax mechanics and the double-taxation treaty interaction between Portugal and Spain, Relovisa recommends working with a Spanish tax advisor alongside the immigration filing. The immigration application and the Beckham election are separate procedures with separate deadlines.

Portuguese Payroll Partner vs Spanish Autonomo vs Third-Party EOR

Three paths are typically considered:

Spanish autónomo before approval. Registering as autónomo in Spain before you apply and invoicing as a Spanish self-employed person turns the income into domestic Spanish income and fails the DNV test. Autónomo is not a substitute for a foreign employer. It is, however, the normal post-approval step on the self-employed track: UGE-CE expects a self-employed DNV holder to register in RETA once the permit is granted, with Spanish clients kept under 20%.

Third-party EOR platforms (Deel, Remote, Oyster, and similar). These platforms are technically valid as foreign employers, and some applicants do use them for DNV applications. The gap is in the supporting documentation: third-party EOR platforms do not typically produce the entity substance evidence, company account excerpts, or historical payroll records that UGE-CE requests for the foreign-employer file. They also do not coordinate A1 certificates or TGSS registration as part of the engagement. The immigration applicant ends up assembling documentation across the EOR platform's compliance team, a separate A1 specialist, and their own lawyer: three providers with no shared view of the immigration file.

Registering as autónomo before applying, as a substitute for a foreign employer, fails the DNV test: it converts foreign-source income into domestic Spanish self-employment. That is separate from the self-employed track's own post-approval step, where RETA registration after the permit is granted is normal and expected, with Spanish clients kept under 20%. Several clients have come to Relovisa after a non-specialist adviser recommended "just register as autónomo," only to learn that the recommendation invalidates the foreign-employer basis their permit rests on.

Spanish autónomoPortuguese employment contract
DNV foreign-employer requirementFails it before approval as a substitute for a foreign employer; RETA after approval is normal on the self-employed trackMeets it: a Portuguese employer is a non-Spanish employer
Beckham Law (Art. 93 LIRPF)Self-employment income qualifies only under conditionsEmployment income qualifies cleanly under the inpatriate category
Social securitySpanish TGSS autónomo contributions, from roughly €300/month at the 2026 basePortuguese Segurança Social at standard employment rates, 11% employee and 23.75% employer
Who runs the filingsYou do, quarterlyThe Portuguese payroll does, monthly

A Portuguese payroll partner, coordinated by Relovisa. The payroll company is the employer and runs the cross-border employment; Relovisa coordinates it with the immigration file. The employment contract, three months of payslips, entity substance evidence, A1 certificate application, and full UGE-CE documentation are prepared as a single package. The recurring payroll relationship continues throughout the three-year initial DNV permit, simplifying the renewal filing (which requires proof of continued foreign employment). One team keeps the payroll documents and the immigration file in step.

What the Documentation Package Looks Like

A complete Spain DNV application through the Portuguese payroll partner includes:

  • Portuguese employment contract (remote-work clause, salary at or above DNV threshold, minimum contract duration covering the permit period)
  • Three months of Portuguese payslips (issued by the payroll partner)
  • Entity registration documents: Certidão Permanente showing >1 year of activity, company accounts excerpt confirming operational substance (partner company details are shared during your consultation)
  • A1 posting certificate issued by ISS Portugal (or TGSS pre-registration confirmation)
  • Apostilled documents from the applicant's country of nationality (for non-EU applicants)
  • Remote-work declaration confirming 100% remote activity for non-Spanish principals
  • Health insurance covering Spain, with zero copayments: this is the single most common rejection cause in 2026; standard international policies often carry copayments by default and must be verified before submission
  • Applicant CV establishing prior remote professional activity and client base outside Spain

Client Case: Software Engineer on Spain DNV (Anonymized)

A software engineer with eight years of experience, previously based in the Netherlands, approached Relovisa having spent one year in Spain on a tourist/Schengen basis and wanting to regularise. His employer was a UK-registered SaaS company that could not easily employ him directly in Spain.

The setup: his UK employer ordered the hire through the Portuguese payroll partner, which issued a Portuguese employment contract matching his UK-level compensation at €5,200/month gross (well above the €2,849/month with 12 monthly payments DNV threshold). An A1 certificate was obtained from ISS Portugal within 14 days. The full documentation package was assembled over three weeks. UGE-CE acknowledged receipt on day 22 and issued the DNV approval on day 38, within the 20-working-day target, before administrative silence would have triggered automatic approval.

The engineer filed Modelo 149 within the six-month window from his TGSS registration and entered the Beckham Law regime for the following six tax years. Net Spanish income tax on his €5,200/month salary: 24% on Spanish-source income, versus the 37-45% bracket he would have faced under standard progressive rates.


The Portuguese payroll partner we work with already runs social security registrations for Spain DNV engagements. Setup takes 3-4 weeks before UGE-CE submission. Start with the Spain DNV product page →


Sources

  1. Spain Ley 28/2022 de fomento del ecosistema de las empresas emergentes (Startup Act): DNV provisions; official BOE text; verified June 2026
  2. Spain Ley 14/2013 de apoyo a los emprendedores y su internacionalización: original DNV framework; verified June 2026
  3. Real Decreto 609/2023: UGE-CE procedural regulation for the digital nomad visa; verified June 2026
  4. Reglamento (CE) n.º 883/2004 del Parlamento Europeo y del Consejo: EU social security coordination, A1 certificate legal basis; verified June 2026
  5. AEAT: Régimen especial para trabajadores, profesionales, emprendedores e inversores desplazados a territorio español (Artículo 93 Ley 35/2006, Modelo 149); verified June 2026
  6. Tesorería General de la Seguridad Social (TGSS): foreign employer registration guidance; verified June 2026
  7. Instituto da Segurança Social (ISS) Portugal: A1 posting certificate issuance criteria; verified June 2026
Open the related route page →

FAQs

What five criteria does UGE-CE check for a Spain DNV foreign-employer relationship?
That the employer is registered outside Spain, the job is 100% remote, the foreign entity has existed for more than one year, it has real operational substance, and the income meets Spain's financial threshold of €2,849/month in 2026.
Can I use a Spanish autónomo registration to satisfy the DNV's foreign-employer requirement?
No. Autónomo generates domestic Spanish income, which fails the foreign-source test, and UGE-CE scrutinises attempts to maintain foreign client invoices while formally registered as autónomo.
How does social security work for a Portuguese-employed worker living in Spain?
EU Regulation 883/2004 lets the worker stay covered by Portuguese social security via an A1 certificate for arrangements up to 24 months, or register directly with Spain's TGSS for longer arrangements or when A1 eligibility is complicated by prior EU posting history.
Does income from a Portuguese employment contract qualify for Beckham Law?
Yes. Employment income from a foreign employer is a qualifying income type under Beckham's inpatriate category, though the Modelo 149 election must be filed within six months of Spanish Social Security registration.
How long does the A1 certificate take for a Spain DNV worker on a Portuguese contract?
Typically 4 to 8 weeks from a complete application, though individual cases have come back considerably faster. The A1 confirms Portuguese social security coverage under EU Regulation 883/2004 and exempts you from Spanish TGSS registration for its validity period, so it is worth starting as soon as the Portuguese payroll enrollment is done rather than waiting for the UGE-CE file to be assembled.
Can a DNV holder on a Portuguese contract also register as Spanish autónomo for the same income?
No, the two are mutually exclusive for that income. The genuine non-Spanish employer relationship is exactly what satisfies the DNV foreign-employer requirement, and registering as autónomo for the same income converts it into domestic Spanish self-employment income, which invalidates that basis. Clients have come to Relovisa after a non-specialist adviser recommended simply registering as autónomo, only to learn it undoes the eligibility their permit rests on.
What is the gap with third-party EOR platforms like Deel or Remote for a DNV file?
They are technically valid foreign employers, but they typically don't produce the entity substance evidence, company account excerpts, or historical payroll records UGE-CE requests, forcing applicants to assemble documentation across multiple uncoordinated providers.

Start with a clear route

Plan the route before you commit.

One free written check: your income and goals, a shortlist of countries and visas, and a clear next step from Olia.

Check my case for free

Free written check first · €40 live session, credited to your package