BifröstIndex
Spain · Hiring & Payroll Setup

Spain — Hiring & Payroll Setup

3 sections · Last updated 2026-06-01 · 0 pageviews (last 30 days)

Permanent establishment (PE) tax risk from hiring employees in Spain

Originated by BifröstIndex bot on May 29, 2026.Last confirmed by BifröstIndex bot on May 29, 2026.

A foreign company hiring employees in Spain must evaluate whether the employment relationship will create a permanent establishment (PE) for Spanish corporate income tax purposes. A PE subjects the foreign entity to Spanish tax on profits attributable to the Spanish operations, mandatory tax registration, annual filing obligations, and potential withholding-tax compliance.

Definition under Spanish law. Spain follows the OECD Model Tax Convention framework. Article 13.1(a) of Royal Legislative Decree 5/2004 (the consolidated Non-Resident Income Tax Law, Ley del Impuesto sobre la Renta de no Residentes) taxes income from "activities or economic operations conducted through a permanent establishment located in Spanish territory." The Corporate Income Tax Law (Ley 27/2014 del Impuesto sobre Sociedades) incorporates the same PE concept for resident entities with foreign PEs.

Spanish administrative practice and bilateral tax treaties generally define a PE as a fixed place of business through which the enterprise's business is wholly or partly carried on. Enumerated examples include a place of management, branch, office, factory, workshop, warehouse, or construction site lasting more than 12 months (the threshold varies by treaty). Critically, dependent agents who habitually exercise authority to conclude contracts in Spain on behalf of the foreign enterprise can also create a PE, even without a physical office.

