HomeInbound Investment Structure in Spain: Tax and Corporate Optimisation

Inbound Investment Structure in Spain: Tax and Corporate Optimisation

A mid-sized technology group headquartered in the United States identified Spain as a growth market. The founders had built a profitable SaaS business and were ready to deploy capital into a Spanish operating entity. Their assumption was straightforward: incorporate a Spanish company, transfer the intellectual property licence, and begin generating revenue. In practice, every step carried structural consequences they had not anticipated.

Structuring inbound investment in Spain requires aligning Spanish corporate legislation with applicable tax treaty provisions and EU parent-subsidiary rules before any entity is incorporated. The choice between a Sociedad Anónima (SA, a public limited company under Spanish corporate legislation) and a Sociedad de Responsabilidad Limitada (SL, a private limited company) affects capital requirements, governance flexibility, and investor exit options. Decisions taken at incorporation stage determine the efficiency of profit repatriation, the exposure to withholding tax on dividends, and the risk of triggering a permanent establishment in Spain before the structure is ready.

This case study outlines the challenge the client faced, the strategy the firm deployed, the complications that arose during execution, and three transferable lessons for international investors entering Spain.

Client profile and the challenge

The client was a Delaware-incorporated holding company with subsidiaries in two EU member states. The Spanish expansion was intended to serve Iberian and Latin American markets from a single hub. The initial plan called for a branch office to test the market before committing to a full subsidiary. The client's in-house team flagged two concerns: the branch would constitute a permanent establishment for corporate income tax purposes from day one. Additionally. Profits attributed to that establishment would be taxed in Spain with no structural mechanism to repatriate them efficiently.

A second complication arose from the intellectual property asset. The group held its core software IP in a US entity and intended to licence it to the Spanish operation at an arm's-length royalty. Under Spain's corporate income tax rules, royalty payments to a related party in a non-EU jurisdiction attract withholding tax at source. The applicable US-Spain tax treaty reduced but did not eliminate that withholding. The client had not budgeted for this cost and had not modelled the impact on unit economics across a five-year horizon.

The third challenge was timeline. The client's commercial team had already signed a letter of intent with a Spanish distribution partner and needed a fully operational Spanish entity within ten weeks. That pressure compressed the window for structural analysis and required parallel workstreams on corporate formation, tax registration, and contract negotiation.

Strategy and rationale

The firm advised against the branch structure. A Spanish SL was incorporated instead. The SL offered limited liability, lower minimum capital requirements than an SA, and a more flexible governance model suited to a wholly owned subsidiary. The incorporation required execution of the founding deed before a Notario (Spanish notary), followed by registration in the Registro Mercantil (Commercial Register). Both steps were completed within the first three weeks.

On the tax side, the firm structured the holding layer through an existing EU subsidiary in a member state with a favourable parent-subsidiary treatment and a comprehensive tax treaty network. Dividend flows from the Spanish SL to the EU holding company could be exempted from Spanish withholding tax under the EU Parent-Subsidiary Directive, provided the participation threshold and minimum holding period requirements were satisfied. This eliminated the withholding tax leakage that would have applied to direct US-to-Spain dividend flows.

For the IP licensing question, the firm worked with the client's US advisers to document an arm's-length royalty consistent with transfer pricing principles under Spanish corporate income tax legislation. Spain's tax authority, the Agencia Estatal de Administración Tributaria (AEAT, the Spanish Tax Agency), scrutinises intra-group royalty arrangements with particular attention to documentation quality. A contemporaneous transfer pricing study was prepared before the first royalty invoice was issued. This did not eliminate withholding tax on the residual US-bound payments, but it reduced audit risk substantially and gave the client a defensible position before any AEAT enquiry.

For further context on how corporate and tax considerations intersect for foreign-owned Spanish entities. See our tax law services in Spain. This cover the full range of advisory support available at each stage of the investment lifecycle.

Key milestones and complications

Week one through three covered entity formation. The SL was incorporated, the Notario executed the founding deed, and the Registro Mercantil filing was completed. A Spanish tax identification number was obtained simultaneously, enabling the entity to open a bank account and receive the initial capital contribution.

