Buying or selling a company: the share purchase agreement (SPA)

Last updated 3 August 2026 · Reviewed by Jaime Piñeira Pardo, lawyer registered with the ICAM bar, no. 138826 · English version of our Spanish guide.

The sale of shares in a Spanish SL requires a share purchase agreement (SPA) setting the price and warranties, executed in a public document before a notario (Spanish notary public) (art. 106 LSC). You must first respect the other partners' pre-emptive rights and then notify the company. Managora drafts the contract, coordinates the signing and handles the notification 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 €478.00 (21% VAT included), plus the tasa (official fee) where there is one.

See the procedure

What is new, and the law that applies

  • Ley 6/2023, of 17 March, on Securities Markets and Investment Services: the VAT and ITP-AJD exemption for the transfer of securities is today in its art. 338 (previously, art. 314 of the consolidated text of the LMV). The regime is the same with new numbering.
  • Ley 7/2024, of 20 December: since 1 January 2025 the last bracket of the savings base (more than €300,000) is taxed at 30%, instead of the previous 28%. The scale remains in force in 2026.
  • Art. 21 of Ley 27/2014 on Corporate Income Tax: since 2021 the exemption for dividends and portfolio capital gains is 95% (not 100%), with an effective taxation of around 1.25% at the general rate of 25%.

What is a share purchase agreement (SPA) and what must it include?

The SPA (Sale and Purchase Agreement) is the contract that documents the sale of shares in a Sociedad Limitada. It identifies the parties, the shares sold (with their numbering), the price, the payment method and the risk allocation between buyer and seller. Whoever buys the shares buys the entire company with everything inside it: assets, contracts, staff, debts and contingencies. That is why the SPA is not a simple receipt, but the tool that protects each party.

The core of the contract is the seller's representations and warranties: they declare that the accounts show a true and fair view, that the company is up to date with Hacienda (the Spanish tax authority) and the Seguridad Social (the Spanish social security system), that there are no hidden disputes or debts and that key contracts are in force. If any statement turns out to be false, the buyer can claim compensation under the agreed terms.

The contract is completed by specific indemnities for risks already detected, liability limits (minimum amount per claim, maximum cap and deadlines to claim), the seller's non-compete agreements and, if the closing is not immediate, the conditions precedent that must be met before signing before a notario.

What is the purpose of due diligence before buying a company?

Due diligence is the prior review of the company carried out by the buyer before signing. It usually covers tax, labour, commercial and corporate areas, contracts with clients and suppliers, ongoing litigation, real estate and assets, intellectual and industrial property and data protection.

Its result directly feeds the SPA: what appears in the review translates into a price adjustment, a specific indemnity or a condition for closing. What the seller formally communicates in the disclosure schedule is excluded from the general warranties, so it is in both parties' interest that this schedule is accurate.

It is not a mandatory procedure by law, but buying without reviewing means blindly assuming the company's contingencies. In smaller transactions, a reduced review focused on the main risks is carried out (red flags report).

How is the price set and adjusted: cash and debt, locked box and earn-out?

The usual starting point is to value the company cash free and debt free: the cash is added to the business value and the existing financial debt on the closing date is subtracted, with a correction if the working capital deviates from its normal level.

There are 2 mechanics to apply this adjustment. With completion accounts, the price is recalculated after signing with a balance sheet prepared at the closing date. With a locked box, the price is fixed on a previously closed balance sheet and the seller guarantees that since that date no value has been extracted from the company (prohibition of leakage). The first is more accurate; the second is simpler and faster.

An earn-out is a deferred payment conditional on future results (sales or EBITDA of the coming financial years). It is useful when buyer and seller do not agree on the company's value, but it is the clause that generates the most disputes: it requires precisely defining the metrics, who manages the company during the period and which buyer decisions cannot harm the objective.

Can the other partners prevent me from selling my shares?

The general rule of art. 107 of the Ley de Sociedades de Capital (the Spanish Corporate Enterprises Act) is that, unless the articles of association provide otherwise, the sale is free between partners and in favour of a spouse, ascendants, descendants or companies of the same group. To sell to a third party, the articles of association govern; if they do not regulate anything, the supplementary legal regime applies.

