Unpaid invoices are not just a commercial issue. In Spain, they often translate into a direct tax cost: businesses may be required to pay VAT on income they will never collect. This breaks the principle of VAT neutrality and creates significant cash flow pressure, especially in sectors exposed to long payment terms or international clients.
Spanish VAT law allows businesses to recover VAT on bad debts, but only if strict legal and procedural requirements are met. In practice, many VAT recoveries are rejected not because the debt is invalid, but because deadlines were missed or documentation was incomplete.
This guide explains when VAT can be recovered in Spain, the difference between unpaid invoices and insolvency proceedings, and the key compliance risks that businesses must manage.
Why VAT on bad debts is a high-risk area.
Under Spanish VAT rules, as generally speaking, VAT becomes chargeable when the invoice is issued, not when payment is received. This creates a timing mismatch: the supplier finances the VAT until the customer pays.
This issue is particularly relevant for:
- Businesses granting long payment terms.
- Companies with international or financially distressed clients.
- Importers and exporters already exposed to VAT and customs cash-flow pressure.
VAT recovery on bad debts exists to preserve neutrality, but, as per our experience as Spanish VAT expert, it is also an area frequently reviewed during VAT inspections, especially when combined with SII reporting errors or deductibility issues.
When does an unpaid invoice qualify as a bad debt from Spanish VAT perspective?
An unpaid invoice does not automatically qualify for VAT recovery.
Spanish VAT law requires that:
- VAT was correctly charged and declared.
- The invoice is properly recorded in VAT books.
- A legally defined period has elapsed since the due date.
- The creditor has actively attempted collection.
- The debt is genuinely uncollectible.
The law clearly distinguishes between two scenarios:
- Unpaid invoices without insolvency
- Debts linked to formal insolvency proceedings
Each follows a different legal path.
VAT neutrality.
VAT is designed to be neutral for businesses. When a supplier pays VAT on an invoice that will never be collected, that neutrality is lost.
Spanish law, aligned with EU VAT principles, allows a reduction of the taxable base when non-payment becomes definitive. However, the tax authorities require strict evidence and formal steps to avoid abuse. As a result, VAT recovery on bad debts is often challenged when procedures are not followed precisely. However, The Supreme Court has greatly relaxed these procedures in recent years.
VAT recovery for unpaid invoices (no insolvency)
Waiting periods.
VAT recovery is possible once the following minimum periods have elapsed since the invoice became due:
- Six months for businesses with annual turnover below €6,010,121.04.
- Twelve months for larger businesses.
Additional conditions.
The debt must:
- Be unpaid in whole or in part.
- Not be covered by guarantees or insurance.
- Not involve related parties.
Partial payments are always deemed to include VAT proportionally.
Proof of collection attempts Spanish VAT bad debts.
This is one of the most common failure points.
The creditor must prove that real and effective collection actions were taken. Acceptable evidence includes:
- Judicial claims
- Notarial requests
- Any reliable documentary evidence proving the payment demand
Simply waiting or sending informal reminders is not sufficient. Weak documentation in this area often leads to rejection during inspections. In our experience, it is really importante to review case-by-case to ascertain the correct procedure to recover the VAT correctly.
Issuing the rectifying invoice
Once all conditions are met:
- A rectifying invoice must be issued.
- The VAT adjustment must be included in the relevant VAT return.
- The modification must be communicated electronically to the tax authorities within the legal deadline.
Late corrections are not accepted, even if the debt is clearly uncollectible. Timing is key on this procedure. Otherwise, the Tax authorities could reject the procedure, as we have experienced in many cases where the clients have not correctly advised.
VAT Recovery in insolvency proceedings
What qualifies as insolvency?
For VAT purposes, insolvency requires a formal court declaration. Financial difficulties, payment plans or informal restructurings do not qualify.
Key differences compared to standard unpaid invoices
| Aspect | Unpaid invoice | Insolvency |
|---|---|---|
| Trigger | Time elapsed + collection attempt | Court declaration |
| Evidence | Proof of collection actions | Insolvency ruling |
| Deadlines | Strict but longer | Very short |
| Administrative risk | Medium | High |
In insolvency cases, VAT recovery is legally clearer but procedurally more complex. Creditors must coordinate closely with the insolvency administrator and meet very tight deadlines.
Errors may result in the VAT claim being lost, even if the commercial debt is recognised.
Practical implications in insolvency
- Only supplies made before the insolvency declaration qualify.
- Supplies made afterwards follow different VAT rules.
- If the insolvency concludes under specific legal causes, VAT previously recovered may need to be recharged.
In practice, insolvency-related VAT recovery requires careful timing and coordination.
Accounting and cash flow alignment
VAT recovery on bad debts must be aligned with accounting records. Common issues include:
- Mismatch between accounting write-offs and VAT adjustments.
- Incorrect timing between financial statements and VAT returns.
- Failure to re-declare VAT if payment is eventually received.
These inconsistencies are frequently detected during audits.
Cross-border situations
VAT recovery becomes more complex when the debtor is established outside Spain:
- EU insolvency proceedings may still allow VAT recovery.
- Non-EU debtors are generally excluded.
For businesses involved in international trade, bad debt VAT must be reviewed together with broader VAT and customs obligations.
Common mistakes that lead to rejections
- Missing legal deadlines.
- Insufficient proof of collection attempts.
- Incorrect or invalid rectifying invoices.
- Confusing commercial default with insolvency.
- Ignoring VAT implications during wider tax reviews.
These issues often surface during inspections and may result in penalties.
Recovering VAT on bad debts in Spain is possible, but it is not automatic. The distinction between a standard unpaid invoice and a formal insolvency procedure is decisive, as each scenario follows a different legal route, with different deadlines, evidence requirements and administrative risks.
In practice, VAT recovery on bad debts is one of the areas most frequently challenged during VAT inspections. Errors usually arise not from the absence of a real bad debt, but from missed deadlines, weak proof of collection attempts or incorrect rectifying invoices.
Businesses that anticipate these issues, document each step properly and align VAT, accounting and legal processes can protect cash flow and avoid irreversible VAT losses. In cross-border or complex cases, early review is essential.
If you are dealing with unpaid invoices or insolvency situations in Spain and want to confirm whether VAT recovery is still possible, a case-by-case review is strongly recommended.
At VAT & Green Tax, we regularly assist companies in assessing eligibility, managing the procedural steps and reducing VAT audit risk in bad debt situations.
You can contact us at hola@vatgreentax.com to discuss your case.
Frequently asked questions: Spanish VAT bad debt (FAQs)
Can VAT be recovered in Spain if the customer simply does not pay?
Yes, but only if all legal conditions are met. A minimum waiting period must elapse, active collection attempts must be proven and the rectifying invoice must be issued within the legal deadline.
Is insolvency required to recover VAT on bad debts?
No. VAT can be recovered either through the unpaid invoice procedure or through a formal insolvency procedure. Each option has different requirements and deadlines.
What is the most common reason VAT recovery is rejected?
The most common reasons are missed deadlines and insufficient proof that the creditor actively attempted to collect the debt. Procedural errors are far more frequent than substantive ones.
How long do I have to issue the rectifying invoice?
The rectifying invoice must be issued within the legally established timeframe after the waiting period or the insolvency declaration. Late rectifications are not accepted, even if the debt is clearly uncollectible.
What happens if the customer pays after VAT has been recovered?
If payment is later received, VAT must be declared again on the amount collected, even if payment is partial. The adjustment must be reflected in the VAT return corresponding to the period of collection.
Can VAT be recovered if the debtor is established outside Spain?
In general, debts involving non-EU customers do not qualify. However, insolvency proceedings declared in another EU Member State may allow VAT recovery if they are legally recognised.
Is VAT recovery on bad debts frequently audited?
Yes. It is a common focus during VAT inspections, particularly where documentation is weak or where the adjustment is combined with other VAT compliance issues.
