Transfer pricing: master file, local file and your defence
Last updated 22 September 2026 · Reviewed by Jaime Piñeira Pardo, lawyer registered with the ICAM bar, no. 138826 · English version of our Spanish guide.
The short answer
The master file and local file are the transfer pricing documentation your company must have ready by the Corporate Income Tax deadline (25 July if closing in December) and only submit if Hacienda (the Spanish tax authority) requests it. Form 232 in November is different. Managora prepares the documentation and files the forms for you.
We handle the whole procedure for you, from start to finish.
You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €250.00 (21% VAT included), plus the tasa (official fee) where there is one.
What is new, and the law that applies
- The guidelines of the 2026 Annual Tax and Customs Control Plan, approved by resolution of 11 March 2026 and published in the BOE (the Spanish Official State Gazette), once again place transfer pricing as a priority inspection area, focusing on restructurings, intragroup transfers of intangibles, royalties and intragroup services, repeated losses, related financial transactions and entities declared as low risk.
- These same guidelines announce that the review of the documentation will not only be formal: it will enter into the substantial analysis of functions, assets and risks, and the information from form 232 and that arriving through international exchange will continue to be used effectively.
- The Tax Agency maintains in 2026 the policy of promoting advance pricing agreements and recognises the strategic weight of mutual agreement procedures to eliminate double taxation within reasonable timeframes.
- The regulatory framework has not changed: art. 18 of the Ley del Impuesto sobre Sociedades and the articles of its regulation on documentation remain in force in 2026, with the 45 million threshold for the master file, the same 45 million threshold for the simplified content of the local file measured in the terms of art. 101 of the Act (that is, adding the group's turnover) and the 750 million group turnover threshold in the 12 months prior to the start of the tax period for the country-by-country report. What has increased is the intensity of the control.
- The Corporate Income Tax return forms for the 2025 financial year, which were submitted in July 2026, were approved by the Orden HAC/529/2026, of 7 May, which maintains the informative table of related-party transactions and the preliminary form for the standardised document.
What transfer pricing documentation must your company have?
Every transaction between related parties is valued at market price and the burden of proving it is yours. This proof is not a return submitted at a counter: it is a file that must be closed and kept, ready to be handed over if the Tax Inspectorate requests it.
The file has 2 parts. The group documentation, known as the master file, describes the entire group: structure and organisation, activities and markets, pricing policy, intangibles, financing and consolidated financial statements. It is only required when the group's turnover reaches 45 million euros. The taxpayer documentation, the local file, is for your company: who it is, what related-party transactions it has carried out, with whom, for how much, with what method, with what comparables and with what financial statements.
Below 45 million euros in turnover, the local file has simplified content: nature, characteristics and amount of the transactions, identification of the parties, valuation method used and comparables obtained. Pay attention to how this figure is measured, because it is the detail most often missed: the regulation defines it in the terms of art. 101 of the Ley del Impuesto sobre Sociedades (the Spanish Corporate Income Tax Act), so that when your company is part of a group, the turnover of all the group entities is added together, not just yours in isolation. A small subsidiary of a group that reaches 45 million cannot use the simplified content: it needs the full local file and, in addition, the master file. If your company is of a reduced size, it can comply with the standardised document approved by the Orden HAP/871/2016 (the Spanish Ministerial Order) and does not have to provide comparables, a condition that is measured with that same group calculation rule.
There are cases where specific documentation is not required: transactions between entities of the same tax consolidation group, transactions of economic interest groupings and temporary business joint ventures with their members (except those applying the exemption regime for foreign income), transactions in public offerings for the sale or acquisition of securities, and transactions with the same related person or entity when the total does not exceed €250,000 at market value. Being exempt from the documentation does not exempt you from the obligation to value at market price: if the Tax Inspectorate disputes the price, you will have to prove it anyway.
How does form 232 differ from the documentation you must keep?
They are 2 different obligations, with different contents and calendars. Form 232 informs Hacienda of what related-party transactions you have carried out, with whom, for how much and with what method. The documentation explains why that price is a market price. Submitting the form does not replace the file, and having the file does not free you from submitting the form.
Form 232 is submitted when the total transactions with the same related entity exceed €250,000, when the so-called specific transactions exceed €100,000, when transactions of the same type valued with the same method exceed 50% of the turnover (there is no minimum amount here), when the reduction for the transfer of intangibles to related parties is applied, and whenever there are transactions or securities in tax havens, without any threshold.
The calendar is the most frequent trap. The documentation must be available to the Administration from the end of the voluntary filing period for Corporate Income Tax, that is, from 25 July for companies closing on 31 December. Form 232 is submitted 4 months later, from 1 to 30 November, and has no extension. Anyone who starts preparing comparables in October to fill in the form is late for the obligation that is actually penalised.
If the turnover of the whole group reaches 750 million euros in the 12 months prior to the start of the tax period, there is a 3rd obligation: the country-by-country report, form 231, which is submitted by the parent company or the designated entity within the 12 months following the close. The threshold is not measured with the figure of the declared financial year itself, but with that of those previous 12 months. Furthermore, any Spanish entity in the group must communicate before the end of the financial year who is going to submit it and from which country.
Which valuation method should you use and how is it justified?
The law allows 5 methods: comparable uncontrolled price, cost plus, resale price, profit split and transactional net margin. When none fits, other generally accepted techniques can be used, such as discounted cash flow, explaining the magnitudes, rates and tasas (rates) used. The comparable uncontrolled price is the most direct when a reliable comparable exists; the net margin is the most used in distribution and services because data from comparable companies is available.
The choice is neither free nor aesthetic: it depends on the nature of the transaction, the availability of reliable information and the degree of comparability. This is proven with the comparability analysis, which compares characteristics of the good or service, functions assumed with their risks and assets, contractual terms, economic circumstances of the market and business strategies, and which must also include losses, location savings or synergies when they exist.
The functional analysis is the part that decides inspections. A contract stating that the Spanish subsidiary assumes inventory risk is invalid if the inventory is decided and financed by the parent company. The guidelines of the 2026 Tax Control Plan state it bluntly: the Agency will look at the documentation not only formally, but in the substantial analysis of functions, assets and risks.
When comparables are not perfect, the regulation allows the use of statistical measures to reduce the risk of error, and from there comes the eternal discussion about the median. The doctrine of the Central Economic Administrative Tribunal has established that the Administration resorts to the median when comparability defects persist, not systematically: if your price falls within a well-constructed arm's length range, no adjustment is appropriate. That is why the work of selecting and discarding comparables, documented step by step, is your best defence.
What happens if the Tax Inspectorate considers the price was not market value?
First comes the primary adjustment: the Administration corrects the value and increases the taxable base. This regularisation is documented in a report separate from the rest of the audit and gives rise to a provisional settlement, precisely because it affects more than 1 taxpayer.
Then comes the bilateral adjustment, which is what avoids paying twice for the same income. If the other related party is Spanish, the Administration regularises its situation ex officio once the settlement is final. If it is foreign, the adjustment is not automatic: it must be requested through the mutual agreement procedure provided for in the treaty, and the deadline to request it is 3 years from the day following the notification of the act causing the double taxation. Within the European Union, if the 2 administrations do not agree within 2 years, an advisory commission can be reached to decide.
There remains the secondary adjustment, the least known and the one that hurts the most. The difference between the agreed value and the market value is reclassified according to its nature: if it favours the partner, it is treated as remuneration of equity and participation in profits; if it favours the company, as a partner's contribution or, in the part that does not correspond to their percentage, as income for the entity and a liberality for the partner. It is avoided with the restitution of assets, provided it is justified before the settlement is issued.
A procedural detail worth knowing: if you appeal, the situation is notified to the other affected related persons or entities so they can appear; and if you do not appeal, the settlement is notified to them so they can do so jointly. The defence strategy is decided between the 2 parties to the transaction, not separately.
How much can you be fined for the documentation and how is it avoided?
There are 2 regimes. If documentation is missing, incomplete or contains false data, but the Administration does not correct the value, the fine is fixed: €1,000 for each piece of data and €10,000 for each set of data omitted or false, with a maximum limit equal to the lower of these 2 figures: 10% of the total amount of the related-party transactions carried out in the tax period, subject to Corporate Income Tax, Personal Income Tax or Non-Resident Income Tax, or 1% of the net amount of the turnover. The 10% percentage is not calculated on the company's entire billing, but on that set of transactions with related parties.
If, in addition to this breach, the Tax Inspectorate makes corrections, or if the value resulting from your own documentation is not what you declared, the fine becomes proportional: 15% of the amount of the corrections. This penalty is incompatible with the general infringements for failing to pay or for improperly crediting items in the part of the base that has already been penalised here.
And now the good news, which is the reason why this documentation is done well and on time: if you complied with the documentary obligation and the declared value is consistent with it, the corrections made by the Administration do not constitute an infringement for the adjusted base part. In practice, the file works like an insurance policy: you can lose the discussion about the price and not pay a penalty for it.
What counts as a piece of data and what counts as a set of data is not a matter of opinion: the regulation sets it block by block, both in the master file and in the local file. That is why a summarised document, made just to get by, multiplies the fine without anyone noticing until the requirement arrives.
Can the price be agreed with Hacienda before operating?
Yes, and it is the only way to have prior certainty. The advance pricing agreement allows the Administration to approve your method before carrying out the transactions. You can test the waters first with a brief preliminary request, identifying the parties, describing the transactions and anticipating the basic elements of the proposal: the Administration replies whether the agreement is viable.
The procedure must be resolved in 6 months and silence is understood as a dismissal. Neither this dismissal nor the resolution ending the procedure can be appealed on their own, although appeals against the settlements issued later always remain. The approved agreement applies to subsequent transactions and can cover up to the 4 tax periods following the current one, and also to unprescribed previous financial years for which there is no final settlement.
The agreement binds both parties: you apply it and submit every year, together with the tax return, a document on how it has been applied and whether the economic circumstances have changed. You can also request an agreement with the participation of the tax administration of the other country, which is what truly closes the risk of double taxation. The 2026 control guidelines confirm that the Agency maintains the policy of promoting these agreements.
When the doubt is not about valuation but about criteria (whether 2 entities are related, whether a transaction goes into form 232, how a restructuring is documented), the fast track is a written consultation to the Dirección General de Tributos (the Spanish Directorate General for Taxes), which binds the Administration and is resolved in 6 months. Managora drafts and submits it for you.
Does anything change if your company pays taxes in the Basque Country, Navarre or the Canary Islands?
Yes, and it is best not to mix them up. In Bizkaia, Gipuzkoa, Álava and Navarre, the Corporate Income Tax is not the state one: it is governed by their Normas Forales and by the Ley Foral navarra (the regional tax laws), with their own regulatory development, their own informative return for related-party transactions and their own electronic headquarters. The concepts are the same, because they all draw from the international standard, but neither the thresholds, the deadlines nor the penalty regime can be assumed to be identical without checking them in the regional regulations that apply to you.
In the Canary Islands, Ceuta and Melilla, the Corporate Income Tax is the state one, so the documentation, thresholds and penalties are those explained in this guide. What changes is the incentive: the Canary Islands Special Zone, the Canary Islands deductions or the bonus for Ceuta and Melilla reduce the bill, and precisely for this reason, transactions between a group entity located there and the rest of the group should be documented in the greatest detail, because the tax differential is exactly what an audit seeks to explain.
If your group operates simultaneously in common territory and in regional territory, the practical rule is simple: 1 single economic analysis, 2 compliance formats. The functional analysis and the comparables serve both administrations; the returns, deadlines and regulatory references do not.
Managora prepares the master file and local file for your group, submits form 232 and form 200 for Corporate Income Tax, and raises the binding consultation when the doubt is about criteria. You can see the updated amount in the file for each procedure.
Step by step
- 1
Draw the relationship perimeter(At the close of the financial year)
Partners with 25% or more, directors, family members up to the 3rd degree, entities of the same group and permanent establishments abroad. Without this map, the rest of the work is done on an incomplete list.
- 2
Inventory the year's transactions(January to March)
Group by counterparty, by type of transaction and by valuation method, separating income and payments without offsetting them. That same inventory decides what documentation applies to you and whether it goes into form 232.
- 3
Decide the level of documentation(Before starting to draft)
Master file if the group reaches 45 million in turnover. Full local file if your company reaches that same figure measured in the terms of art. 101 of the Ley del Impuesto sobre Sociedades, which adds the turnover of the whole group when the company belongs to one; simplified content is only possible if 45 million is not reached with that calculation, and the standardised document if it is a reduced-size entity. Specific transactions require full content even if the company is small.
- 4
Do the functional analysis(April to May)
Functions performed, risks actually assumed and assets used by each party, contrasted with the contracts and with what really happens in the company. It is the part the Tax Inspectorate reviews first.
- 5
Choose the method and look for comparables(May to June)
Justify why that method and not another, record the internal and external comparables, the search criteria and the discards, and establish the resulting arm's length range.
- 6
Close the master file and the local file(Before 25 July for companies closing on 31 December)
Both must be finished and available to the Administration when the voluntary period for Corporate Income Tax ends. They are not sent: they are kept and handed over if there is a requirement.
- 7
Submit the preliminary form if you use the standardised document(Before submitting form 200)
Reduced-size entities submit the related-party transactions form at the electronic headquarters before the tax return. The system returns a Corporate Reference Number (NRS), which starts with FOV, and which is entered on page 21 of Sociedades WEB when completing form 200.
- 8
Submit form 232(From 1 to 30 November, with no extension)
Informative return, with no quota to pay, detailing transactions by counterparty, type and method, plus the tax havens section if applicable.
- 9
Submit form 231 if the group reaches 750 million(12 months from the close of the financial year)
Country-by-country report of the parent company or designated entity, with income, results, taxes, workforce and assets by jurisdiction. The 750 million threshold is measured on the group's turnover in the 12 months prior to the start of the tax period. Beforehand, it must be communicated who will submit it.
- 10
Review and reuse the following year(Every financial year)
The documentation serves for subsequent financial years as long as it remains valid, with the necessary adaptations. What must be updated every year are the amounts, the comparables and any functional or contract changes.
A worked example
Spanish subsidiary of a European group. Consolidated group turnover: 60 million euros. Subsidiary turnover: €12,000,000. It buys finished product from the parent company for €3,000,000 a year. Financial year closed on 31 December 2025. In 2026, the Tax Inspectorate requires the documentation and 3 sets of data and 2 single pieces of data are missing.
- Master file: the group reaches 45 million, so the group documentation is mandatory.
- Local file: the subsidiary bills €12,000,000, but the figure deciding the content is measured in the terms of art. 101 of the Ley del Impuesto sobre Sociedades, adding that of the whole group (60 million). Simplified content is not possible: the local file must be full, with comparability analysis and economic-financial information.
- Form 232: €3,000,000 with the same related entity exceeds €250,000, so it is declared from 1 to 30 November 2026.
- Fixed fine for documentation, without value correction: 3 sets of data x €10,000 + 2 pieces of data x €1,000 = €32,000.
- Applicable limit: the lower between 10% of the related-party transactions for the financial year, €3,000,000 (€300,000), and 1% of the turnover, €12,000,000 (€120,000), that is, €120,000. The €32,000 fine falls below the limit and is maintained.
- Variant with adjustment: if the Tax Inspectorate also increases the taxable base by €400,000, the fixed fine is no longer applied but the proportional one: 15% of €400,000 = €60,000.
€32,000 penalty if the Tax Inspectorate does not correct the price and €60,000 if it also adjusts €400,000 of the base. With the master file and local file complete and consistent with what was declared, the subsidiary would not have paid a penalty in either of the 2 scenarios, even if it had lost the discussion about the price.
What documentation corresponds to you according to size
| Situation | Required documentation | Reference |
|---|---|---|
| Group turnover equal to or greater than 45 million euros | Full group documentation (master file) | Corporate Income Tax Regulation, art. 15 |
| Group turnover less than 45 million euros | No master file | Corporate Income Tax Regulation, art. 15.2 |
| Turnover equal to or greater than 45 million euros, measured in the terms of art. 101 of the Ley del IS (if the entity belongs to a group, that of the whole group) | Full local file, with comparability analysis and economic-financial information | Corporate Income Tax Regulation, art. 16.1 |
| Turnover less than 45 million euros with that same group calculation rule | Local file with simplified content (4 blocks) | Corporate Income Tax Regulation, art. 16.4 |
| Reduced-size entity | Standardised document at the electronic headquarters, without providing comparables | Orden HAP/871/2016, annex V |
| Transfer of businesses, properties, intangibles or unlisted shares | Full content, even if the company is small | Corporate Income Tax Regulation, art. 16.5 |
| Total transactions with the same related party up to €250,000 | No specific documentation is required (but valuing at market price is) | Ley del IS, art. 18.3 |
| Tax consolidation group, AIE and UTE with their members, OPV and OPA | No specific documentation is required | Ley del IS, art. 18.3 |
Forms, deadlines and where they are submitted
| Document | Who | Deadline | Where |
|---|---|---|---|
| Master file and local file | Whoever exceeds the documentation thresholds | Available from the end of the voluntary CIT period (25 July for 31 December closures) | Not submitted: handed over upon requirement by the Tax Inspectorate |
| Related-party transactions form (standardised document) | Reduced-size entities that use it | Before submitting form 200 | AEAT electronic headquarters, in Sociedades WEB; returns a Corporate Reference Number (NRS) starting with FOV |
| Form 200 (Corporate Income Tax) | All taxpayers of the tax | 25 calendar days following the 6 months after the close (1 to 25 July for 31 December closures) | AEAT electronic headquarters |
| Form 232 | Whoever exceeds the reporting thresholds | Month following the 10 months after the close (1 to 30 November for 31 December closures) | AEAT electronic headquarters |
| Form 231 (country-by-country report) | Parent company or designated entity of groups whose combined turnover reached 750 million euros in the 12 months prior to the start of the tax period | 12 months from the end of the tax period | AEAT electronic headquarters |
When form 232 must be submitted
| Case | Threshold |
|---|---|
| Total transactions with the same related person or entity | More than €250,000 at market value |
| Specific transactions (businesses, properties, intangibles, unlisted shares, modules) | More than €100,000 for each type |
| Transactions of the same type valued with the same method | More than 50% of the turnover, whatever the amount |
| Reduction for the transfer of intangibles to related parties | Whenever the reduction is applied |
| Transactions or securities in tax havens | No threshold: all are declared |
Penalties for related-party transactions documentation
| Situation | Penalty | Limit |
|---|---|---|
| Missing, incomplete or false documentation, without value correction | €1,000 per piece of data and €10,000 per set of data | The lower of these 2: 10% of the total amount of the related-party transactions for the tax period or 1% of the net amount of the turnover |
| Missing, incomplete or false documentation with value correction, or declared value different from that resulting from your documentation | 15% of the amount of the corrections | Incompatible with the general infringements of the Ley General Tributaria (the Spanish General Tax Act) for that part of the base |
| Full documentation and declared value consistent with it | No penalty for the correction | The corrections do not generate the general infringements for that part of the base |
Full local file versus simplified content
| Turnover equal to or greater than 45 million (calculated in the terms of art. 101 LIS: that of the whole group if the entity belongs to one) | Turnover less than 45 million with that same calculation | |
|---|---|---|
| Taxpayer information (organisation chart, strategy, competitors) | Mandatory | Not required |
| Description and amount of related-party transactions | Detailed | Mandatory, in brief format |
| Comparability analysis | Mandatory and detailed | Not required as such in the simplified content |
| Valuation method | Explanation of the choice and its application | It is enough to identify the method used |
| Comparables and range of values | Mandatory, with their source | Mandatory, except in the reduced-size standardised document |
| Economic-financial information and reconciliation with financial statements | Mandatory | Not required |
| Specific transactions (businesses, properties, intangibles, unlisted shares) | Full content | Full content: the simplified one does not apply |
| Group documentation (master file) | Required when the group reaches 45 million, which is the case for any entity in a group reaching that figure | Not required: below 45 million with the group calculation rule there is no master file |
Official forms and where it is filed
- Form 232. Informative return of related-party transactions and of transactions and situations related to tax havens (AEAT electronic headquarters) ↗
- Form 231. Country-by-country information return (AEAT electronic headquarters) ↗
- Specific documentation form for related-party transactions, standardised document of annex V of the Orden HAP/871/2016, which is submitted in Sociedades WEB before form 200 and returns a Corporate Reference Number (NRS) starting with FOV ↗
- Form 200. Corporate Income Tax return, on page 21 of which the Corporate Reference Number (NRS) of the standardised document is entered (AEAT electronic headquarters)
- Application for an advance pricing agreement for related-party transactions: written document without a numbered form, with proposal and documentation, submitted at the AEAT electronic registry
- Application to initiate a mutual agreement procedure to eliminate double taxation: written document addressed to the competent Spanish authority, within a period of 3 years
Frequently asked questions
Do I have to send the master file and the local file to Hacienda?
No. They are not submitted at any counter: they are prepared, kept and handed over when the Administration requires them. What is submitted is form 232 and, in groups of 750 million, form 231.
I have submitted form 232. Am I covered now?
No. Form 232 reports the transactions; the documentation justifies the price. It is the most frequent and most expensive mistake, because the penalty for documentation is not activated until the requirement arrives, when there is no longer time to prepare comparables.
My company is small. Am I exempt from all this?
Not entirely, and before considering yourself small, it is worth looking at how size is measured: the turnover that decides the simplified content is calculated in the terms of art. 101 of the Ley del Impuesto sobre Sociedades, so if your company belongs to a group, that of all the group entities is added together. A modest subsidiary of a group that reaches 45 million goes with a full local file. Below that threshold, the content is simplified, and reduced-size entities can use the standardised document without comparables. And if you transfer a business, a property, an intangible or unlisted shares, the documentation becomes full again, whatever your size.
When must the documentation be finished?
When the voluntary filing period for Corporate Income Tax ends: 25 July for companies closing on 31 December. From that day, the Tax Inspectorate can request it, and the requirement gives no margin to fabricate it.
Can I be fined even if they do not adjust my price?
Yes. If the documentation is missing, incomplete or has false data, the fine is €1,000 per piece of data and €10,000 per set of data, capped at the lower of these 2 figures: 10% of the total amount of the related-party transactions for the tax period or 1% of the net amount of the turnover. If there is also a value correction, the fine becomes 15% of the adjustment.
Hacienda has adjusted the price and the other company is in France. Do I pay twice?
You should not, but the adjustment in the other country is not automatic: it must be requested through the mutual agreement procedure of the treaty, with a deadline of 3 years from the day following the notification. Within the European Union, if the administrations do not agree within 2 years, the matter can go to an advisory commission. Managora prepares and submits the request for you.
We handle the whole procedure for you, from start to finish.
You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €250.00 (21% VAT included), plus the tasa (official fee) where there is one.
Related procedures
The price, the tasa (official fee) and the current deadlines are on each procedure page.
- Modelo 232: Related-party transactions and tax havensWe file your modelo 232 with the AEAT (Spanish Tax Agency) reporting related-party transactions (transfer p...
- Modelo 200: Impuesto sobre Sociedades (IS) (Corporate Income Tax return)We calculate and file your company's Modelo 200 for the IS (Corporate Income Tax) before the AEAT (Spanish ...
- BINDING written tax ruling request to the DGT (LGT arts. 88-89)We draft the written tax ruling request addressed to the Dirección General de Tributos (DGT, the Ministry o...
Related guides
- DAC6: declaring a cross-border arrangement (models 234, 235 and 236)
- Pillar Two: the Complementary Tax and forms 240, 241 and 242
- The country-by-country report: form 231 and prior notification
- The ETVE and the Spanish holding company: the article 21 LIS exemption
- Advanced corporate tax obligations: related-party transactions (232) and income attribution (184)
- Appealing to Hacienda: TEAR/TEAC, rectification and binding rulings
- Basque Economic Agreement and Navarre Agreement: where your company pays taxes
- Moving your company out of Spain: seat transfer and exit tax
Share this guide
If you found it useful, chances are someone you know needs it right now.