Home → Corporate → Fiscal Representative in Spain
Foreign companies · Spain

Fiscal Representative in Spain for foreign companies.

A foreign company may need a Spanish representative for VAT, non-resident taxation or Social Security, but these are different legal obligations. A company can employ staff in Spain without creating a Spanish subsidiary or, necessarily, a permanent establishment — while still having Spanish payroll and Social Security obligations.

International tax Cross-border advice for foreign companies operating in Spain
Foreign employers NIF, Social Security, payroll and employee registrations
Permanent establishment Spanish domestic law and applicable tax treaty analysis
Madrid · Spain Advice led by Spanish tax and international lawyers
Start with the legal test

Which Spanish registration does your foreign company actually need?

“Fiscal representative” is often used as if it were one single concept. Under Spanish law it is not. VAT representation, non-resident tax representation, Social Security representation and payroll registration have different triggers and different consequences.

01 / VAT

Spanish VAT activity

A business established outside the EU that becomes subject to Spanish VAT obligations may have to appoint a Spanish representative, subject to the statutory exceptions for jurisdictions with equivalent mutual-assistance arrangements.

02 / IRNR

Permanent establishment

A foreign company operating through a Spanish permanent establishment may have a separate representation obligation under the Spanish Non-Resident Income Tax Law.

03 / EMPLOYER

Employees in Spain

A foreign company can hire employees in Spain without incorporating a Spanish subsidiary. This normally requires Spanish identification, Social Security employer registration and payroll compliance.

04 / NONE

No Spanish registration yet

Having Spanish clients or an employee occasionally working from Spain does not automatically mean that every Spanish tax registration applies. The underlying facts determine the answer.

Four separate workstreams

What foreign companies need to operate correctly in Spain.

The right structure depends on the company's country of residence, Spanish activity, workforce, contracting model and whether the activity creates a taxable presence in Spain.

01

VAT Fiscal Representation

Law 37/1992 · Art. 164

Businesses established outside the European Union that carry out transactions giving rise to Spanish VAT obligations may be required to appoint a representative established in the Spanish VAT territory.

The statutory rule contains exceptions, including where the business is established in a jurisdiction with mutual-assistance instruments comparable to those operating within the EU. EU-established businesses generally do not require a Spanish VAT representative simply because they register for VAT.

Spanish VAT registration Non-established business Modelo 036 VAT compliance
02

Non-Resident Tax Representation

TRLIRNR · Art. 10

Spanish non-resident tax law imposes a separate representation obligation on certain taxpayers resident outside the EU and qualifying EEA jurisdictions. One of the principal cases is a foreign company operating in Spain through a permanent establishment.

Other specific cases can also trigger the appointment obligation. The representation analysis therefore has to be made under the Non-Resident Income Tax Law independently from the VAT analysis.

Permanent establishment IRNR Tax representation Third-country companies
03

Foreign Employer Registration

NIF · TGSS · CCC · Payroll

A foreign company can employ staff physically working in Spain without first incorporating a Spanish subsidiary. Where Spanish Social Security applies, the foreign employer normally needs a Spanish NIF, employer registration with the General Treasury of Social Security and the corresponding Contribution Account Code.

For foreign companies without a Spanish workplace, Social Security requires the appointment or empowerment of a legal representative with an address in Spain. Employee registrations, monthly payroll and Social Security filings then follow the normal Spanish employer cycle.

Spanish NIF TA.6 CCC Social Security Payroll
04

Payroll Withholding

IRPF · Foreign employers

The absence of a Spanish permanent establishment does not automatically remove Spanish payroll withholding obligations.

Spanish withholding rules expressly include non-resident persons and entities operating without a permanent establishment in relation to employment income they pay. The employee's tax residence, place of work, applicable special tax regime and treaty position must therefore be analysed separately from the corporate permanent-establishment question.

Spanish payroll tax IRPF withholding Modelo 111 Modelo 190
UK companies after Brexit

UK employer. Spanish workforce. No Spanish subsidiary.

A UK company can in principle remain the direct employer of personnel working in Spain without creating a Spanish company merely for payroll purposes.

The employer may nevertheless need a Spanish NIF, a representative for Social Security purposes, a Contribution Account Code, employee registrations, payroll withholding and ongoing labour and Social Security compliance.

VAT is a separate question. Following Brexit, a UK company is treated as established outside the EU for Spanish VAT purposes. Where it is required to register for Spanish VAT, the Spanish representative rules for non-EU businesses must be reviewed separately.

Important Registering as a Spanish employer does not, by itself, create a permanent establishment. The permanent-establishment analysis depends on what the company and its employees actually do in Spain.
Foreign employer setup

Hiring in Spain without incorporating a Spanish subsidiary.

For many international companies, the correct first step is not a Spanish SL. It is a properly documented foreign-employer registration, followed by Spanish payroll and Social Security compliance.

01
Spanish NIF

Identification of the foreign legal entity before the Spanish authorities.

02
Spanish representation

Power of attorney and local representation where required for Tax Agency, Social Security and digital procedures.

03
Employer registration and CCC

Registration with the General Treasury of Social Security and obtaining the applicable Contribution Account Code.

04
Employee onboarding

Spanish employment documentation, Social Security registrations and employment-start coordination.

05
Payroll and withholding

Spanish payroll, Social Security contributions and applicable employment tax filings.

