OdooWiki OCA HUB

AEAT modelo 111

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

Modelo 111 de la AEAT. Retenciones e ingresos a cuenta. Rendimientos del trabajo y de actividades económicas, premios y determinadas ganancias patrimoniales e imputaciones de Renta. Autoliquidación.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets Spanish companies prepare and export the AEAT Modelo 111 withholding tax return, automatically filling in the boxes from mapped IRPF taxes and generating the official AEAT file.

This module adds the Spanish tax form Modelo 111 (withholdings and payments on account on work income, business income, prizes and certain capital gains) to Odoo.

Users find it under the AEAT menu as "AEAT 111 model". Each report is a record where Odoo computes the numbered boxes from the tax lines of the period, based on a predefined mapping of IRPF taxes (for example work income in cash or in kind, business income, prizes, forest gains and image rights).

  • Boxes [01] to [12] are calculated automatically from the mapped taxes: number of recipients, taxable base and amount retained.
  • Boxes [13] to [27] (prizes, forest gains, image rights) are entered manually.
  • Box [28] sums all the retained amounts, box [29] is the amount to offset from previous returns, and box [30] is the result ([28] minus [29]).

The form also handles the result type (to enter, direct debit, enter via tax current account, or negative), which is derived from the result, the bank account and the "tax current account" option. A "concerted school" flag is available for that special case.

When confirming the report, Odoo blocks it if the result in box [30] is negative. The module also provides the official AEAT export file layout (main record plus page records) so the return can be filed electronically, and it is restricted per company.

Depends on

Menus it adds

AEAT 111 model
Models and fields (1)
  • l10n.es.aeat.mod111.report · new modelcasilla_01 ([01] # Recipients), casilla_02 ([02] Taxable), casilla_03 ([03] Amount retained), casilla_04 ([04] # Recipients), casilla_05 ([05] Taxable), casilla_06 ([06] Amount retained), casilla_07 ([07] # Recipients), casilla_08 ([08] Taxable), casilla_09 ([09] Amount retained), casilla_10 ([10] # Recipients), casilla_11 ([11] Taxable), casilla_12 ([12] Amount retained), casilla_13 ([13] # Recipients), casilla_14 ([14] Taxable), casilla_15 ([15] Amount retained), casilla_16 ([16] # Recipients), casilla_17 ([17] Taxable), casilla_18 ([18] Amount retained), casilla_19 ([19] # Recipients), casilla_20 ([20] Taxable), casilla_21 ([21] Amount retained), casilla_22 ([22] # Recipients), casilla_23 ([23] Taxable), casilla_24 ([24] Amount retained), casilla_25 ([25] # Recipients), casilla_26 ([26] Taxable), casilla_27 ([27] Amount retained), casilla_28 ([28] Amount of retentions), casilla_29 ([29] Fees to compensate), casilla_30 ([30] Result)

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: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 15.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0

Para crear un modelo, por ejemplo de un trimestre del año:

  • Ir a Facturación \> Declaraciones AEAT \> Modelo 111
  • Pulsar en el botón "Crear"
  • Seleccionar el ejercicio fiscal y el tipo de período, los periodos incluidos se calculan automáticamente
  • Seleccionar el tipo de declaración
  • Rellenar el teléfono y teléfono móvil, necesarios para la exportacion BOE
  • Guardar y pulsar en el botón "Calcular"
  • Rellenar (si es necesario) aquellos campos que Odoo no calcula automáticamente:
  • Rendimientos del trabajo: Dinerarios ([01], [02], [03]) y en especie ([04], [05], [06])
  • Premios por la participación en juegos, concursos, ...: Dinerarios ([13], [14], [15]) y en especie ([16], [17], [18])
  • Ganancias patrimoniales derivadas de los aprovechamientos forestales ...: Dinerarias ([19], [20], [21]) y en especie ([22], [23], [24])
  • Contraprestaciones por la cesión de derechos de imagen ...: Casillas [25], [26] y [27]
  • Resultados a ingresar anteriores: Casilla [29]
  • Cuando los valores sean los correctos, pulsar en el botón "Confirmar"
  • Podemos exportar en formato BOE para presentarlo telemáticamente en el portal de la AEAT

NOTA: En el caso en que tengamos el addon 'l10n_es_aeat_mod216' deberemos indicar los proveedores que son residentes (éste es el valor por defecto), en la ficha de la empresa: Contabilidad \> Proveedores \> Proveedores, pestaña de Contabilidad. El campo "Es no residente" no debe estar marcado para que las retenciones realizadas a éste proveedor se incluyan en el modelo 111.

No verified information in OCA: Installation, Configuration.

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.