Guides
Tax Modelos

How to fill in Modelo 130

Updated on
31 Dec 2025
5
min read

If you're an autónomo in Spain, you've probably heard about Modelo 130, the quarterly income tax advance payment. While it might sound complicated, for most freelancers it's actually simpler than Modelo 303. You only need to fill in about 4 to 6 boxes, and the form calculates everything else automatically.

This guide is for you if:

You're an autónomo in Spain using estimación directa (normal or simplified) for your taxes, you provide professional services, and you file quarterly. Most freelancers, consultants, designers, developers, and similar professionals fall into this category.

This guide is NOT for you if:

You're in estimación objetiva (módulos). In that case, you'd file Modelo 131 instead. You run agricultural, forestry, or fishing activities, as there's a separate section for that. At least 70% of your income already has withholdings (retenciones) applied, which means you're exempt from filing Modelo 130.

Not sure if you need to file? If most of your clients are companies that apply IRPF withholding (usually 15%) to your invoices, and these withholdings represent 70% or more of your total income, you don't need to file. But if you invoice end consumers, foreign clients, or businesses that don't withhold, you'll need to file Modelo 130.

For information about filing deadlines and frequently asked questions, check out our article on Modelo 130 deadlines and FAQs.

What is Modelo 130?

Modelo 130 is a quarterly advance payment towards your annual income tax (IRPF). Think of it as paying your taxes in installments throughout the year, rather than one large payment when you file your annual Renta declaration.

Every quarter, you calculate 20% of your net profit (income minus expenses) and pay that amount to Hacienda. At the end of the year, when you file your Renta, these advance payments are credited against your total tax bill.

Important: Unlike Modelo 303 where you report just that quarter's activity, Modelo 130 uses cumulative figures from January 1st. So in Q2, you report all income and expenses from January through June, not just April through June.

How to access Modelo 130

Go to the AEAT electronic office. You'll need to identify yourself using a digital certificate, electronic DNI (DNIe), or Cl@ve PIN.

Initial screen: identification data

When you first access the form, you'll see a popup asking for basic information.

Ejercicio is the year you're filing for, such as 2025. Periodo is the quarter: 1T, 2T, 3T, or 4T. NIF is your tax ID number (DNI/NIE), and Apellidos and Nombre are your surname and first name.

If you use invoicing software like Facturaz, you can generate a pre-filled Modelo 130 file and import it directly using the "Importar" button. This saves time and you'll only need to review the data before submitting.

Importing your accounting books

Since 2024, AEAT offers a new option: you can import your accounting books (libros de registro) directly, and the system will calculate your income and expenses automatically.

Click "Libros de registro" in the toolbar, then "Importar libro de registro" to upload your file. Facturaz can export these books from the Accounting Books tab.

Important: This only works reliably if you've been using your invoicing software since Q1 of the year. Because Modelo 130 uses cumulative figures, if you started mid-year, the books won't have complete data for the calculation.

The form: Liquidación

This is where the calculation happens. The form has three sections, but most autónomos only need to fill in Section I.

Section I: Business activities

