News & Articles

Financiero, 25/08/26

How To Attribute Income and Expenses to a Permanent Establishment


How To Attribute Income and Expenses to a Permanent Establishment

When a foreign company operates in Spain through a branch, an office, a construction project, a permanent sales team or an agent with authority to enter into contracts, a critical tax issue may arise: how to attribute income and expenses to a permanent establishment. It is not only a question of determining whether there is a presence in Spain, but also what portion of the profit must be taxed here and what documentation can be used to support that position before the Spanish Tax Agency.

At MGI Àmbit, a firm of lawyers and economists in Barcelona specialising in international taxation, we advise non-resident companies, multinational groups and expanding businesses that need to structure their activities in Spain correctly. Incorrect attribution of income or expenses can lead to tax adjustments, penalties, double taxation or disputes with the head office.

Quick summary

  • What is a permanent establishment: a stable economic presence of a non-resident in Spain through facilities, a fixed place of business or a dependent agent.
  • What is attributed: the income, expenses, assets, risks and functions linked to the activity carried out in Spain.
  • Key tax requirement: there must be separate accounting records and a defensible methodology.
  • Common risk: allocating expenses generically without substantiating their actual connection with the permanent establishment.
  • Required documentation: contracts, invoices, payroll records, management accounting, staff functions, allocation criteria and supporting documentation for related-party transactions.
  • Objective: to calculate a reasonable, consistent and defensible taxable base before the Spanish Tax Agency.

What it means to attribute income and expenses to a permanent establishment

Attributing income and expenses to a permanent establishment means separating, for tax purposes, which part of the economic activity relates to the Spanish presence and which part belongs to the head office or to other permanent establishments located in other countries.

A permanent establishment does not usually have legal personality separate from the head office. However, for tax purposes, it must be analysed as if it were a distinct economic unit: what functions it performs, what resources it uses, what risks it assumes, what assets it employs and what income it generates.

A sales-percentage allocation is not enough

One of the most common mistakes is to assume that a simple rule is sufficient: “if Spain generates 20% of sales, Spain bears 20% of all expenses”. That criterion may be insufficient or incorrect if it does not reflect the economic reality.

The attribution must be based on a functional analysis. For example, an office in Barcelona that only provides sales support should not receive the same profit attribution as a branch that negotiates contracts, provides services, employs technical staff, sets prices and manages clients independently.

Why this is a high tax-risk issue

Incorrect attribution of income and expenses may result in the profit declared in Spain being lower than it should be. During a tax audit, the Spanish Tax Agency may challenge the criteria used, reject expenses, increase the taxable base or request additional documentation on internal dealings with the head office.

For this reason, international companies operating in Spain should design a clear and consistent methodology from the outset. The taxation of a permanent establishment should not be improvised at year-end, once the accounts have already been closed and there is insufficient traceability.

Does your foreign company operate in Spain and you are unsure which income and expenses must be declared here? At MGI Àmbit we analyse your structure, actual activity and documentation to avoid unnecessary tax risks.

First: confirm whether a permanent establishment exists in Spain

Before attributing income and expenses, a preliminary question must be answered: does a permanent establishment actually exist in Spain? This analysis is essential because it completely changes the way the activity is taxed.

Common permanent establishment scenarios

A non-resident company may operate through a permanent establishment when it has, in Spain on a continuous or habitual basis, facilities, offices, places of management, branches, workshops, warehouses carrying out relevant activity, construction projects of a certain duration or any other place from which all or part of its activity is carried out.

A permanent establishment may also exist when a person acts in Spain on behalf of the foreign company with authority to enter into contracts and habitually exercises that authority. This scenario is particularly sensitive in international sales structures, dependent distributors, exclusive agents or sales teams that close transactions on behalf of the parent company.

Auxiliary activities versus core activity

Not every presence in Spain automatically creates a permanent establishment. Certain activities that are merely preparatory or auxiliary may fall outside this definition, especially when they do not in themselves generate an essential part of the business. However, this boundary must be analysed very carefully.