Week four brought the first complication. The EU holding company that was intended to hold the Spanish SL shares had not maintained the minimum participation for the required holding period under the Directive. The exemption from Spanish withholding tax was therefore unavailable immediately. The firm restructured the timeline: the EU holding company acquired the SL shares at incorporation, beginning the holding period clock. Interim dividend distributions were deferred until the exemption conditions were met. The commercial timeline was not affected because the SL began operating independently of the dividend structure.

Week six raised a tax residency question. One of the US founders intended to spend extended periods in Spain managing the subsidiary. Under Spanish tax legislation, physical presence beyond a defined threshold in a calendar year can trigger personal tax residency in Spain. The firm advised on the management of presence days and the documentation required to demonstrate that the individual's centre of vital interests remained outside Spain. The Tribunal Supremo (Supreme Court of Spain) has addressed this question in several lines of cases, consistently applying an economic ties test alongside the day-count rule. The founder adjusted travel patterns accordingly.

Week eight saw a transfer pricing audit signal. The AEAT issued a routine information request to the SL regarding its intra-group transactions. The transfer pricing documentation prepared in week two provided a complete and contemporaneous response. The request was closed without further escalation.

By week ten, the SL was operational, the distribution contract was signed, and the corporate income tax registration was in order. The EU holding structure was in place, with the holding period running. The client's corporate law position in Spain was clean and audit-ready from the outset.

Transferable lessons

The first lesson is that holding period planning must precede incorporation, not follow it. Many international investors assume that the EU Parent-Subsidiary Directive exemption is available immediately. It is not. The minimum participation threshold and the holding period requirement are conditions precedent, not formalities. If the EU holding entity has not held the required participation for the required period, Spanish withholding tax applies to dividends. Restructuring after incorporation to fix this adds cost and delay. The correct approach is to map the dividend chain before the first share is issued.

The second lesson concerns transfer pricing documentation. Spain's corporate income tax legislation requires that intra-group transactions be documented at the time they occur, not when the tax authority asks. Contemporaneous documentation is the difference between a routine information request and a full audit. International clients who rely on informal arrangements or post-hoc reconstructions create exposure that a defensible transfer pricing study would have avoided entirely. The cost of preparation is a fraction of the cost of an AEAT audit.

The third lesson is entity choice. The SL and the SA serve different investor profiles. An SA requires higher minimum capital and carries more rigid governance requirements. It is appropriate where a public offering or institutional co-investment is contemplated. An SL is suited to a wholly owned subsidiary or a joint venture with defined governance rules. Choosing the wrong form at incorporation requires a transformation process later, which involves notarial fees, registration costs, and a window of operational disruption. The entity choice should be driven by the medium-term capital structure, not by the speed of incorporation.

Investors structuring a first Spanish entry often focus on the commercial opportunity and treat the legal and tax structure as an administrative step. The cases where this causes most damage are those where the structure locks in a tax cost that compounds over years – precisely the lost opportunity that careful pre-incorporation planning eliminates. For a comparison with a similar inbound structure in a neighbouring civil law jurisdiction, see our case study on inbound investment structuring in Portugal.

To discuss how an optimised investment structure in Spain applies to your situation, contact us at info@ferrazwhitmore.com.

About Ferraz & Whitmore

Ferraz & Whitmore is an international law firm based in Lisbon, advising business clients across 46 jurisdictions. Our team combines Portuguese civil law expertise with English common law tradition to deliver cross-border legal solutions in tax structuring and corporate formation for inbound investment in Spain and across the EU. As an international law firm in Spain and Portugal, we work with technology companies, institutional investors, and in-house legal teams who need practical, results-oriented counsel on corporate income tax, withholding tax, and cross-border holding structures. Our tax law practice covers transactions before the AEAT and supports clients through the full investment lifecycle, from pre-incorporation planning to exit. The firm's Lisbon base provides direct access to Portuguese and EU regulatory systems, while our common law expertise supports enforcement and arbitration strategies in English-speaking jurisdictions. Engaging a lawyer in Spain with cross-border experience from the earliest stage of an investment avoids the structural errors that are most costly to correct later. To explore how we can support your Spanish investment structure, contact us at info@ferrazwhitmore.com.

Disclaimer: This publication is provided for informational purposes only and does not constitute legal advice. The information herein should not be relied upon as a substitute for professional legal counsel tailored to your specific circumstances. Ferraz & Whitmore assumes no liability for actions taken or not taken based on the contents of this material. For advice regarding your particular situation, please contact info@ferrazwhitmore.com.