This section is for professional services and business activities (not agricultural). All figures are cumulative from January 1st to the end of the quarter you're filing.

  • Casilla 01 is for your total income. Enter the cumulative taxable income from all your invoices, from January 1st through the end of this quarter. Don't include VAT, just the base amounts.
  • Casilla 02 is for your deductible expenses. Enter the cumulative business expenses for the same period. This includes office supplies, software subscriptions, professional services, phone, internet, coworking fees, and any other legitimate business costs. If you're on estimación directa simplificada, remember that 5% of your net income is automatically deductible for hard-to-justify expenses (gastos de difícil justificación), up to €2,000 per year.
  • Casilla 03 calculates automatically. It's your net profit: box 01 minus box 02. If you have a loss, it will show as a negative number.
  • Casilla 04 calculates automatically. It's 20% of box 03 (only if box 03 is positive). This is your base tax payment for the year so far.
  • Casilla 05 is for previous payments. If this isn't Q1, enter the sum of the positive amounts from box 07 of your previous Modelo 130 submissions this year, minus any amounts from box 16. The form pre-fills this if you imported data.
  • Casilla 06 is for withholdings (retenciones). Enter the cumulative IRPF withholdings that your clients have applied to your invoices from January 1st through the end of this quarter. You can find these amounts on your invoices where you applied the 15% (or 7% if you're new) retention.
  • Casilla 07 calculates automatically. It's box 04 minus boxes 05 and 06. This is the result of Section I.

Section II: Agricultural activities

Skip this section entirely. It's exclusively for agricultural, forestry, and fishing activities. If you're a service professional, there's nothing for you here.

Section III: Total liquidación

This section brings everything together and calculates your final payment.

  • Casilla 12 shows the sum from sections I and II (for most people, just box 07).
  • Casilla 13 is a low-income reduction. If your net income from all business activities last year was €12,000 or less, you may qualify for a reduction between €25 and €100 per quarter. The exact amount depends on your previous year's income: €100 if you earned €9,000 or less, €75 if between €9,000.01 and €10,000, €50 if between €10,000.01 and €11,000, and €25 if between €11,000.01 and €12,000.
  • Casilla 14 calculates automatically. It's box 12 minus box 13.
  • Casilla 15 is for negative results from previous quarters. If any of your earlier Modelo 130 submissions this year had a negative result in box 19 that you couldn't deduct yet, enter that amount here (without the minus sign). You can only deduct up to the positive amount in box 14.
  • Casilla 16 is a housing deduction. This only applies if you're paying a mortgage on a home purchased before January 1, 2013, and you qualify for the transitional housing deduction. It's 2% of box 03, with a maximum of €660.14 per quarter. Most autónomos leave this blank.
  • Casilla 17 calculates automatically. It's box 14 minus boxes 15 and 16.
  • Casilla 18 is only for complementary declarations. If you're correcting a previous submission, enter the amount you already paid. Otherwise, leave it at zero.
  • Casilla 19 is your final result. It's box 17 minus box 18. This is the amount you need to pay (if positive) or can deduct in future quarters (if negative).

Declaración complementaria

This section is only used if you need to correct a previously submitted declaration. For normal quarterly filing, ignore it completely.

Only use a complementary declaration when you made an error that resulted in paying less than you should have. If you overpaid, you need to request a rectification through a different administrative process.

The toolbar

At the bottom of the form, you'll see a toolbar that helps you navigate and submit.

Mostrar Información displays help and instructions. Borrar declaración clears the form to start over. Validar declaración checks for errors, so always use this before submitting. Cargar loads a previously saved declaration. Guardar saves your work. Libros de registro opens the accounting books import feature.

Importar lets you import a pre-filled file from software like Facturaz. Formalizar Ingreso / Devolución is the final submission button.

How to submit

Start by clicking "Validar declaración" and fix any errors that appear. Once validation passes, click "Formalizar Ingreso / Devolución" to proceed to submission.

  • If box 19 is positive, you need to pay. Select your payment method: domiciliación bancaria (direct debit) is the easiest option, just enter your IBAN. You can also pay immediately via "Realizar pago (obtener NRC)" which connects you to the payment gateway for card payment or Bizum. If you prefer, you can select "Documento para ingresar en Banco/Caja" to generate a payment slip and pay at a bank branch in person.
  • If box 19 is negative and it's Q1, Q2, or Q3, select "A deducir". The negative amount will carry forward and you can deduct it in your next quarterly payment.
  • If box 19 is negative and it's Q4, or if box 19 is zero, select "Negativa". For Q4, any remaining negative amount will be factored into your annual Renta declaration.

After successful submission, you'll see "Su presentación ha sido realizada con éxito" and receive a PDF containing your submission details and a complete copy of your declaration. Save this PDF as it's your proof of compliance.

Practical example

Carlos is a freelance consultant. In Q2 2025 (filing in July), he needs to report his cumulative figures from January through June.

His cumulative income from January to June was €18,000 in invoiced services. His cumulative expenses were €3,000, including software, coworking space, phone, and professional services. His clients applied €1,800 in IRPF withholdings to his invoices (15% of €12,000 in invoices to Spanish companies). He already paid €600 in Q1 (his box 07 from the previous quarter).

  • In Section I, he enters 18,000 in box 01 for his income. He enters 3,000 in box 02 for his expenses. Box 03 automatically calculates as €15,000 (his net profit). Box 04 automatically calculates as €3,000 (20% of €15,000). He enters 600 in box 05 for his Q1 payment. He enters 1,800 in box 06 for his cumulative withholdings. Box 07 automatically calculates as €600.
  • In Section III, box 12 shows €600. Carlos earned more than €12,000 last year, so box 13 stays at zero. Box 14 shows €600. He has no negative results to deduct and no housing deduction, so boxes 15 and 16 are zero. Box 17 shows €600. Box 18 is zero (not a complementary declaration). Box 19 shows €600, the amount Carlos needs to pay.

Final tips for filing Modelo 130

  • Remember it's cumulative. Unlike Modelo 303, you're always reporting from January 1st. In Q3, you report January through September, not just July through September.
  • Track your withholdings. Keep a running total of the IRPF retentions your clients apply. You'll need this for box 06, and it directly reduces what you pay.
  • Use invoicing software. Tools like Facturaz track everything automatically and can generate your Modelo 130 data or export accounting books for import.
  • Check if you're exempt. If 70% or more of your income has withholdings applied, you don't need to file Modelo 130. This is common for freelancers who only invoice Spanish companies.
  • File even if the result is zero or negative. Unlike the 70% exemption, if you're required to file, you must submit even when there's nothing to pay.
  • Don't wait until the last day. The AEAT website tends to crash on deadline days.

Quick reference: the boxes most freelancers need

  • In Section I, the key boxes are 01 for your cumulative income, 02 for your cumulative expenses, 05 for previous quarters' payments (not in Q1), and 06 for cumulative withholdings.
  • Section II can be skipped entirely since agricultural activities don't apply to service providers.
  • In Section III, box 13 is for the low-income reduction if you earned under €12,000 last year, box 15 is for deducting previous negative results, and box 19 is your final result.
  • Everything else calculates automatically.

Sources

To keep our guides reliable and transparent, we include links to official government and institutional sources, so you can confirm every detail.

In this guide

Facturaz One

Everything you need as autónomo in one place.
€44
Monthly + IVA