An office that only gathers market information is not the same as an office that negotiates prices, manages clients, provides technical services, coordinates deliveries and participates directly in generating income. Operational reality carries more weight than the formal name given to the office or local team.

Situation Permanent establishment risk What to review
Permanent sales office in Spain Medium/high Whether it negotiates contracts, closes sales or only carries out prospecting.
Agent with authority to enter into contracts High Actual authority, frequency of use and economic dependence.
Logistics warehouse Variable Whether it is auxiliary or forms an essential part of the business model.
Construction, installation or assembly project Depends on duration and treaty Duration, activity carried out and applicable double tax treaty.
Technical team assigned to Spain Medium/high Duration, functions, clients served and decision-making authority.

What income is attributed to the permanent establishment

The practical rule is clear: income connected with the functions, assets and risks of the activity carried out in Spain must be attributed to the permanent establishment. The analysis should not be limited to where the invoice is issued, but rather where the economic value is created.

Income from sales or services carried out from Spain

If the permanent establishment plays a decisive role in generating sales or providing services, that income must be attributed wholly or partly to Spain. This occurs when the local team acquires clients, negotiates terms, provides the service, manages delivery or assumes responsibilities towards the client.

By contrast, if the Spanish office only performs auxiliary tasks and the sale is generated, decided and fully executed from abroad, the attribution may be different. The key is to document precisely what the Spanish structure actually contributes.

Income linked to assets allocated to the permanent establishment

Returns generated by assets used by the permanent establishment must also be attributed to it: machinery, facilities, vehicles, equipment, licences, inventory or any other asset allocated to the Spanish activity.

If an asset is functionally linked to the activity of the permanent establishment, the income it generates and the associated expenses must be reflected in its separate accounts. The same applies to gains or losses arising from the disposal of allocated assets.

Internal income involving the head office or other establishments

In international groups, there may be internal dealings between the head office and the permanent establishment: staff secondments, technical support, use of assets, financing, internal services or cost sharing. These dealings must be analysed with particular care because they do not all receive the same tax treatment.

When the applicable double tax treaty allows certain internal dealings to be valued, they must be documented using arm’s-length criteria and economic consistency. The absence of a contract, functional support or valuation method can turn an apparently reasonable attribution into a weak point during a tax review.

What expenses can be attributed to the permanent establishment

Expenses attributable to the permanent establishment must satisfy a basic principle: they must relate to the activity carried out in Spain, be properly recorded in the accounts and be supported by documentation.

Direct expenses of the permanent establishment

These are the easiest expenses to substantiate because they are directly linked to the Spanish activity. They include, among others:

  • Salaries and social security contributions for staff assigned to the permanent establishment.
  • Rent for an office, premises, warehouse or operating centre in Spain.
  • Utilities, telephone services, software and tools used by the local team.
  • Travel expenses connected with Spanish clients or projects.
  • Professional services contracted in Spain: tax, employment, accounting or legal advice.
  • Depreciation of assets allocated to the activity of the permanent establishment.
  • Financial or banking expenses directly related to Spanish operations, where tax-deductible.

General management and administrative expenses

In addition to direct expenses, a reasonable portion of the head office’s general management and administrative expenses attributable to the permanent establishment may be deductible. This may include, for example, finance management, human resources, systems, compliance, general administration or international coordination costs.

These expenses cannot be allocated arbitrarily. They must be allocated using an objective and rational key applied consistently over time. The chosen criterion must reflect the permanent establishment’s actual use of the services.

Type of general expense Possible allocation criterion Recommended documentation
Group finance management Transaction volume, assets managed or time spent Annual budget, timesheets, organisational chart and service memorandum.
Human resources Number of employees or cases handled Staff list, payroll records and services provided to the Spanish team.
Systems and technology Active users, licences or actual platform usage Contracts, invoices, licences, usage reports and access records.
General management Time spent, revenue or gross margin Minutes, diaries, internal reporting and allocation criteria.
International marketing Campaigns used in Spain or leads generated Marketing plan, investment by market and attributable results.