In this supplementary regime, the partner notifies the directors in writing of the shares they want to sell, the buyer's identity, the price and the conditions. The sale is subject to the company's consent, which is agreed at the General Meeting by an ordinary majority. The company can only deny it if it presents, through a notario, 1 or more partners or third parties willing to buy all the shares; and if no partner or third party wants them, the General Meeting itself can agree that the company acquires them, to amortise them or in accordance with art. 140 LSC (art. 107.2.d LSC). If 3 months pass without a response, the partner can sell under the communicated conditions, but must formalise the transfer in a public document within the following 1 month after that period expires (art. 107.2.f LSC): if they let that 1 month pass, the authorisation lapses and the procedure must be restarted. If the price is deferred, the pre-emptive acquirer must provide a guarantee from a credit institution for the deferred amount.

Skipping these rules has a high cost: a transfer that does not respect the law or the articles of association has no effect against the company (art. 112 LSC), so the buyer will not be registered in the registry book nor will they be able to exercise their partner rights. In practice, when all partners agree, the transaction is closed with the express waiver of each partner to their pre-emptive acquisition right, usually in a universal meeting, and this waiver is incorporated into the deed of sale. Managora prepares the waivers and communications so that the sale is unassailable.

Do you have to go to the notario? Elevation to public status, notification to the company and registry book

Yes. Art. 106 LSC requires the transfer of shares to be recorded in a public document. The deed before a notario is what allows the buyer to prove their status as a partner and oppose the purchase against third parties. Managora drafts the contract and coordinates the signing at the notary's office; the only official cost is the notary fee, which varies according to the transaction amount (RD 1426/1989) and is paid at the notary's office on the day of signing.

The buyer can only exercise partner rights against the company once it has knowledge of the transfer (art. 106.2 LSC). Therefore, after signing, the sale is formally notified to the administrative body and recorded in the partner registry book (art. 104 LSC): the company only considers as a partner whoever is registered in that book.

The sale is not registered in the Commercial Registry: the ownership of the shares lives in the company's registry book. There is an important indirect exception: if with the purchase the company comes to have a single partner, the supervening single-member status must be recorded in a deed and registered in the Commercial Registry; if 6 months pass without registering it, the sole partner is personally, unlimitedly and jointly liable for the corporate debts contracted during that period (arts. 13 and 14 LSC).

What taxes are paid when selling a Spanish SL?

The buyer does not pay indirect taxes: the transfer of shares is exempt from VAT and the Transfer Tax and Stamp Duty (art. 338 of Ley 6/2023, on Securities Markets). The exemption does not eliminate the formal obligation: as it is a subject and exempt transaction, in most autonomous communities the buyer must still submit the modelo 600 marking the exemption, with no fee to pay. The only exception with a fee is the anti-avoidance clause: if the company is essentially real estate and the sale of shares is intended to avoid the tax that would have levied the direct sale of the properties, the transaction is taxed as if they were transferred.

The individual seller pays IRPF (personal income tax) on the capital gain (transfer value minus acquisition value), which is integrated into the savings base with the scale from 19% to 30% in force in 2026. Pay attention to the rule of art. 37.1.b) of the Ley del IRPF: unless it is proven that the agreed price is market value, Hacienda does not admit a transfer value lower than the higher of 2 amounts, the net equity of the last closed balance sheet or the result of capitalising at 20% the average of the results of the last 3 financial years.

If part of the price is collected deferred (for example, an earn-out) and the last collection is due more than 1 year after the sale, the seller can use the instalment operations rule (art. 14.2.d of the Ley del IRPF) and impute the gain as the collections become due, instead of paying tax on everything in the year of signing.

If the seller is a company (for example, a holding company selling its subsidiary), the capital gain can be 95% exempt in the Corporate Income Tax if it has held at least 5% of the capital uninterruptedly during the previous 1 year (art. 21 LIS). With the general rate of 25%, the effective taxation is around 1.25% of the profit.

Managora takes care of the entire process: we review the articles of association, draft the SPA with its warranties, prepare the waivers to the pre-emptive acquisition right, coordinate the signing at the notary's office and make the formal notification to the company for the registry book. Each transaction is different in size and complexity, so the fees are set through a personalised quote: request it from the Share Purchase Agreement (SPA) and Elevation to Public Status procedure page.