06
Permanent-establishment review

A separate review of the Spanish activities, decision-making functions and applicable Double Tax Treaty.

Permanent establishment

Payroll registration is not the same thing as a taxable presence.

A Spanish employer registration is an administrative consequence of employing people in Spain. It does not decide whether the foreign company has a permanent establishment. That question depends on the underlying activity and the applicable tax treaty.

Fixed place of business

Risk may arise where the foreign enterprise has premises or another fixed place in Spain through which its business is carried on.

Home-office arrangements

An employee's home can require analysis where its use is continuous, commercially significant and effectively at the disposal of the foreign enterprise. The factual circumstances matter.

Contracting activity

Risk increases where Spain-based personnel habitually conclude contracts, or perform functions that fall within the dependent-agent provisions of the applicable treaty.

Management and decision making

Senior executives or founders taking material strategic decisions from Spain can raise issues beyond permanent establishment, including the tax residence of the foreign company itself.

Double Tax Treaty

The final conclusion cannot be reached solely under Spanish domestic law. The permanent-establishment article of the relevant treaty must also be tested.

Structure comparison

Foreign employer, permanent establishment or Spanish subsidiary?

Structure Legal entity Spanish corporate tax Payroll withholding Social Security Representation
Foreign employer without PE The foreign company remains the employer. No Spanish corporate tax merely because of the employer registration. PE risk remains a separate factual test. May apply even without a PE. Spanish registration normally required where Spanish Social Security applies. Local Social Security representation may be required; VAT and IRNR representation are separate tests.
Permanent establishment / branch No separate legal personality from the foreign parent. Spanish tax applies to profits attributable to the PE under the applicable rules. Spanish payroll obligations normally apply. Spanish employer obligations normally apply. Non-resident tax representation may be mandatory depending on residence and the statutory rules.
Spanish subsidiary Separate Spanish legal entity. Subject to Spanish Corporate Income Tax. The applicable rate depends on the entity's circumstances and current legislation. Spanish payroll withholding applies. Spanish employer obligations apply. The Spanish company acts in its own name; no foreign-company representative is needed merely because its shareholder is foreign.
FAQ

Questions foreign companies ask before entering Spain.

Do I need a fiscal representative in Spain just to hire employees?
Not necessarily a tax representative. A foreign company can hire employees in Spain without creating a Spanish subsidiary or automatically creating a permanent establishment. However, Spanish employer and Social Security registrations may be required, and a foreign company without a Spanish workplace may need a legal representative with an address in Spain for Social Security purposes.
Can a foreign employer have Spanish payroll withholding obligations without a permanent establishment?
Yes. The absence of a Spanish permanent establishment does not automatically remove payroll withholding obligations. Spanish withholding rules expressly contemplate non-resident persons and entities operating without a permanent establishment in relation to employment income they pay. The employee's tax residence, place of work and any applicable special tax regime must also be considered.
Does a UK company need a fiscal representative for Spanish VAT after Brexit?
A UK company is treated as established outside the European Union for Spanish VAT purposes. Where it carries out transactions requiring Spanish VAT registration, the representative requirement applicable to non-EU businesses must be considered. Current Spanish Tax Agency guidance states that non-EU businesses must appoint a Spanish VAT representative unless the statutory mutual-assistance exception applies.
Does registering with Spanish Social Security create a permanent establishment?
No, not by itself. Employer registration with Spanish Social Security is an administrative consequence of employing workers covered by the Spanish system. Permanent establishment depends on the company's actual business activity in Spain and the applicable Double Tax Treaty.
Can a remote employee working from home create a Spanish permanent establishment?
Potentially, but not automatically. Relevant factors include whether the home is effectively at the company's disposal, whether the arrangement is continuous and commercially required, the employee's functions and contracting authority, and the wording of the applicable tax treaty.
Can a UK or US company employ staff in Spain without creating a Spanish company?
Yes, in principle. A foreign legal entity can remain the direct employer while registering with the Spanish authorities as a foreign employer. The company may require a Spanish NIF, Social Security registration, a Contribution Account Code, local representation and Spanish payroll compliance. The permanent-establishment position should be analysed separately.
What is the difference between a fiscal representative and a Social Security representative?
They arise from different legal regimes. A VAT or non-resident tax representative acts in relation to tax obligations under the relevant tax legislation. A representative appointed for a foreign employer's Social Security registration acts in connection with the company's employer and contribution obligations before the General Treasury of Social Security.
Should we open a Spanish branch or incorporate a Spanish subsidiary instead?
Not necessarily. Some foreign companies can operate with a foreign-employer registration only, while others need or prefer a branch or Spanish subsidiary because of their level of activity, commercial presence, liability profile or permanent-establishment exposure. The appropriate structure should be selected after reviewing the actual Spanish operating model.
Jorge Lacasa Alesón, Spanish tax and international lawyer
Legal review

Jorge Lacasa Alesón

Spanish Tax & International Lawyer · ICAM nº 135311 · Law Cappital

Legally reviewed
October 2026
Foreign company · Spain

Tell us what your company plans to do in Spain.

Share the country of incorporation, Spanish activity, number and functions of employees, expected start date and whether you already have a Spanish NIF, VAT registration or permanent-establishment analysis. We can identify which registrations actually apply before the structure is implemented.

Share your case