Expenses that should not be attributed without prior analysis

Not every head-office expense can automatically be transferred to the permanent establishment. The following should be reviewed with particular care:

  • Shareholder or corporate structure expenses that do not benefit the permanent establishment.
  • Duplicate costs that are already recorded directly in Spain.
  • Internal payments for royalties, interest, commissions or technical assistance without sufficient support.
  • Expenses without an invoice, contract or evidence of actual provision.
  • Costs allocated using changing criteria or designed solely to reduce the Spanish taxable base.

Poorly documented attribution can result in tax adjustments, interest and penalties. At MGI Àmbit we help you design a robust methodology for allocating income and expenses between the head office and the permanent establishment.

Practical methodology for attributing income and expenses

The best way to avoid errors is to follow an orderly methodology. The objective is for every criterion to be explainable, quantifiable and defensible in an internal review, audit or tax inspection.

1. Perform a functional analysis

The functional analysis identifies what the permanent establishment actually does. It should answer specific questions:

  • Which people work in Spain and what functions do they perform?
  • Who negotiates contracts, sets prices or accepts orders?
  • What assets are used in Spain?
  • What risks are assumed by the Spanish structure?
  • What part of the service or product is delivered from Spain?
  • Which decisions are made at the head office and which in Spain?

2. Keep separate accounts for the permanent establishment

Separate accounting is essential. Without it, the company will not be able to demonstrate clearly which income and expenses relate to Spain. The accounts should make it possible to identify:

  • Income invoiced or attributable to the Spanish activity.
  • Direct expenses of the permanent establishment.
  • General expenses allocated from the head office.
  • Allocated assets and depreciation.
  • Internal dealings with the head office or other establishments.
  • Reconciliation between local accounts, group reporting and the tax return.

3. Define objective allocation keys

When an expense benefits several entities or territories, it must be allocated using a reasonable key. There is no single valid formula for every case. The key should be selected according to the nature of the cost.

Shared expense Most defensible key Higher-risk key
Senior management personnel costs Hours spent or actual responsibilities Equal allocation without supporting evidence
Corporate software Number of users or licences assigned Fixed percentage unrelated to usage
Global marketing Active campaigns by country and leads generated Allocation based on sales without analysing campaigns
Finance department Transactions, invoices or entities managed Manual allocation without records
Shared office or facilities Square metres, workstations or actual use Verbal estimate without documentation

4. Document internal dealings and transfer pricing

Dealings between the permanent establishment, the head office and other related parties must be analysed under related-party transaction rules where applicable. This requires consistency with the arm’s-length principle, economic support and sufficient documentation.

The documentation should explain what service is provided, who provides it, who benefits from it, how the price or cost allocation is calculated, what margin is applied and why that criterion is reasonable. The more complex the group, the more important it is to maintain a well-structured tax file.

5. Reconcile the tax return with internal reporting

Many discrepancies arise because the local accounts, group reporting and the tax return do not match. Adjustments are normal, but they must be explained. A good reconciliation should show:

  • Accounting result of the permanent establishment.
  • Positive and negative tax adjustments.
  • Non-deductible or limited expenses.
  • Internal dealings with the head office.
  • Amounts reported in the relevant tax form.
  • Documentary support for each material adjustment.

Checklist for correctly attributing income and expenses

This checklist helps determine whether the company has the minimum basis needed to support its tax attribution:

Control question Why it matters Risk if not met
Are separate accounts maintained for the permanent establishment? They make it possible to isolate income, expenses, assets and tax adjustments. The Spanish Tax Agency may challenge the entire taxable base.
Are the functions of the team in Spain documented? They define what profit should be attributed to the establishment. Risk of understating or overstating Spanish-source income.
Do direct expenses have invoices and supporting evidence? They demonstrate the reality of the expense and its connection with the activity. Expense may be non-deductible.
Are general expenses allocated using an objective criterion? It supports the reasonableness and consistency of the allocation. Adjustments due to arbitrary allocations.
Are there internal contracts or service memoranda? They support dealings with the head office and the group. Rejection of expenses or recharacterisation of income.
Is the applicable double tax treaty reviewed? It may change the PE analysis and the treatment of internal dealings. Double taxation or incorrect application of domestic rules.

