Autonomo Pilot

The quarterly filing

Modelo 130 explained, line by line

Lee esta guía en español →

Modelo 130 is the quarterly IRPF prepayment filed by Spanish autónomos on estimación directa. You pay 20% of your cumulative year-to-date profit, minus the retentions clients have already withheld and minus what you paid in earlier quarters. It is a prepayment, not an extra tax. The annual renta settles the difference.

Modelo 130 causes more confusion than any other autónomo obligation, for one reason: it isn’t a tax in its own right. It’s an instalment plan. You’re paying your annual income tax in advance, four times a year, on a running total, and the form’s logic only makes sense once you see that.

The calculation, line by line

Every quarter you recompute the whole year so far, not only the quarter:

LineWhat it is
A: IncomeAll business income year-to-date, gross (before any retention your clients withheld)
B: ExpensesDeductible business expenses year-to-date
C: AllowanceThe automatic 5% gastos de difícil justificación, capped at €2,000/year
Base = A − B − CYour cumulative taxable profit for the year so far
Quota = 20% of baseThe flat prepayment rate. Note it is not your real IRPF rate
D: RetentionsIRPF already withheld by clients on your invoices, year-to-date
E: Earlier paymentsWhat you already paid on previous quarters’ Modelo 130
Payment = Quota − D − ENever negative: if the result is below zero you file a zero return, and the overpayment comes back at renta time
Flow diagram of the Modelo 130 calculation: gross year-to-date income, minus deductible expenses, minus the 5% allowance, gives the base; 20% of the base, minus retentions and earlier quarterly payments, gives the payment due, never below zero
The whole form in one pass: everything is year-to-date, and the last two subtractions are what make it self-correcting.

Why the cumulative structure matters: a strong Q1 followed by a weak Q2 can produce a Q2 payment of zero, because the year-to-date calculation has already collected enough. The form self-corrects across the year, which is also why a single quarter’s figure in isolation tells you very little.

The flat 20% is not your tax rate

This trips people up constantly. Modelo 130 charges a flat 20% of profit, but your actual IRPF is progressive and depends on your region; see IRPF rates by region. The 20% is deliberately a rough instrument: it collects something sensible during the year, and the annual renta does the real calculation and settles up.

So if your real effective rate is below 20%, you’ll tend to get a refund at renta time. If it’s above, you’ll owe a top-up. Neither means you filed wrongly.

When to file

QuarterCoveringFiling window
Q1January to March1 to 20 April
Q2April to June1 to 20 July
Q3July to September1 to 20 October
Q4October to December1 to 30 January

Note Q4’s longer window: it runs to the 30th, not the 20th. If you pay by direct debit, the cut-off is earlier: the 15th in the windows that close on the 20th, per the AEAT contributor calendar.

You might not have to file it at all

If at least 70% of your income already suffers retention, you may be exempt from filing Modelo 130 entirely. This is common for professionals who invoice mostly Spanish companies, because those clients withhold 15% at source anyway.

Full detail on the test and its edge cases: who is exempt from Modelo 130.

Getting the inputs right is the actual work

The arithmetic is simple; assembling A and B is not. Income must be counted gross, which your bank statement never shows. It shows the net amount after retention. Expenses must be complete and correctly categorised, and mixed personal/business spending has to be separated.

That reconstruction, from statement lines back to gross income and categorised expenses, is precisely what Autonomo Pilot automates, and it shows you the resulting Modelo 130 estimate line by line in the same order as the table above, so you can check your gestor’s figure against your own.

Last reviewed 24 October 2026. Rules and rates change; we re-check these pages at least twice a year.

Estimates and general information, not tax advice. Autonomo Pilot explains how the rules work and helps you organise your own figures; it never files anything and never issues invoices. Your gestor's filings and the AEAT's own determinations are what count. Confirm anything here with your gestor before acting.

Autonomo Pilot turns your bank statements into an accountant-ready quarterly pack, with a shadow Modelo 130 and year-end renta estimate.

Join the waitlist Try the demo