-
-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
47 changed files
with
13,133 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
=============== | ||
AEAT modelo 123 | ||
=============== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:c97285a41dbf40c4f4e4b8cbc4f0fa1c601a9f278e2af202545036a6535e82fd | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github | ||
:target: https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_aeat_mod123 | ||
:alt: OCA/l10n-spain | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/l10n-spain-17-0/l10n-spain-17-0-l10n_es_aeat_mod123 | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=17.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
Modelo 123 de la AEAT. Retenciones e ingresos a cuenta del Impuesto | ||
sobre la Renta de las Personas Físicas, Impuesto sobre Sociedades y del | ||
Impuesto sobre la Renta de no Residentes (establecimientos permanentes). | ||
Determinados rendimientos del capital mobiliario o determinadas rentas. | ||
|
||
Este modelo tiene su utilidad sobre todo en préstamos entre empresas o | ||
particulares, o financiaciones recibidas por ENISA (Empresa Nacional de | ||
Innovación) o CDTI (Centro para el Desarrollo Tecnológico Industrial). | ||
|
||
Otra utilidad que se le da es para las retenciones en los repartos de | ||
dividendos. | ||
|
||
El modelo se presentará mensualmente para grandes empresas, y | ||
trimestralmente para el resto, por parte de aquellas empresas que deban | ||
abonar intereses de esos préstamos. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
Para introducir datos válidos para el modelo: | ||
|
||
1. Realizar una factura de proveedor de los intereses cobrados por la | ||
empresa o particular prestatario con impuesto "Retenciones 19% | ||
(préstamos)". | ||
2. O también puede realizar una factura de proveedor del reparto de | ||
dividendos con el impuesto "Retenciones 19% (dividendos)". | ||
3. Validarla. | ||
|
||
Para crear una declaración del modelo: | ||
|
||
1. Ir a *Facturación > Informes AEAT > Modelo 123*. | ||
2. Pulsar en el botón "Crear". | ||
3. Seleccionar el ejercicio fiscal y el tipo de período. Los periodos | ||
incluidos se calculan automáticamente. | ||
4. Seleccionar el tipo de declaración. | ||
5. Rellenar el teléfono, necesario para la exportacion BOE. | ||
6. Guardar y pulsar en el botón "Calcular". | ||
7. Cuando revise los valores, pulse en el botón "Confirmar". | ||
8. Se puede exportar la declaración en formato BOE para presentarla | ||
telemáticamente en el portal de la AEAT. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_aeat_mod123%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
------- | ||
|
||
* Tecnativa | ||
* Spanish Localization Team | ||
|
||
Contributors | ||
------------ | ||
|
||
- `Tecnativa <https://www.tecnativa.com>`__: | ||
|
||
- Pedro M. Baeza | ||
|
||
- `Sygel Technology <https://www.sygel.es>`__: | ||
|
||
- Valentin Vinagre | ||
- Manuel Regidor | ||
|
||
- Emilio Pascual (`Moduon <https://www.moduon.team/>`__) | ||
|
||
Maintainers | ||
----------- | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_aeat_mod123>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 2016-2021 Tecnativa - Pedro M. Baeza | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "AEAT modelo 123", | ||
"version": "17.0.1.0.0", | ||
"category": "Localisation/Accounting", | ||
"author": "Tecnativa, " | ||
"Spanish Localization Team, " | ||
"Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/l10n-spain", | ||
"license": "AGPL-3", | ||
"depends": ["l10n_es", "l10n_es_aeat"], | ||
"data": [ | ||
"data/l10n.es.aeat.map.tax.line.tax.csv", | ||
"data/2024/aeat.model.export.config.csv", | ||
"data/2024/aeat.model.export.config.line.csv", | ||
"data/2024/l10n.es.aeat.map.tax.csv", | ||
"data/2024/l10n.es.aeat.map.tax.line.csv", | ||
"data/2016/aeat.model.export.config.csv", | ||
"data/2016/aeat.model.export.config.line.csv", | ||
"data/2016/l10n.es.aeat.map.tax.csv", | ||
"data/2016/l10n.es.aeat.map.tax.line.csv", | ||
"views/mod123_view.xml", | ||
"security/ir.model.access.csv", | ||
"security/mod_123_security.xml", | ||
], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"id","name","model_number","model_id:id","date_start","date_end","active" | ||
"aeat_mod123_main_export_config","Mod. 123 2016-2023","123","model_l10n_es_aeat_mod123_report","2016-01-01","2023-12-31", | ||
"aeat_mod123_sub01_export_config","Mod. 123 2016 - Página","123",,,,False |
42 changes: 42 additions & 0 deletions
42
l10n_es_aeat_mod123/data/2016/aeat.model.export.config.line.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
"id","export_config_id:id","sequence","name","export_type","size","decimal_size","alignment","apply_sign","bool_no","bool_yes","expression","fixed_value","conditional_expression","subconfig_id/id" | ||
"aeat_mod123_sub01_export_line_01","aeat_mod123_sub01_export_config",1,"Constante: <T","string",2,,"left",,,,,"<T",, | ||
"aeat_mod123_sub01_export_line_02","aeat_mod123_sub01_export_config",2,"Constante: 123","string",3,,"left",,,,,"123",, | ||
"aeat_mod123_sub01_export_line_03","aeat_mod123_sub01_export_config",3,"Constante: 01","string",2,,"left",,,,,"01",, | ||
"aeat_mod123_sub01_export_line_04","aeat_mod123_sub01_export_config",4,"Constante: 000>","string",4,,"left",,,,,"000>",, | ||
"aeat_mod123_sub01_export_line_05","aeat_mod123_sub01_export_config",5,"Indicador de página complementaria: En blanco","string",1,,"left",,,,,,, | ||
"aeat_mod123_sub01_export_line_06","aeat_mod123_sub01_export_config",6,"Tipo de declaración","string",1,,"left",,,,"${object.tipo_declaracion}",,, | ||
"aeat_mod123_sub01_export_line_07","aeat_mod123_sub01_export_config",7,"Identificación: NIF","string",9,,"left",,,,"${object.company_vat}",,, | ||
"aeat_mod123_sub01_export_line_08","aeat_mod123_sub01_export_config",8,"Identificación: Denominación o Apellidos","string",60,,"left",,,,"${object.company_id.name}",,, | ||
"aeat_mod123_sub01_export_line_09","aeat_mod123_sub01_export_config",9,"Identificación: Nombre","string",20,,"left",,,,"${object.company_id.name if object.company_vat[0].isdigit() else ''}",,, | ||
"aeat_mod123_sub01_export_line_10","aeat_mod123_sub01_export_config",10,"Identificación: Ejercicio","string",4,,"left",,,,"${object.year}",,, | ||
"aeat_mod123_sub01_export_line_11","aeat_mod123_sub01_export_config",11,"Identificación: Periodo","string",2,,"left",,,,"${object.period_type}",,, | ||
"aeat_mod123_sub01_export_line_12","aeat_mod123_sub01_export_config",12,"Liquidación(3). Retenciones e ingresos a cuenta. Número perceptores [01]","integer",15,,"right",,,,"${object.casilla_01}",,, | ||
"aeat_mod123_sub01_export_line_13","aeat_mod123_sub01_export_config",13,"Liquidación(3). Retenciones e ingresos a cuenta. Base retenciones e ingresos a cuenta [02]","float",17,2,"right",1,,,"${object.casilla_02}",,, | ||
"aeat_mod123_sub01_export_line_14","aeat_mod123_sub01_export_config",14,"Liquidación(3). Retenciones e ingresos a cuenta. Retenciones e ingresos a cuenta, [03]","float",17,2,"right",1,,,"${object.casilla_03}",,, | ||
"aeat_mod123_sub01_export_line_15","aeat_mod123_sub01_export_config",15,"Liquidación(3). Periodificaci—n. Ingresos ejercicios anteriores. [04]","float",17,2,"right",1,,,"${object.casilla_04}",,, | ||
"aeat_mod123_sub01_export_line_16","aeat_mod123_sub01_export_config",16,"Liquidación(3). Periodificaci—n. Regularizaci—n. [05]","float",17,2,"right",1,,,"${object.casilla_05}",,, | ||
"aeat_mod123_sub01_export_line_17","aeat_mod123_sub01_export_config",17,"Liquidación(3). Total Liquidación. Suma de retenciones e ingresos a cuenta y regularizaci—n. [03] + [05]","float",17,2,"right",1,,,"${object.casilla_06}",,, | ||
"aeat_mod123_sub01_export_line_18","aeat_mod123_sub01_export_config",18,"Liquidación(3). Total Liquidación. Resultado de anteriores declaraciones. [07]","float",17,2,"right",1,,,"${object.casilla_07}",,, | ||
"aeat_mod123_sub01_export_line_19","aeat_mod123_sub01_export_config",19,"Liquidación(3). Total Liquidación. Resultado a ingresar. [08]","float",17,2,"right",1,,,"${object.casilla_08}",,, | ||
"aeat_mod123_sub01_export_line_20","aeat_mod123_sub01_export_config",20,"declaración complementaria","boolean",1,,"left",," ","X","${object.statement_type == 'C'}",,, | ||
"aeat_mod123_sub01_export_line_21","aeat_mod123_sub01_export_config",21,"Número de justificante de la declaración anterior","string",13,,"left",,,,"${object.previous_number if object.statement_type == 'C' else ''}",,, | ||
"aeat_mod123_sub01_export_line_22","aeat_mod123_sub01_export_config",22,"Domiciliación IBAN","string",34,,"left",,,,,,, | ||
"aeat_mod123_sub01_export_line_23","aeat_mod123_sub01_export_config",23,"Reservado AEAT","string",185,,"left",,,,,,, | ||
"aeat_mod123_sub01_export_line_24","aeat_mod123_sub01_export_config",24,"Reservado para la Administración. Sello electronico","string",13,,"left",,,,,,, | ||
"aeat_mod123_sub01_export_line_25","aeat_mod123_sub01_export_config",25,"Indicador de fin de registro","string",12,,"left",,,,,"</T12301000>",, | ||
"aeat_mod123_main_export_line_01","aeat_mod123_main_export_config",1,"Constante: <T","string",2,,"left",,,,,"<T",, | ||
"aeat_mod123_main_export_line_02","aeat_mod123_main_export_config",2,"Constante: 123","string",3,,"left",,,,,"123",, | ||
"aeat_mod123_main_export_line_03","aeat_mod123_main_export_config",3,"Constante: 0","string",1,,"left",,,,,"0",, | ||
"aeat_mod123_main_export_line_04","aeat_mod123_main_export_config",4,"Ejercicio devengo (AAAA)","string",4,,"left",,,,"${object.year}",,, | ||
"aeat_mod123_main_export_line_05","aeat_mod123_main_export_config",5,"Periodo (PP)","string",2,,"left",,,,"${object.period_type}",,, | ||
"aeat_mod123_main_export_line_06","aeat_mod123_main_export_config",6,"Constante: 0000>","string",5,,"left",,,,,"0000>",, | ||
"aeat_mod123_main_export_line_07","aeat_mod123_main_export_config",7,"Constante: <AUX>","string",5,,"left",,,,,"<AUX>",, | ||
"aeat_mod123_main_export_line_08","aeat_mod123_main_export_config",8,"Reservado para la Administración: Rellenar con blancos","string",70,,"left",,,,,,, | ||
"aeat_mod123_main_export_line_09","aeat_mod123_main_export_config",9,"Versión del programa","string",4,,"left",,,,,"odoo",, | ||
"aeat_mod123_main_export_line_10","aeat_mod123_main_export_config",10,"Reservado para la Administración. Rellenar con blancos","string",4,,"left",,,,,,, | ||
"aeat_mod123_main_export_line_11","aeat_mod123_main_export_config",11,"NIF Empresa Desarrollo","string",9,,"left",,,,,"G87846952",, | ||
"aeat_mod123_main_export_line_12","aeat_mod123_main_export_config",12,"Reservado para la Administración. Rellenar con blancos","string",213,,"left",,,,,,, | ||
"aeat_mod123_main_export_line_13","aeat_mod123_main_export_config",13,"Constante: </AUX>","string",6,,"left",,,,,"</AUX>",, | ||
"aeat_mod123_main_export_line_14","aeat_mod123_main_export_config",14,"Contenido del fichero [sub01]","subconfig",,,,,,,,,1,"aeat_mod123_sub01_export_config" | ||
"aeat_mod123_main_export_line_15","aeat_mod123_main_export_config",15,"Constante: </T1230+Ejercicio+periodo+0000>","string",18,,"left",,,,"</T1230${object.year}${object.period_type}0000>",,, | ||
"aeat_mod123_main_export_line_16","aeat_mod123_main_export_config",16,"Fin de Registro. Constante CRLF (Hexadecimal 0D0A, Decimal 1310)","string",2,,"left",,,,"${""\r\n"".encode(""ascii"")}",,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
id,model,date_from,date_to | ||
aeat_mod123_map,123,,2023-12-31 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
id,field_number,field_type,inverse,map_parent_id:id,name,sum_type,to_regularize,move_type,account_xmlid_ids/id,tax_xmlid_ids/id | ||
aeat_mod123_map_line_02,02,base,True,aeat_mod123_map,Base retenciones,both,True,regular,,"p_rp19,p_rrD19,p_irpf24_rdc" | ||
aeat_mod123_map_line_03,03,amount,False,aeat_mod123_map,Retenciones,credit,True,regular,,"p_rp19,p_rrD19,p_irpf24_rdc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"id","name","model_number","model_id:id","date_start","date_end","active" | ||
"aeat_mod123_2024_main_export_config","Mod. 123 2024-actualidad","123","model_l10n_es_aeat_mod123_report","2024-01-01",,True | ||
"aeat_mod123_2024_sub01_export_config","Mod. 123 2024 - Página","123",,,,False |
Oops, something went wrong.