Common errors when attributing income and expenses to a permanent establishment

Errors usually arise when a company expands internationally quickly but does not adapt its tax structure to the actual growth of the business. These are the most common.

Confusing invoicing with value creation

The fact that an invoice is issued by the head office does not mean that all the income belongs to the head office. If the Spanish team has acquired, negotiated or performed an essential part of the service, income may be attributable to the permanent establishment in Spain.

Allocating global expenses without a supporting memorandum

General administrative expenses may be deductible to the reasonable extent attributable to the permanent establishment, but simply applying a standard percentage is not enough. There must be a memorandum or other documentation explaining the criterion used and its consistent application.

Failing to review limitations on payments to the head office

Internal payments for royalties, interest, commissions or technical assistance are subject to specific rules and important limitations. Treating them as if they were ordinary invoices between independent companies can lead to significant tax adjustments.

Failing to consider related-party transactions

Dealings between the permanent establishment and the head office, other permanent establishments or group entities may be subject to related-party transaction rules. Overlooking this point is a common mistake in international groups that prepare transfer-pricing documentation only for companies, but not for branches or permanent establishments.

Failing to update the methodology when the activity changes

A methodology that is valid in the opening year may become obsolete if the permanent establishment begins hiring staff, assuming risks, managing clients or performing services that were previously carried out abroad. The attribution should be reviewed whenever the business reality changes.

If your company already operates in Spain through a branch, office or local team, now is the time to review whether the attribution of income and expenses is properly structured. An early tax review helps prevent future disputes.

Documentation the company should prepare

The tax attribution must be supported by real documentation. A company operating through a permanent establishment should retain, at a minimum:

  • Organisational chart of the group and the team in Spain.
  • Description of the functions of local staff and the head office.
  • Contracts with clients and suppliers.
  • Issued and received invoices linked to the Spanish activity.
  • Separate accounts for the permanent establishment.
  • Criteria for allocating general expenses.
  • Annual memorandum on the attribution of income and expenses.
  • Internal contracts or agreements with the head office.
  • Related-party transaction documentation where applicable.
  • Reconciliation between group reporting and tax returns in Spain.

Form 200, Form 206 and formal obligations

A permanent establishment must comply with accounting, registration and tax obligations similar to those of a resident entity, although with its own specific features. In practice, permanent establishments file the relevant Corporate Income Tax return, using Form 206 as the payment or refund document where applicable.

This means that the tax close should be prepared with the same discipline as that of a Spanish company: accounting reconciliation, tax adjustments, review of deductible expenses, instalment payments where applicable, supporting documentation and analysis of related-party transactions.

The importance of planning before year-end

Waiting until the end of the financial year to decide which income and expenses are attributable to the permanent establishment is poor practice. The attribution should be designed at the start of the activity or, at the latest, before the volume of transactions becomes material.

Advance planning makes it possible to configure cost centres, ledger accounts, invoicing processes, internal contracts and reporting systems that will make the tax position much easier to defend later.

When specialised advice is advisable

The attribution of income and expenses to a permanent establishment requires specialised advice when any of the following situations applies:

  • The foreign company has an office, branch, warehouse or permanent sales team in Spain.
  • There are seconded or locally hired employees working for Spanish clients.
  • The head office invoices Spanish clients, but part of the work is performed from Spain.
  • General management expenses are charged by the parent company to the permanent establishment.
  • There are internal dealings with other countries in the group.
  • There is uncertainty as to whether the Spanish activity is auxiliary or core.
  • The company wants to avoid double taxation or disputes between tax authorities.
  • A tax inspection, information request or review by the Spanish Tax Agency is approaching.

MGI Àmbit, specialists in international taxation and permanent establishments

