← Field Notes
Guide

Buying a business in Spain? One Hacienda certificate can cap whether you inherit the seller's tax debt

Spain · any sector Stage: negotiating Published: 5 July 2026 ~7 min read

Short answer: When you buy a Spanish business as a going concern (a traspaso), Spanish tax law can make the buyer liable for the previous owner's unpaid taxes — and that liability is joint and several, meaning the tax authority can pursue the buyer directly. Spanish law provides one official mechanism that limits this exposure: the certificado de sucesión de actividad from the AEAT (Hacienda). Where it is validly obtained before the purchase completes, the buyer's liability is generally limited to the debts it lists — or removed if it comes back clean. It is also not a clean bill of health: it covers only one category of creditor. Here is what it does, what it leaves open, and why remote buyers get caught.

This article is general information, not legal or tax advice, and is not specific to your transaction. It is a commercial risk-screening perspective to help you ask the right questions — it does not replace a licensed Spanish abogado, tax adviser, or gestor.

Can you inherit the seller's tax debt when you buy a business in Spain?

In general terms, yes. Under Article 42.1.c) of the Ley General Tributaria (Ley 58/2003), a person who succeeds to the ownership or operation of an economic activity can be a responsable solidario — a joint and several debtor — for the tax obligations the prior operator incurred in running it.

The joint and several part is what foreign buyers tend to underestimate: it means Hacienda can, in principle, claim from the buyer directly, rather than having to exhaust the seller first. (Some older materials describe this liability as subsidiaria; for post-2003 successor liability the operative term is solidaria.)

In broad terms the rule reaches the prior operator's business tax debts (such as IVA and income/corporate tax) and unpaid withholdings — and, where no protective certificate was requested, it can extend to sanctions as well. It generally does not reach buyers of isolated assets (unless the purchase lets the activity continue), inheritance, or acquisitions made inside a formal insolvency proceeding.

What is the certificado de sucesión de actividad?

It is the mechanism in Article 175.2 LGT that lets a prospective buyer obtain, in advance and with the seller's cooperation, a detailed certificate from Hacienda of the tax debts, sanctions, and liabilities attached to the activity. It exists precisely to let a buyer cap an otherwise open-ended exposure.

Update, 10 July 2026 — how far back does this reach? The statute speaks of the «anterior titular», the previous holder. Where a business has passed through several hands, it is not settled whether liability can reach debts left by earlier, non-immediate holders — nor how far the certificate, obtained with the current holder's agreement, limits liability in that situation. On 29 May 2026 Spain's Supreme Court admitted a cassation appeal raising exactly those two questions. An admission order settles nothing; it means the point is open at the highest level. Read the detail: whose unpaid tax do you inherit when you buy a Spanish business? →

What does the certificate actually do?

Spanish law ties the outcome to whether — and how — the certificate is obtained:

OutcomeEffect on the buyer (in general terms)
Certificate issued listing debtsLiability generally limited to the debts the certificate lists.
Certificate issued cleanBuyer generally not liable for the prior operator's tax debts.
Validly requested, Hacienda does not respond within 3 monthsBuyer is generally released — the silence operates in the buyer's favour.
No certificate requestedThe successor-liability rule applies in full, and can extend to sanctions.

Two things matter here that are easy to miss: the protection turns on a valid request made before the purchase completes, and a request made afterwards does not carry the same effect. This is a one-way window — which is exactly where deals go wrong.

The part that catches people: what the certificate does not cover

A clean AEAT certificate addresses only the debts Hacienda itself collects — state taxes. It is not a clearance of the business. Other creditors sit entirely outside it, and each is a separate check:

Creditor / exposureCovered by the AEAT certificate?Needs a separate check from…
State taxes (IVA, corporate/income tax, withholdings)✅ Yes — this is the one it covers
Social Security (TGSS)❌ NoTGSS (and even an SS certificate may not fully exonerate a successor — STS 21 July 2015)
Regional taxes (ITP, AJD)❌ Nothe relevant comunidad autónoma
Municipal taxes (IBI, IAE)❌ Noeach ayuntamiento
Labour / severance❌ Noemployment due diligence
Suppliers / commercial debt❌ Nocommercial due diligence

Social Security and labour debts are, in practice, among the most common ways buyers still get hurt — and they are the ones the headline tax certificate doesn't touch. One certificate closes one door. (A Spanish court case where exactly this happened →)

If you're buying remotely, this is the point where a second pair of eyes pays for itself. Knowing the certificate exists is the easy part; getting every door checked, in the right name, before the money moves, is the hard part.

Check my deal →

A note on time

Tax debts in Spain generally prescribe after four years (Art. 66 LGT), but that period can restart when Hacienda issues a notice — so a debt can be older than four years and still be live. A certificate reflects the debt position at the moment it is issued, which is part of why timing matters.

What about Portugal (a trespasse)?

Portugal works differently and the position is less settled. Documentary no-debt certificates exist (the certidão de não dívida from the Autoridade Tributária and the declaração de situação contributiva from Segurança Social), but the statutory question of what a trespasse buyer inherits should be confirmed with a Portuguese advogado. (A dedicated Portugal guide follows.) (A Portuguese court case where an undisclosed liability sank a deal →)

Get the deal in front of you checked — before you wire anything

I run an independent, buyer-side desk screen of the specific deal you're looking at, before you fly, sign, or pay a deposit. I'm not a broker and take no commission on any sale — my only job is to find what could kill the deal and the conditions under which it would still be worth doing. Every screen is read and signed by me.

The €550 Deal Screen — a signed, plain-English verdict on a listing you're considering: the transfer traps, the documents and certificates to demand, and what the deal-defining risk is.

Check my deal →

FAQ

If I buy a business in Spain, can I be liable for the seller's unpaid taxes?

In general terms, yes. A successor to an economic activity can be jointly and severally liable for the prior operator's business tax debts under Art. 42.1.c LGT — meaning Hacienda may pursue the buyer directly. Spanish law provides a certificate (Art. 175.2 LGT) that can limit this where it is validly obtained before completion.

Is that successor liability solidaria or subsidiaria?

For successor liability under the post-2003 Ley General Tributaria, the operative term is solidaria (joint and several): the tax authority is not required to exhaust the seller first. Materials describing it as subsidiaria generally reflect the older 1963 law.

Does the AEAT certificate cover Social Security debts?

No. The certificado de sucesión de actividad addresses state taxes administered by the AEAT only. Social Security (TGSS) is a separate creditor with its own certificate — and even that may not fully exonerate a successor (STS 21 July 2015).

What happens if Hacienda doesn't respond within three months?

Where the request was validly made, the law treats the silence in the buyer's favour, generally releasing the buyer from the successor-liability the certificate would have addressed.

Does requesting the certificate matter for sanctions?

Yes — it is one of the practical reasons to obtain it. Where the certificate is obtained, exposure is generally framed by what it shows; where no certificate is requested, the rule can extend liability to the prior operator's sanctions as well.

What does the certificate not protect me from?

Everything outside state tax: Social Security, regional and municipal taxes, labour and severance, and supplier debts — each a separate check. A clean tax certificate is not a clearance of the whole business.