Step by step

  1. 1

    Agree on the transaction framework(Variable depending on the negotiation)

    Buyer and seller sign a non-disclosure agreement (NDA) and, in transactions of a certain size, a letter of intent (LOI) with the indicative price, the schedule and the exclusivity of the negotiation.

  2. 2

    Carry out the due diligence(Agreed in the LOI; depends on the company size)

    The buyer reviews the company's tax, labour, commercial and contractual situation. What is detected translates into price adjustments, specific indemnities or conditions for closing.

  3. 3

    Review the articles of association and resolve the pre-emptive acquisition right(In the supplementary legal regime, the company has 3 months to respond; after silence, 1 month to formalise)

    The statutory transfer regime is checked. If the sale is to a third party, the express waivers of the other partners are obtained or the procedure of art. 107 LSC is followed (communication to the directors and consent of the General Meeting). If the company remains silent for 3 months, the sale must be formalised in a public document within the following 1 month or the authorisation lapses.

  4. 4

    Negotiate and close the SPA(Variable depending on the transaction)

    The contract is drafted with the price and its adjustment mechanism (cash and debt, locked box or earn-out), the representations and warranties, the liability limits and the non-compete agreements.

  5. 5

    Sign before a notario (elevation to public status)(On the closing day)

    The transfer must be recorded in a public document (art. 106 LSC). The title deeds of the shares, the articles of association and the identification of the parties are provided. The notary fee is paid at the notary's office according to the amount.

  6. 6

    Notify the company and record in the partner registry book(Immediately after signing; single-member status: before 6 months)

    The sale is notified to the administrative body and registered in the registry book (art. 104 LSC). The buyer can only exercise their partner rights once the company knows of the transfer. If the company becomes a single-member company, the single-member status is deeded and registered in the Commercial Registry.

  7. 7

    Submit the modelo 600 and declare the sale to Hacienda(Modelo 600: regional deadline (usually 30 working days or 1 month); IRPF: income tax campaign of the following year; IS: 25 calendar days after 6 months from the close of the financial year)

    The buyer submits the modelo 600 as a subject and exempt transaction (without a fee, except for the real estate exception of art. 338.2 Ley 6/2023) at the regional tax office. The individual seller declares the gain in their IRPF (modelo 100) for the year of the sale; the corporate seller includes it in the Corporate Income Tax (modelo 200), applying the exemption of art. 21 LIS if they meet the requirements.

A worked example

A founding partner sells 100% of their SL in 2026 for €500,000. They incorporated it with €3,000 of capital. The agreed price exceeds both the net equity of the last balance sheet and the capitalisation at 20% of the results of the last 3 financial years, so it is admitted as market value (art. 37.1.b LIRPF).

  • Capital gain: €500,000 - €3,000 = €497,000
  • First €6,000 at 19%: €1,140
  • From €6,000 to €50,000 (€44,000) at 21%: €9,240
  • From €50,000 to €200,000 (€150,000) at 23%: €34,500
  • From €200,000 to €300,000 (€100,000) at 27%: €27,000
  • From €300,000 to €497,000 (€197,000) at 30%: €59,100

Savings fee (state + regional): €130,980, an effective rate of 26.4%. If the seller were a holding company with at least 5% held for 1 year, the exemption of art. 21 LIS would leave the effective taxation at around 1.25% of the capital gain.

IRPF 2026 savings base scale (state + regional)

Savings taxable baseTotal rate
Up to €6,00019%
From €6,000 to €50,00021%
From €50,000 to €200,00023%
From €200,000 to €300,00027%
More than €300,00030%

Supplementary legal regime of art. 107.2 LSC (if the articles of association do not regulate the transfer to third parties)

PhaseRuleDeadline
Partner communicationWritten notice to the directors with the shares, the buyer's identity, the price and the conditionsStarts the procedure
ConsentAgreement of the General Meeting by ordinary majorityWithin 3 months
DenialOnly if the company communicates through a notario partners or third parties who buy all the shares; if nobody wants them, the General Meeting can agree that the company itself acquires them (art. 107.2.d, in relation to art. 140 LSC)Within 3 months
PreferenceThe partners attending the meeting have preference; if there are several, pro rata to their capitalAt the meeting itself
SilenceThe partner can sell under the communicated conditionsAfter 3 months without a response
Lapse after silenceThe transfer must be formalised in a public document; after 1 month, the authorisation lapses (art. 107.2.f LSC)Within the following 1 month after the 3 months have elapsed
Deferred priceThe pre-emptive acquirer must provide a guarantee from a credit institution for the deferred amountPrerequisite for the acquisition

Typical SPA clauses and what they cover