At MGI Àmbit we help non-resident companies, international groups and expanding businesses structure their activities in Spain correctly. Our team combines tax, accounting and legal expertise to analyse whether a permanent establishment exists, calculate attributable income, document deductible expenses and prepare a robust defence before the tax authorities.

We work with companies that need to open a branch in Spain, review their invoicing model, attribute head-office costs, prepare related-party transaction documentation or comply with Non-Resident Income Tax obligations for a permanent establishment.

Do you need to attribute income and expenses to a permanent establishment in Spain? Contact MGI Àmbit and we will help you review your structure, tax risks and the documentation required to operate with confidence.

Conclusion

Attributing income and expenses to a permanent establishment is not a mechanical exercise. It requires understanding the actual activity, separating the accounts, documenting the allocation criteria and reviewing the tax rules applicable in Spain and under the relevant double tax treaty.

The key is for the attribution to be consistent with the economic reality. If the permanent establishment creates value, uses assets, employs staff, assumes risks or participates in performing contracts, that reality must be reflected in the taxable base reported in Spain.

With a robust methodology, the company can reduce risks, avoid double taxation and defend its position before the Spanish Tax Agency. With an improvised methodology, any allocation of income or expenses can become a source of tax dispute.

Frequently asked questions on how to attribute income and expenses to a permanent establishment

What income is attributed to a permanent establishment?+
Income linked to the actual activity carried out by the permanent establishment is attributed to it: sales, services, contracts performed from Spain, returns on allocated assets and gains or losses generated by assets linked to the Spanish presence.
What expenses can a permanent establishment deduct?+
It may deduct direct expenses of its activity in Spain and a reasonable portion of the general management and administrative expenses attributable to it, provided they are properly recorded, documented and allocated using objective and consistent criteria.
Is it mandatory to keep separate accounts for the permanent establishment?+
Yes. Separate accounting makes it possible to identify the income, expenses, assets and related-party transactions linked to the permanent establishment. Without orderly accounts, it is much more difficult to defend the taxable base reported in Spain.
Can head-office expenses be allocated to the permanent establishment?+
Yes, but only to the reasonable extent attributable to the permanent establishment and with sufficient support. The allocation must be based on objective criteria such as hours, employees, transaction volume, use of resources or any other key that reflects the actual benefit received.
What happens if too little income is attributed to Spain?+
The Spanish Tax Agency may adjust the taxable base of the permanent establishment, increase the income attributable to Spain, reject unsupported expenses and impose late-payment interest or penalties where it identifies tax non-compliance.
Are dealings with the head office considered related-party transactions?+
In many cases, yes, they must be analysed under related-party transaction rules. It is necessary to review Spanish law, the applicable double tax treaty and the economic documentation supporting prices, margins or allocation criteria.
What tax forms does a permanent establishment file in Spain?+
As a general rule, the permanent establishment files using the same return form as Corporate Income Tax taxpayers, subject to the specific rules of Non-Resident Income Tax and the relevant payment or refund document where applicable.
Can MGI Àmbit help review the tax attribution of a permanent establishment?+
Yes. MGI Àmbit advises international companies on permanent establishment taxation, attribution of income and expenses, separate accounting, related-party transactions, Non-Resident Income Tax, Forms 200/206 and international tax planning.
Do you have any questions about this topic?

Our team of expert advisors will help you resolve any problem related to our services.

Contact now


Barcelona
Rbla Catalunya, 98 5º 2ª
08008. Barcelona

Olesa de Montserrat
Mallorca, 11-13
08640. Olesa de Montserrat

T +34 933 233 100
ambit@ambitassessor.com

By Cienpies
legal and financial advisors logo2

MGI Worldwide is a network of independent audit, tax, accounting and consulting firms. MGI Worldwide does not provide any services and its member firms are not an international partnership. Each member firm is a separate entity and neither MGI Worldwide nor any member firm accepts responsibility for the activities, work, opinions or services of any other member firm. For more information visit www.mgiworld.com/legal.


Youtube Ambit  Linkedin Ambit  Twitter Ambit