Modelo 130: the year to date decides the quarter.
Modelo 130 is the quarterly IRPF instalment payment of self-employed people under direct estimation. Cofactu prepares it as a draft to complete on the AEAT website.
Current result: draft to complete on the AEAT website · Illustrative interface example
IRPF installment payment
| Periodicity | Quarterly |
|---|---|
| Deadline | Q1: April 1-20 · Q2: July 1-20 · Q3: October 1-20 · Q4: January 1-30 of the following year |
| AEAT channel | Draft · completed on the AEAT website |
Year to date 1 Jan · 30 Jun
| Item | Amount | Box |
|---|---|---|
| Income | €38,500 | box 01 |
| Deductible expenses | €12,400 | box 02 |
| Net income | €26,100 | box 03 |
| 20% · earlier payments · withholdings | Demonstration result €1,410 |
Not every self-employed person files the 130.
Start with your tax regime.
The instalment payment depends on direct estimation, on your withholdings and on the applicable exclusions.
- 01 Modelo 130 Usual route. Regime: direct estimation → Modelo 130 → Result: instalment payment.
- 02 More than 70% with withholding Exception. It may exclude the obligation.
- 03 Objective estimation (modules) Exception. Follows Modelo 131.
All cases and exceptions
| Case |
|---|
| Self-employed under direct estimation (normal or simplified) |
| Professionals with agricultural, livestock, or fishing activities (with specific boxes) |
| Excluded: self-employed with >70% of billing to businesses that already withhold (since the withholding already covers the advance payment) |
| Excluded: activities under modules (objective estimation) — use Modelo 131 |
The draft does not add things up blindly.
It keeps where each amount came from.
The 130 uses amounts accumulated since January: the base does not start from zero each quarter.
| Source | Amount | Boxes |
|---|---|---|
| Issued invoices | + €38,500 | Box 01 · accumulated income |
| Deductible expenses | − €12,400 | Box 02 · accumulated expenses |
| Net income | €26,100 | box 03 |
| Earlier payments and withholdings | − €3,810 | boxes 04 · 07 |
| Demonstration result | €1,410 | Instalment payment to review |
The full explanation of each box
| Box | Name | What it covers |
|---|---|---|
| 01 | Assessable income for the period (accumulated) | Sum of income subject to the installment payment from January 1 through the end of the quarter. Cofactu aggregates it from your issued invoices. |
| 02 | Deductible expenses for the period (accumulated) | Sum of deductible expenses from January 1 through the end of the quarter. Aggregated from your expenses in Cofactu. |
| 03 | Net income (01 - 02) | Accumulated profit for the year up to the quarter. The base used to calculate the installment payment. |
| 04 | Previous installment payment | Sum of installment payments already made in previous quarters of the same year (Q1, Q1+Q2, Q1+Q2+Q3 as applicable). |
| 05 | €100/month deduction (fixed costs) | If the reduced deduction applies to you (low income), you subtract €100 per month of the quarter. Cofactu applies it if your net income is below the threshold. |
| 07 | Withholdings borne during the period | IRPF withholdings your clients have applied on issued invoices. Cofactu aggregates them from your invoices with a withholding field. |
| 08 | Amount due / to deduct | Final result: 20% of net income minus previous payments minus deduction minus withholdings. If negative, it carries forward as offsettable in the next quarter. |
General information; not tax advice.
The file has states.
Not everything is available yet.
The work is implemented locally and needs deployment and validation before any public availability.
| State | Phase | What it means |
|---|---|---|
| Local | File | Data by source and calculation under review. |
| Now | Validation | Deployment and cross-checking before announcing it. |
| Today | Draft | Completed and filed on the AEAT website. |
Detailed scope and limits
| Status | Detail |
|---|---|
| Planned scope | Normal and simplified direct estimation |
| Planned scope | Automatic calculation of 20% of net income |
| Planned scope | Year-to-date accumulation (automatic subtraction of the year's previous installment payments) |
| Planned scope | Withholdings borne (box 07) from issued invoices with withholding |
| Planned scope | €100/month deduction for low income (box 05) |
| Current limits | Agricultural, livestock, or fishing activities with a specific regime (basic coverage) |
| Current limits | Objective estimation / modules (this goes with Modelo 131, not 130) |
| Current limits | Official BOE file: today the 130 comes out as a draft to complete on the AEAT website (the calculation does not yet include verified prior returns, the previous year's net income or full personal identification) |
A tax error needs
a field, a cause and a next step.
The example shows the kind of check that matters before completing the draft on the AEAT website.
| 04 · Earlier payments | €1,800 · Accumulated from earlier quarters |
|---|---|
| Check | The figure must match the instalments already paid in the same year. Source: earlier files |
All validations and common errors
| Code or case | Detail |
|---|---|
| 1xxx | Expired certificate or no AEAT permissions to file the 130 |
| 4001 | Filer's NIF not registered for this activity |
| 4002 | Incorrect reconciliation (e.g. box 04 doesn't match the sum of the year's previous 130 filings) |
| 5xxx | Incorrect BOE file format |
| Inconsistency with the 303 | the 130's income must reconcile with the issued invoices register (same period) |
The questions left
before the next quarter.
Can I file Modelo 130 directly from Cofactu?
No. The AEAT offers no public API for this return, and Cofactu does not generate the 130 BOE file yet: it calculates it as a draft for you to complete and file on the electronic office.
Who usually files the 130?
Self-employed people under direct estimation, normal or simplified, except for the applicable exclusions. Activities under the modules regime follow Modelo 131.
Why is the calculation cumulative?
The instalment takes income and expenses from the start of the year, and deducts earlier payments and withholdings suffered as appropriate for the quarter.
What happens if the AEAT rejects my 130?
The AEAT website gives you the rejection when you file. In Cofactu the draft stays saved: you correct the source data (invoice, expense or withholding), recalculate and complete the form again on the website.
Do I need a digital certificate?
Not to calculate the draft in Cofactu. You will need valid identification and sufficient authority to complete and file it through the AEAT website.
What if most of my invoices have withholding?
If >70% of your billing goes to businesses that withhold, you're not required to file the 130 — the withholding already covers the advance payment. Cofactu warns you if your situation fits this case so you don't file unnecessarily.
How is the €100/month deduction calculated?
It applies if your net income from the previous year is below the threshold (≈€12,000). Cofactu applies it automatically and marks it in box 05. If it doesn't apply, it stays at zero.
What happens if the result is negative?
If withholdings borne + previous payments + deduction exceed 20% of net income, the amount due is 0 (not a refund, but an offset carried to the next quarter). Cofactu marks the box with 0 and automatically carries the balance forward to the next quarter.
How does it reconcile with the annual Renta at year-end?
The 130's installment payments are subtracted in the annual IRPF return (Modelo 100). What you overpaid is refunded; what you underpaid, you pay in. Cofactu keeps the accumulated breakdown so it reconciles with your Renta.
Learn the Modelo 130 route before preparing the next quarter.
Today the 130 comes out as a draft: you complete and file it on the AEAT website, with your adviser if you have one.