ClauseWhat it covers
Object and priceShares sold, price and payment method
Price adjustmentCash and debt at closing (completion accounts) or fixed price on previous balance sheet (locked box)
Earn-outPart of the price conditional on future business results
Representations and warrantiesVeracity of accounts, taxes, labour, litigation, contracts
Specific indemnitiesSpecific risks detected in the due diligence
Liability limitsMinimum amounts per claim, maximum cap and deadlines to claim
Non-competeProhibition for the seller to compete during an agreed period
Conditions precedentAuthorisations or milestones that must be met before closing

Buying the shares or buying the assets?

Share purchase (share deal)Asset purchase (asset deal)
What is acquiredThe entire company: contracts, licences, staff, assets and also its debts and contingenciesOnly the chosen assets and contracts; non-agreed debts remain with the selling company
Business continuityTotal: the company remains the same and the contracts do not change ownershipEach contract and licence must be assigned, often with the third party's consent
Buyer's riskHigher: inherits hidden contingencies; covered by representations and warrantiesLower, although in labour matters the transfer of undertakings applies (art. 44 ET)
Transaction taxesSubject but exempt from VAT and ITP-AJD (art. 338 Ley 6/2023): the modelo 600 is submitted without a fee, except for the anti-avoidance real estate exceptionEach asset is taxed according to its nature (VAT or ITP and, where applicable, AJD on real estate)
Seller's taxesIndividual: savings IRPF (19-30%); company: possible 95% exemption (art. 21 LIS)The selling company pays IS on each asset and distributing the money to the partner later is taxed again
FormMandatory public document (art. 106 LSC)Depending on the assets: real estate requires a deed and registry registration

Official forms and where it is filed

Frequently asked questions

Can I sell my shares to whoever I want?

Between partners and in favour of your spouse, ascendants, descendants or companies of your group, yes, unless the articles of association restrict it. To sell to a third party, the other partners (or the company) usually have a pre-emptive acquisition right: you must communicate the sale and obtain consent or waivers. If the company does not respond in 3 months, you can sell under the communicated conditions, but you must formalise the sale in a public document within the following 1 month (art. 107.2.f LSC); if you let it pass, the authorisation lapses.

Is a private contract valid or do I have to go to the notario?

The law requires the transfer to be recorded in a public document (art. 106 LSC). Without a deed, the buyer cannot prove their status as a partner against the company or third parties. Managora drafts the contract and coordinates the signing at the notary's office, so you only attend to sign.

How much does the transaction cost? Are there official fees?

There is no administrative tasa (official fee): the sale is not registered in the Commercial Registry and is exempt from ITP, VAT and AJD, although in most autonomous communities you must submit the modelo 600 as a subject and exempt transaction, with no fee to pay. The only official cost is the notary fee, which varies according to the transaction amount (RD 1426/1989), and is paid at the notary's office on the day of signing. Managora's fees are set through a personalised quote according to the complexity of the transaction: request it from the procedure page.

What taxes do I pay as a seller?

If you are an individual, the gain (sale price minus what it cost you) is taxed in the IRPF savings base, between 19% and 30% in 2026. Hacienda does not admit a sale value lower than the higher between the net equity of the last balance sheet and the capitalisation at 20% of the average profits of the last 3 financial years, unless there is proof that your price is market value. If you sell through a company with at least 5% held for 1 year, the capital gain is 95% exempt (art. 21 LIS).

Does the buyer pay ITP or VAT for buying the shares?

They do not pay a fee: the transfer of shares is exempt from VAT and ITP-AJD (art. 338 of Ley 6/2023). The transaction is subject although exempt, so in most autonomous communities the buyer must still submit the modelo 600 marking the exemption. The exception with a fee is the anti-avoidance clause: if the company is essentially real estate and the purchase conceals the transfer of the properties to avoid taxes, the transaction is taxed as a sale of properties.

What happens if a debt I was not told about appears after buying?

That is what the SPA representations and warranties are for: if the seller declared that there were no hidden debts and one appears, the buyer can claim the agreed compensation, within the limits and deadlines of the contract. Price retentions or escrow accounts can also be agreed to ensure collection. A well-drafted SPA is your main protection.

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 €478.00 (21% VAT included), plus the tasa (official fee) where there is one.

See the procedure

Related procedures

The price, the tasa (official fee) and the current deadlines are on each procedure page.

Related guides