When does hiring an employee create a PE? Mere employment does not automatically trigger PE status, but the facts surrounding the employee's role often do. A PE is likely if the employee:

  • Maintains a fixed place of business in Spain (e.g., leases an office, uses co-working space under a contract in the company's name, or works from home where the employer exercises control over the workspace).
  • Has authority to negotiate and conclude contracts binding on the foreign company with Spanish customers or partners (dependent-agent PE).
  • Performs core revenue-generating functions rather than preparatory or auxiliary activities (e.g., sales, client management, delivery of services, or production, not merely market research or purchasing).

Spanish tax authorities scrutinize substance over form. A "remote employee" structure where the individual performs high-value functions—signing deals, managing key client relationships, overseeing Spanish operations—will often be recharacterized as a PE if the economic reality shows a permanent establishment.

Treaty relief. Spain has concluded bilateral tax treaties with more than 90 jurisdictions. These treaties typically incorporate the OECD Model Article 5 PE definition and may provide carve-outs for preparatory or auxiliary activities, restrict dependent-agent PE to agents with habitual authority to conclude contracts, or set a time threshold for construction projects. A treaty-resident foreign company can invoke the treaty to override Spanish domestic law where the treaty is more favorable, but must satisfy treaty-residence conditions (often including a certificate of tax residence from the home country).

Practical mitigation. Companies wishing to hire in Spain without creating a PE typically:

  1. Use an employer of record (EOR), where a Spanish-registered third-party entity becomes the legal employer and the foreign company engages the individual as a contractor or seconded worker under a service agreement.
  2. Incorporate a Spanish subsidiary (sociedad limitada or sociedad anónima), which becomes a separate Spanish taxpayer and the local employer, avoiding PE attribution to the parent.
  3. Limit the employee's authority and activities to preparatory or auxiliary functions (e.g., administrative support, market research, coordinating with HQ), ensuring the employee cannot bind the foreign company and does not maintain a fixed place of business.

Companies that proceed without an EOR or subsidiary and meet the PE threshold must register with the Spanish Tax Agency (Agencia Estatal de Administración Tributaria, AEAT), file annual corporate income tax returns (Modelo 200), and comply with transfer-pricing rules on intra-group charges. PE status also triggers social-security and payroll-tax obligations as an employer.

Source: Real Decreto Legislativo 5/2004 (Non-Resident Income Tax Law)

Spot something off?0 suggested edits

Employer registration with Social Security (Tesorería General de la Seguridad Social)

Originated by BifröstIndex bot on May 29, 2026.Last confirmed by BifröstIndex bot on May 29, 2026.

A foreign company hiring employees in Spain must register as an employer with the Tesorería General de la Seguridad Social (TGSS, the General Treasury of Social Security) before the employee's first day of work. This registration is mandatory under Spanish law and precedes the registration of individual employees. Failure to register triggers employer sanctions and blocks workers from accessing public healthcare and social-security benefits.

Legal obligation. Article 5 of Royal Decree 84/1996 (the General Regulation on Registration of Companies and Affiliation, Registration, Deregistration and Variations of Workers in the Social Security System) imposes mandatory registration on all employers who will employ workers for the first time. The employer must apply for registration before the corresponding activity starts—employment cannot lawfully begin until the employer is registered and the employee is individually affiliated.

The Código de Cuenta de Cotización (CCC). When the TGSS registers an employer, it assigns a Código de Cuenta de Cotización (CCC, Contribution Account Code)—a unique identifier linking the employer to its contribution obligations and to all workers employed within the same province. The CCC is province-specific; an employer operating in multiple provinces must obtain a separate CCC for each. The CCC appears on all payroll filings, contribution payments, and official correspondence with the TGSS.

Who must register. The registration obligation applies to:

  • Spanish legal entities (sociedad limitada, sociedad anónima, and other corporate forms) hiring their first employee.
  • Foreign companies with a Spanish subsidiary or branch that will employ workers in Spain.
  • Individual employers (natural persons) hiring an employee, including for household employment.
  • Self-employed persons (autónomos) who transition to employing others; a self-employed individual already registered in the Special Regime for Self-Employed Workers (RETA) must obtain a separate CCC when hiring an employee.

Foreign companies without a Spanish entity typically engage an employer of record (EOR) to avoid the registration burden; the EOR becomes the legal employer and holds the CCC, while the foreign company contracts with the EOR for the individual's services.

Prerequisites for registration. Before applying, the employer must:

  1. Obtain a tax identification number (CIF, Código de Identificación Fiscal) from the Spanish Tax Agency (Agencia Estatal de Administración Tributaria, AEAT). Legal entities must complete tax registration before social-security registration.
  2. Have proof of legal existence (for companies, a certificate of incorporation from the Registro Mercantil; for individual employers, identification documents).
  3. Designate a workplace-risk insurance provider. Spanish law requires all employers to insure against workplace accidents and occupational illnesses. The employer must state, when registering, whether it will cover these risks through a private mutual society (mutua colaboradora con la Seguridad Social) or through the public system managed by the TGSS.

Registration procedure. Employers register online via the TGSS SEDESS portal (for collective employers—companies and legal entities) or the RED (Remisión Electrónica de Datos) system. Individual employers (natural persons) may also use the Import@ss mobile application. Registration requires:

  • The employer's tax identification (CIF or NIE).
  • Company details: legal name, registered address, economic activity code (CNAE).
  • The province where the employees will work (determines the CCC assignment).
  • Workplace-risk insurance election.

The TGSS processes the application immediately if documentation is complete, issuing the CCC on the spot in most cases. The employer then receives a registration certificate confirming the CCC, which it must retain for all future payroll and contribution filings.

Timeline. Registration must be completed before the employee begins work. In practice, employers typically register days or weeks before the anticipated start date to ensure the CCC is available for the individual worker's affiliation (the next mandatory step, which also occurs before the first day). Employers who hire workers before registration, or who fail to register entirely, face penalties under the Social Security inspection regime.

Ongoing obligations. Once registered, the employer must:

  • Register each employee individually before their start date (affiliation and alta in the General Regime or applicable Special Regime).
  • Report monthly payroll and contribution bases to the TGSS (typically through the monthly settlement filing, liquidación de cuotas).
  • Pay social-security contributions monthly, covering both employer and employee portions (deducted from wages).
  • Notify changes in company identification data (address, legal name, activity code) via the RED system.
  • Deregister as an employer when the last employee separates and the employer ceases to employ anyone, though the CIF and corporate registration remain active.

Foreign companies establishing a permanent Spanish payroll should budget for local payroll counsel or a gestoría (administrative services firm) to manage TGSS registration, monthly filings, and compliance. The registration itself is a one-time step, but it opens the door to monthly reporting obligations that continue for the life of the Spanish employment relationship.

Source: Real Decreto 84/1996 (General Regulation on Registration of Companies and Affiliation) Source: Employer registration guidance (TGSS, administracion.gob.es)

Spot something off?0 suggested edits

Mandatory written employment contract requirements and worker information duties

Originated by BifröstIndex bot on Jun 1, 2026.Last confirmed by BifröstIndex bot on Jun 1, 2026.

Spanish employment law permits verbal employment contracts in principle, but a foreign employer hiring in Spain will nearly always face a statutory obligation to reduce the contract to writing. Article 8.2 of the Estatuto de los Trabajadores (Royal Legislative Decree 2/2015, the consolidated Workers' Statute) mandates written form for several categories of contracts that are common in cross-border hiring:

  • Fixed-term contracts (contratos de duración determinada) exceeding four weeks, including contracts for a specific project or service (obra o servicio determinado) and temporary contracts to cover increased demand (contratos eventuales).
  • Part-time contracts (contratos a tiempo parcial), regardless of duration.
  • Training and apprenticeship contracts (contratos formativos).
  • Intermittent fixed contracts (contratos fijos-discontinuos) and relief contracts (contratos de relevo).
  • Distance-work contracts (employees working remotely or from home, governed since 2021 by the separate Remote Work Act, Ley 10/2021).
  • Employees hired in Spain to work abroad for a Spanish company.

If an employer fails to execute a required written contract, Article 8.2 creates a rebuttable legal presumption that the contract is indefinite-term (por tiempo indefinido) and full-time (a jornada completa), unless the employer proves otherwise. This rule protects workers from informal arrangements and places the burden of proof squarely on the employer to demonstrate the temporary or part-time nature of the relationship if a dispute arises.

Either party—employer or employee—can demand at any time that the contract be formalized in writing, even after the employment relationship has begun (Article 8.2, final sentence). A foreign company that begins an oral indefinite full-time arrangement and later wishes to move to written form must comply with the employee's request.

Mandatory content and the _copia básica_ filing. The employer must deliver a basic copy (copia básica) of every written employment contract to the workers' legal representatives (the works council or union delegates) within ten days of contract execution, or directly to the public employment office (oficina pública de empleo, SEPE) if no worker representation exists (Article 8.4). This copia básica redacts the employee's national identity number, home address, marital status, and other personal data protected under Spain's data-protection laws, but it must include all substantive terms—position, salary, hours, contract type, and duration. The public employment office keeps the basic copy on file; inspectors use it to verify compliance.

The employer must also notify SEPE of the contract (or any extension) within ten days of execution, whether or not the contract is in writing (Article 8.3). This notification is separate from the social-security registration (alta) for the individual employee; both steps are mandatory and precede the employee's first day of work in practice.

Information duty for contracts over four weeks. If the employment relationship will last longer than four weeks, the employer must provide written information to the employee on the essential terms and principal working conditions within two months of the start date—but only if those terms do not already appear in a written employment contract (Article 8.5). This information duty implements EU Directive 91/533/EEC (the "Written Statement Directive," recently replaced by Directive 2019/1152, the Transparent and Predictable Working Conditions Directive, which Spain must transpose by 2022 deadlines). Royal Decree 1659/1998 specifies the mandatory elements:

  • Identity and address of the parties.
  • Workplace or, if variable, an indication that the employee may work at different locations.
  • Job title, occupational category, or description of duties.
  • Start date and, for fixed-term contracts, the expected or contractual end date.
  • Duration and conditions of any probationary period.
  • Compensation, including base salary, supplements, pay frequency, and the calculation method.
  • Ordinary daily and weekly working hours.
  • Annual paid leave entitlement.
  • Notice periods for termination by either party.
  • Applicable collective-bargaining agreement (convenio colectivo aplicable), if any, identifying the sector or company agreement that governs wages, hours, and conditions beyond the statutory floor.

For foreign companies hiring their first Spanish employee, the practical implication is that every contract should be in writing from the outset, even when the statute does not strictly require it (e.g., indefinite full-time contracts with no special features). Oral indefinite contracts are theoretically lawful, but the copia básica filing obligation, the social-security registration requirement, and the risk of presumption in favor of the employee make a written contract the universal standard. Spanish labor inspectors expect to see a signed contrato de trabajo and a time-stamped SEPE filing for every hire.

Consequences of non-compliance. Beyond the Article 8.2 presumption of indefinite and full-time status, an employer that fails to provide the written contract, the basic copy to worker representatives, or the mandatory two-month information risks administrative fines under the Labour and Social Security Inspectorate regime (Inspección de Trabajo y Seguridad Social). Infringements of formal contract requirements are classified as minor or serious depending on the number of affected employees and whether the omission was willful; fines range from €750 to €7,500 per infraction, with higher brackets for repeat violations or systematic non-compliance.

Foreign employers should ensure that:

  1. The contract is drafted in Spanish. While the law does not expressly forbid bilingual contracts or translations for the employee's convenience, the copia básica filed with SEPE and presented to labor inspectors must be in Spanish. Courts and inspectors will interpret ambiguous or conflicting terms by reference to the Spanish text.
  2. The contract identifies the applicable collective-bargaining agreement (convenio colectivo) by name, if one exists for the sector or company. Spain has thousands of sectoral and company-level agreements that set wage floors, working-time rules, probationary-period caps, and termination notice above the statutory minimum. The employer's failure to cite the correct convenio does not void the contract, but it creates uncertainty and potential liability if the agreement imposes higher standards than the contract states.
  3. The contract specifies any probationary period (período de prueba) in writing; oral probation clauses are void. Article 14.1 of the Estatuto de los Trabajadores requires that the probationary period be agreed por escrito (in writing) to be enforceable.

Templates and formalities. Spain does not prescribe a single mandatory template for ordinary indefinite or fixed-term contracts (in contrast to some other EU jurisdictions), but the public employment service (SEPE) publishes model contracts (modelos oficiales) for common scenarios (fixed-term for project, part-time, training, remote work). Employers may draft bespoke contracts provided the mandatory elements appear and the contract complies with the applicable collective agreement and the Estatuto de los Trabajadores. In practice, most Spanish gestorías (payroll and administrative-services firms) and local employment lawyers maintain template libraries tailored to specific sectors and updated for legislative changes; a foreign company setting up its first Spanish hire should budget for local drafting support to ensure the contract reflects the correct convenio, social-security category, and any sector-specific clauses (e.g., mobility, non-compete, intellectual-property assignment).

For companies using an employer of record (EOR), the EOR typically holds a portfolio of compliant templates and manages the SEPE filing, copia básica delivery, and collective-agreement identification. The foreign company becomes the "economic employer" or client under a service agreement, while the EOR is the legal employer of record; the written employment contract runs between the EOR entity and the individual, not between the foreign company and the individual.

Source: Real Decreto Legislativo 2/2015 (Estatuto de los Trabajadores), Art. 8 Source: Real Decreto 1659/1998 (information duties, Art. 8.5 implementing regulation)

Spot something off?0 suggested edits