OdooWiki OCA HUB

AEAT modelo 130

l10n_es_aeat_mod130 folder_open OCA/l10n-spain open_in_new
Localization/Accounting License: AGPL-3

Módulo para la presentación del modelo 130 (Pago fraccionado IRPF - Impuesto sobre la Renta de las Personas Físicas - para empresarios y profesionales en estimación directa) de la Agencia Española de Administración Tributaria. Instrucciones del modelo:

Incluye la exportación al formato BOE para su uso telemático.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Create and file the Spanish AEAT Model 130 quarterly IRPF instalment payment directly in Odoo, with automatic calculation of the boxes from accounting entries and export in the official BOE file format.

This module adds a new report type, AEAT Model 130, for Spanish self-employed taxpayers who make quarterly income tax instalment payments under the direct estimation method. It appears under the AEAT submenu as "AEAT 130 model", with a list and a form to create, review and file each quarterly report.

On the form the user chooses the activity type (agricultural/livestock/forestry/fishing or other), and can tick two options: deduction under article 80 bis and a mortgage loan for the main home. A "Calculate" action fills the boxes from the accounting: income from accounts starting with 7, real expenses from accounts starting with 6, and withholdings from accounts starting with 473, all from the start of the year to the period end. It also adds the 5% of hard-to-justify expenses and deducts the instalments already paid in previous quarters of the same year.

Odoo then computes the net income, the 20% instalment, the amount to deduct, the possible 2% mortgage deduction (capped at 660.14 € per quarter) and the final result. The declaration type (to pay, negative or to deduct) is set automatically, and the bank account field only shows when there is an amount to pay.

Some options are not yet supported and raise an error: agricultural activity and the article 80 bis deduction. When confirming a complementary declaration, box 18 must be filled in. Reports are restricted to the user's companies, and the official BOE export file is included for online filing.

Depends on

Menus it adds

AEAT 130 model
Models and fields (1)
  • l10n.es.aeat.mod130.report · new modelresult (Resultado), comments (Observaciones), casilla_01 (Casilla [01] - Ingresos), casilla_02 (Casilla [02] - Gastos), casilla_03 (Casilla [03] - Rendimiento), casilla_04 (Casilla [04] - IRPF), casilla_05 (Casilla [05]), casilla_06 (Casilla [06]), casilla_07 (Casilla [07]), casilla_08 (Casilla [08] - Ingresos primario), casilla_09 (Casilla [09] - IRPF primario), casilla_10 (Casilla [10]), casilla_11 (Casilla [11]), casilla_12 (Casilla [12]), casilla_13 (Casilla [13] - Deducción art. 80 bis), casilla_14 (Casilla [14]), casilla_15 (Casilla [15]), casilla_16 (Casilla [16] - Deducción por pago de hipoteca), casilla_17 (Casilla [17]), casilla_18 (Casilla [18]), has_prestamo (¿Préstamo para vivienda habitual?), activity_type (Tipo de actividad), real_expenses (Gastos reales), has_deduccion_80 (¿Deducción por art. 80 bis?), tipo_declaracion (Tipo declaración), non_justified_expenses (Gastos de difícil justificación)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/l10n-spain.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.