From 1c0c9f824e9aae0d84de4995ea3679565ed2803a Mon Sep 17 00:00:00 2001 From: Miquel Alzanillas Date: Sun, 13 Oct 2024 16:07:39 +0200 Subject: [PATCH 01/10] [11.0][IMP] l10n_es_extra_data: Nuevos impuestos no soportados por Odoo Oficial --- l10n_es_extra_data/data/account_data.xml | 15 + .../account_fiscal_position_template_data.xml | 160 +++++++ l10n_es_extra_data/data/account_tax_data.xml | 434 ++++++++++++++++++ l10n_es_extra_data/readme/CONTRIBUTORS.rst | 6 + 4 files changed, 615 insertions(+) diff --git a/l10n_es_extra_data/data/account_data.xml b/l10n_es_extra_data/data/account_data.xml index 58f2e7e95ca..45c806d7b58 100644 --- a/l10n_es_extra_data/data/account_data.xml +++ b/l10n_es_extra_data/data/account_data.xml @@ -9,4 +9,19 @@ Recargo de Equivalencia 0.62% + + IVA 2% + + + IVA 7.5% + + + Recargo de Equivalencia 0.26% + + + Recargo de Equivalencia 1% + + + IVA no deducible + diff --git a/l10n_es_extra_data/data/account_fiscal_position_template_data.xml b/l10n_es_extra_data/data/account_fiscal_position_template_data.xml index d30a316ffa1..d73b68849d7 100644 --- a/l10n_es_extra_data/data/account_fiscal_position_template_data.xml +++ b/l10n_es_extra_data/data/account_fiscal_position_template_data.xml @@ -166,4 +166,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/l10n_es_extra_data/data/account_tax_data.xml b/l10n_es_extra_data/data/account_tax_data.xml index ded4edaddcd..54c2bbf7765 100644 --- a/l10n_es_extra_data/data/account_tax_data.xml +++ b/l10n_es_extra_data/data/account_tax_data.xml @@ -30,6 +30,26 @@ taxes + + mod303[165] + taxes + + + + mod303[167] + taxes + + + + mod303[168] + taxes + + + + mod303[170] + taxes + + P_IVA0_S_SC purchase @@ -416,4 +436,418 @@ + + P_IVA2BC + purchase + 2% IVA soportado (bienes corrientes) + + + + + percent + + + + + P_IVA2SC + purchase + 2% IVA soportado (servicios corrientes) + + + + + percent + + + + + P_IVA75BC + purchase + 7.5% IVA soportado (bienes corrientes) + + + + + percent + + + + + P_IVA75SC + purchase + 7.5% IVA soportado (servicios corrientes) + + + + + percent + + + + + S_IVA75S + sale + IVA 7.5% (Servicios) + + + + + percent + + + + + S_IVA75B + sale + IVA 7.5% (Bienes) + + + + + percent + + + + + S_IVA2S + sale + IVA 2% (Servicios) + + + + + percent + + + + + S_IVA2B + sale + IVA 2% (Bienes) + + + + + percent + + + + + P_IVA75_IC_SC_1 + purchase + + + + + IVA 7.5% Adquisición de servicios intracomunitarios (1) + + percent + + + + + P_IVA75_IC_SC_2 + purchase + + + + + IVA 7.5% Adquisición de servicios intracomunitarios (2) + + percent + + + + + P_IVA75_IC_SC + purchase + + IVA 7.5% Adquisición de servicios intracomunitarios + + group + + + + + + P_IVA75_IC_BC_1 + purchase + + + + + IVA 7.5% Adquisición de bienes intracomunitarios (1) + + percent + + + + + P_IVA75_IC_BC_2 + purchase + + + + + IVA 7.5% Adquisición de bienes intracomunitarios (2) + + percent + + + + + P_IVA75_IC_BC + purchase + + IVA 7.5% Adquisición Intracomunitario. Bienes corrientes + + group + + + + + + + P_IVA2_IC_BC_1 + purchase + + + + + IVA 2% Adquisición de bienes intracomunitarios (1) + + percent + + + + + P_IVA2_IC_BC_2 + purchase + + + + + IVA 2% Adquisición de bienes intracomunitarios (2) + + percent + + + + + P_IVA2_IC_BC + purchase + + IVA 2% Adquisición Intracomunitario. Bienes corrientes + + group + + + + + + + P_IVA2_IC_SC_1 + purchase + + + + + IVA 2% Adquisición de servicios intracomunitarios (1) + + percent + + + + + P_IVA2_IC_BC_2 + purchase + + + + + IVA 2% Adquisición de servicios intracomunitarios (2) + + percent + + + + + P_IVA2_IC_SC + purchase + + IVA 2% Adquisición Intracomunitario. Servicios corrientes + + group + + + + + + + P_IVA2_IC_BC + purchase + IVA 2% Importaciones bienes corrientes + + + + + percent + + + + + P_IVA2_ISC_1 + + purchase + IVA 2% Adquisición de servicios extracomunitarios (1) + + + + + percent + + + + + P_IVA2_ISC_2 + purchase + + IVA 2% Adquisición de servicios extracomunitarios (2) + + + + + percent + + + + + P_IVA2_ISC + purchase + IVA 2% Adquisición de servicios extracomunitarios + + + group + + + + + + + P_IVA75_IC_BC + purchase + IVA 7.5% Importaciones bienes corrientes + + + + + percent + + + + + + P_IVA75_ISC_1 + + purchase + IVA 7.5% Adquisición de servicios extracomunitarios (1) + + + + + percent + + + + + P_IVA75_ISC_2 + purchase + + IVA 7.5% Adquisición de servicios extracomunitarios (2) + + + + + percent + + + + + P_IVA75_ISC + purchase + IVA 7.5% Adquisición de servicios extracomunitarios + + + group + + + + + + P_IVA75_ND + purchase + 7.5% IVA Soportado no deducible + + + percent + + + + + P_IVA2_ND + purchase + 2% IVA Soportado no deducible + + + percent + + + + + S_REQ026 + sale + 0.26% Recargo Equivalencia Ventas + + + + + percent + + + + + S_REQ1 + sale + 1% Recargo Equivalencia Ventas + + + + + percent + + + + + P_REQ026 + purchase + 0.26% Recargo Equivalencia Compras + + + + + percent + + + + + purchase + 1% Recargo Equivalencia Compras + + + + + percent + + + diff --git a/l10n_es_extra_data/readme/CONTRIBUTORS.rst b/l10n_es_extra_data/readme/CONTRIBUTORS.rst index 06f1dd3d5fa..3f160d9e114 100644 --- a/l10n_es_extra_data/readme/CONTRIBUTORS.rst +++ b/l10n_es_extra_data/readme/CONTRIBUTORS.rst @@ -9,3 +9,9 @@ * `FactorLibre `__: * Luis J. Salvatierra + +* `APSL - Nagarro `__: + + * Miquel Pascual + * Bernat Obrador + * Miquel Alzanillas From 88d6a05b8076794402b4584aa77e9c621ce6290a Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 28 Feb 2023 09:32:07 +0100 Subject: [PATCH 02/10] [FIX] l10n_es_aeat_mod303: Don't put bank details if not foreign AEAT is now stricter forcing to not fill this information if the bank account is not a foreign one. TT41873 --- .../2022/aeat.model.export.config.line.csv | 2 +- .../2023/aeat.model.export.config.line.csv | 14 ++--- l10n_es_aeat_mod303/i18n/es.po | 24 +++++++- .../i18n/l10n_es_aeat_mod303.pot | 59 ++++++++++++++++++- l10n_es_aeat_mod303/models/mod303.py | 45 +++++++------- 5 files changed, 112 insertions(+), 32 deletions(-) diff --git a/l10n_es_aeat_mod303/data/2022/aeat.model.export.config.line.csv b/l10n_es_aeat_mod303/data/2022/aeat.model.export.config.line.csv index ba5367dde88..afe3672879f 100644 --- a/l10n_es_aeat_mod303/data/2022/aeat.model.export.config.line.csv +++ b/l10n_es_aeat_mod303/data/2022/aeat.model.export.config.line.csv @@ -108,7 +108,7 @@ "aeat_mod303_2022_sub03_export_line_36","aeat_mod303_2022_sub03_export_config",34,"Devolución - Dirección del Banco/ Bank address","string",35,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.street or ''}",,,, "aeat_mod303_2022_sub03_export_line_37","aeat_mod303_2022_sub03_export_config",35,"Devolución - Ciudad/City","string",30,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.city or ''}",,,, "aeat_mod303_2022_sub03_export_line_38","aeat_mod303_2022_sub03_export_config",36,"Devolución - Código País/Country code","string",2,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.country.code or ''}",,,, -"aeat_mod303_2022_sub03_export_line_39","aeat_mod303_2022_sub03_export_config",37,"Devolución - Marca SEPA","integer",1,0,"left",0,"N",0," ","X","${int(object.marca_sepa or '0')}",,,, +"aeat_mod303_2022_sub03_export_line_39","aeat_mod303_2022_sub03_export_config",37,"Devolución - Marca SEPA","integer",1,0,"left",0,"N",0," ","X","${object.result_type in ['X', 'D'] and int(object.marca_sepa) or 0}",,,, "aeat_mod303_2022_sub03_export_line_40","aeat_mod303_2022_sub03_export_config",38,"Reservado para la AEAT","string",600,0,"left",1,"N",0," ","X",,,,, "aeat_mod303_2022_sub03_export_line_41","aeat_mod303_2022_sub03_export_config",39,"Indicador de fin de registro: ","string",12,0,"left",1,"N",0," ","X",,"",,, "aeat_mod303_2022_sub04_export_line_01","aeat_mod303_2022_sub04_export_config",1,"Constante: ","string",1,0,"left",1,"N",0," ","X",,">",,, -"aeat_mod303_2023_subdid_export_line_05","aeat_mod303_2023_subdid_export_config",5,"Devolución. SWIFT-BIC","string",11,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.marca_sepa == '3' and object.partner_bank_id.bank_bic or ''}",,,, -"aeat_mod303_2023_subdid_export_line_06","aeat_mod303_2023_subdid_export_config",6,"Domiciliación/Devolución - IBAN","string",34,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id and object.partner_bank_id.acc_number.replace(' ', '') or ''}",,,, -"aeat_mod303_2023_subdid_export_line_07","aeat_mod303_2023_subdid_export_config",7,"Devolución - Banco/Bank name","string",70,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.name or ''}",,,, -"aeat_mod303_2023_subdid_export_line_08","aeat_mod303_2023_subdid_export_config",8,"Devolución - Dirección del Banco/ Bank address","string",35,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.street or ''}",,,, -"aeat_mod303_2023_subdid_export_line_09","aeat_mod303_2023_subdid_export_config",9,"Devolución - Ciudad/City","string",30,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.city or ''}",,,, -"aeat_mod303_2023_subdid_export_line_10","aeat_mod303_2023_subdid_export_config",10,"Devolución - Código País/Country code","string",2,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.country.code or ''}",,,, -"aeat_mod303_2023_subdid_export_line_11","aeat_mod303_2023_subdid_export_config",11,"Devolución - Marca SEPA","integer",1,0,"left",0,"N",0," ","X","${int(object.marca_sepa or '0')}",,,, +"aeat_mod303_2023_subdid_export_line_05","aeat_mod303_2023_subdid_export_config",5,"Devolución. SWIFT-BIC","string",11,0,"left",1,"N",0," ","X","${object.result_type == 'X' and object.partner_bank_id.bank_bic or ''}",,,, +"aeat_mod303_2023_subdid_export_line_06","aeat_mod303_2023_subdid_export_config",6,"Domiciliación/Devolución - IBAN","string",34,0,"left",1,"N",0," ","X","${object.result_type in ['X', 'D'] and object.partner_bank_id and object.partner_bank_id.acc_number.replace(' ', '') or ''}",,,, +"aeat_mod303_2023_subdid_export_line_07","aeat_mod303_2023_subdid_export_config",7,"Devolución - Banco/Bank name","string",70,0,"left",1,"N",0," ","X","${object.result_type == 'X' and object.partner_bank_id.bank_id.name or ''}",,,, +"aeat_mod303_2023_subdid_export_line_08","aeat_mod303_2023_subdid_export_config",8,"Devolución - Dirección del Banco/ Bank address","string",35,0,"left",1,"N",0," ","X","${object.result_type == 'X' and object.partner_bank_id.bank_id.street or ''}",,,, +"aeat_mod303_2023_subdid_export_line_09","aeat_mod303_2023_subdid_export_config",9,"Devolución - Ciudad/City","string",30,0,"left",1,"N",0," ","X","${object.result_type == 'X' and object.partner_bank_id.bank_id.city or ''}",,,, +"aeat_mod303_2023_subdid_export_line_10","aeat_mod303_2023_subdid_export_config",10,"Devolución - Código País/Country code","string",2,0,"left",1,"N",0," ","X","${object.result_type == 'X' and object.partner_bank_id.bank_id.country.code or ''}",,,, +"aeat_mod303_2023_subdid_export_line_11","aeat_mod303_2023_subdid_export_config",11,"Devolución - Marca SEPA","integer",1,0,"left",0,"N",0," ","X","${object.result_type in ['X', 'D'] and int(object.marca_sepa) or 0}",,,, "aeat_mod303_2023_subdid_export_line_12","aeat_mod303_2023_subdid_export_config",12,"Reservado para la AEAT","string",617,0,"left",1,"N",0," ","X",,,,, "aeat_mod303_2023_subdid_export_line_13","aeat_mod303_2023_subdid_export_config",13,"Indicador de fin de registro: ","string",12,0,"left",1,"N",0," ","X",,"",,, "aeat_mod303_2023_main_export_line_01","aeat_mod303_2023_main_export_config",1,"Constante: 0: report.result_type = 'I' else: - if (report.devolucion_mensual or - report.period_type in ('4T', '12')): - report.result_type = 'D' + if report.devolucion_mensual or report.period_type in ("4T", "12"): + report.result_type = "D" if report.marca_sepa == "1" else "X" else: report.result_type = 'C' From 07a040370f6ad0e9701fb948114eb073c83a7615 Mon Sep 17 00:00:00 2001 From: "Luis J. Salvatierra" Date: Fri, 18 Oct 2024 14:28:03 +0200 Subject: [PATCH 03/10] [FIX] l10n_es_extra_data: rename tax template IDs --- l10n_es_extra_data/data/account_tax_data.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/l10n_es_extra_data/data/account_tax_data.xml b/l10n_es_extra_data/data/account_tax_data.xml index 54c2bbf7765..5ec1de33a9f 100644 --- a/l10n_es_extra_data/data/account_tax_data.xml +++ b/l10n_es_extra_data/data/account_tax_data.xml @@ -532,7 +532,7 @@ - + P_IVA75_IC_SC_1 purchase @@ -545,7 +545,7 @@ - + P_IVA75_IC_SC_2 purchase @@ -565,7 +565,7 @@ IVA 7.5% Adquisición de servicios intracomunitarios group - + @@ -607,7 +607,7 @@ - + P_IVA2_IC_BC_1 purchase @@ -640,12 +640,12 @@ IVA 2% Adquisición Intracomunitario. Bienes corrientes group - + - + P_IVA2_IC_SC_1 purchase @@ -678,7 +678,7 @@ IVA 2% Adquisición Intracomunitario. Servicios corrientes group - + @@ -813,7 +813,7 @@ percent - + S_REQ1 From 3fdb68129ff674038dc9ee6048b3fec1bd6ebe87 Mon Sep 17 00:00:00 2001 From: "Luis J. Salvatierra" Date: Fri, 18 Oct 2024 18:27:26 +0200 Subject: [PATCH 04/10] [IMP] l10n_es_aeat_mod303: New declaration format for 2024-10 --- l10n_es_aeat_mod303/__manifest__.py | 9 +- .../data/2023/aeat.model.export.config.csv | 2 +- .../data/2023/l10n.es.aeat.map.tax.csv | 2 +- .../data/2024-10/aeat.model.export.config.csv | 4 + .../2024-10/aeat.model.export.config.line.csv | 147 ++++++++++++++++ .../data/2024-10/l10n.es.aeat.map.tax.csv | 2 + .../2024-10/l10n.es.aeat.map.tax.line.csv | 63 +++++++ l10n_es_aeat_mod303/models/mod303.py | 160 ++++++++++++++---- l10n_es_aeat_mod303/readme/CONTRIBUTORS.rst | 21 +++ l10n_es_aeat_mod303/readme/ROADMAP.rst | 31 ++++ .../tests/test_l10n_es_aeat_mod303.py | 1 + l10n_es_aeat_mod303/views/mod303_view.xml | 112 ++++++------ l10n_es_extra_data/data/account_tax_data.xml | 152 +++++++++++++++-- 13 files changed, 599 insertions(+), 107 deletions(-) create mode 100644 l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.csv create mode 100644 l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv create mode 100644 l10n_es_aeat_mod303/data/2024-10/l10n.es.aeat.map.tax.csv create mode 100644 l10n_es_aeat_mod303/data/2024-10/l10n.es.aeat.map.tax.line.csv create mode 100644 l10n_es_aeat_mod303/readme/CONTRIBUTORS.rst diff --git a/l10n_es_aeat_mod303/__manifest__.py b/l10n_es_aeat_mod303/__manifest__.py index 9b39c255bb3..3ea94656a3d 100644 --- a/l10n_es_aeat_mod303/__manifest__.py +++ b/l10n_es_aeat_mod303/__manifest__.py @@ -16,10 +16,7 @@ "Odoo Community Association (OCA)", "website": "https://github.com/OCA/l10n-spain", "license": "AGPL-3", - "depends": [ - "l10n_es", - "l10n_es_aeat", - ], + "depends": ["l10n_es", "l10n_es_aeat", "l10n_es_extra_data"], "data": [ "data/2021-07/aeat.model.export.config.csv", "data/2021-07/aeat.model.export.config.line.csv", @@ -31,6 +28,10 @@ "data/2023/aeat.model.export.config.line.csv", "data/2023/l10n.es.aeat.map.tax.csv", "data/2023/l10n.es.aeat.map.tax.line.csv", + "data/2024-10/aeat.model.export.config.csv", + "data/2024-10/aeat.model.export.config.line.csv", + "data/2024-10/l10n.es.aeat.map.tax.csv", + "data/2024-10/l10n.es.aeat.map.tax.line.csv", "data/tax_code_map_mod303_data.xml", "data/aeat_export_mod303_data.xml", "data/aeat_export_mod303_2017_data.xml", diff --git a/l10n_es_aeat_mod303/data/2023/aeat.model.export.config.csv b/l10n_es_aeat_mod303/data/2023/aeat.model.export.config.csv index 89350ac01cb..89453ce27f9 100644 --- a/l10n_es_aeat_mod303/data/2023/aeat.model.export.config.csv +++ b/l10n_es_aeat_mod303/data/2023/aeat.model.export.config.csv @@ -1,5 +1,5 @@ "id","name","date_end","model_number","model_id:id","date_start","date_end","active" -"aeat_mod303_2023_main_export_config","Mod.303 2023-actualidad",,"303","model_l10n_es_aeat_mod303_report","2023-01-01",,True +"aeat_mod303_2023_main_export_config","Mod.303 2023-2024-08",,"303","model_l10n_es_aeat_mod303_report","2023-01-01","2024-08-31",True "aeat_mod303_2023_sub01_export_config","Exportación modelo 303 2023 - Régimen general/simplificado",,"303",,,,0 "aeat_mod303_2023_sub03_export_config","Exportación modelo 303 2023 - Información adicional + Resultado",,"303",,,,0 "aeat_mod303_2023_subdid_export_config","Exportación modelo 303 2023 - Devolución",,"303",,,,0 diff --git a/l10n_es_aeat_mod303/data/2023/l10n.es.aeat.map.tax.csv b/l10n_es_aeat_mod303/data/2023/l10n.es.aeat.map.tax.csv index ae878732535..3e5a1c0d1a4 100644 --- a/l10n_es_aeat_mod303/data/2023/l10n.es.aeat.map.tax.csv +++ b/l10n_es_aeat_mod303/data/2023/l10n.es.aeat.map.tax.csv @@ -1,2 +1,2 @@ id,model,date_from,date_to -aeat_mod303_2023_map,303,2023-01-01, +aeat_mod303_2023_map,303,2023-01-01,2024-09-30 diff --git a/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.csv b/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.csv new file mode 100644 index 00000000000..72e7278bccc --- /dev/null +++ b/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.csv @@ -0,0 +1,4 @@ +"id","name","date_end","model_number","model_id:id","date_start","date_end","active" +"aeat_mod303_2024_10_main_export_config","Mod. 303 2024-09-actualidad",,"303","model_l10n_es_aeat_mod303_report","2024-09-01",,True +"aeat_mod303_2024_10_sub01_export_config","Exportación modelo 303 2024-10 - Régimen general/simplificado",,"303",,,,0 +"aeat_mod303_2024_10_sub03_export_config","Exportación modelo 303 2024-10 - Información adicional + Resultado",,"303",,,,0 diff --git a/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv b/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv new file mode 100644 index 00000000000..4b8a0754ca1 --- /dev/null +++ b/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv @@ -0,0 +1,147 @@ +"id","export_config_id:id","sequence","name","export_type","size","decimal_size","alignment","apply_sign","negative_sign","positive_sign","bool_no","bool_yes","expression","fixed_value","conditional_expression","repeat_expression","subconfig_id/id" +"aeat_mod303_2024_10_sub01_export_line_01","aeat_mod303_2024_10_sub01_export_config",1,"Constante: ","string",1,0,"left",1,"N",0," ","X",,">",,, +"aeat_mod303_2024_10_sub01_export_line_05","aeat_mod303_2024_10_sub01_export_config",5,"Indicador de página complementaria","string",1,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_sub01_export_line_06","aeat_mod303_2024_10_sub01_export_config",6,"Tipo de declaración","string",1,0,"left",1,"N",0," ","X","${object.result_type}",,,, +"aeat_mod303_2024_10_sub01_export_line_07","aeat_mod303_2024_10_sub01_export_config",7,"Identificación: NIF","string",9,0,"left",1,"N",0," ","X","${object.company_vat}",,,, +"aeat_mod303_2024_10_sub01_export_line_08","aeat_mod303_2024_10_sub01_export_config",8,"Identificación: Apellidos y nombre o Razón social","string",80,0,"left",1,"N",0," ","X","${object.company_id.name}",,,, +"aeat_mod303_2024_10_sub01_export_line_09","aeat_mod303_2024_10_sub01_export_config",9,"Devengo: Ejercicio","string",4,0,"left",1,"N",0," ","X","${object.year}",,,, +"aeat_mod303_2024_10_sub01_export_line_10","aeat_mod303_2024_10_sub01_export_config",10,"Devengo: Periodo","string",2,0,"left",1,"N",0," ","X","${object.period_type}",,,, +"aeat_mod303_2024_10_sub01_export_line_11","aeat_mod303_2024_10_sub01_export_config",11,"Identificación: Tributación exclusivamente foral. Sujeto pasivo que tributa exclusivamente a una Administración tributaria Foral con IVA a la importación liquidado por la Aduana pendiente de ingreso (Forzado a NO)","string",1,0,"left",1,"N",0," ","X",,2,,, +"aeat_mod303_2024_10_sub01_export_line_12","aeat_mod303_2024_10_sub01_export_config",12,"Identificación: Sujeto pasivo inscrito en el Registro de devolución mensual (Art. 30 RIVA)","boolean",1,0,"left",1,"N",0,2,1,"${object.devolucion_mensual}",,,, +"aeat_mod303_2024_10_sub01_export_line_13","aeat_mod303_2024_10_sub01_export_config",13,"Identificación: Sujeto pasivo que tributa exclusivamente en Régimen Simplificado (RS) (Forzado a NO)","string",1,0,"left",1,"N",0," ","X",,3,,, +"aeat_mod303_2024_10_sub01_export_line_14","aeat_mod303_2024_10_sub01_export_config",14,"Identificación: Autoliquidación conjunta - Forzado a NO","string",1,0,"left",1,"N",0," ","X",,2,,, +"aeat_mod303_2024_10_sub01_export_line_15","aeat_mod303_2024_10_sub01_export_config",15,"Identificación: Sujeto pasivo acogido al régimen especial del criterio de Caja (art. 163 undecies LIVA) (Forzado a NO)","string",1,0,"left",1,"N",0," ","X",,2,,, +"aeat_mod303_2024_10_sub01_export_line_16","aeat_mod303_2024_10_sub01_export_config",16,"Identificación: Sujeto pasivo destinatario de operaciones acogidas al régimen especial del criterio de caja (Forzado a NO)","string",1,0,"left",1,"N",0," ","X",,2,,, +"aeat_mod303_2024_10_sub01_export_line_17","aeat_mod303_2024_10_sub01_export_config",17,"Identificación: Opción por la aplicación de la prorrata especial (art. 103.Dos.1º LIVA) (Forzado a NO)","string",1,0,"left",1,"N",0," ","X",,2,,, +"aeat_mod303_2024_10_sub01_export_line_18","aeat_mod303_2024_10_sub01_export_config",18,"Identificación: Revocación de la opción por la aplicación de la prorrata especial (Forzado a NO)","string",1,0,"left",1,"N",0," ","X",,2,,, +"aeat_mod303_2024_10_sub01_export_line_19","aeat_mod303_2024_10_sub01_export_config",19,"Identificación: Sujeto pasivo declarado en concurso de acreedores en el presente período de liquidación (Forzado a NO)","string",1,0,"left",1,"N",0," ","X",,2,,, +"aeat_mod303_2024_10_sub01_export_line_20","aeat_mod303_2024_10_sub01_export_config",20,"Identificación: Fecha en que se dictó el auto de declaración de concurso (Forzado a blanco)","string",8,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_sub01_export_line_21","aeat_mod303_2024_10_sub01_export_config",21,"Identificación: Tipo de autoliquidación si se ha dictado auto de declaración de concurso en este período (Forzado a blanco)","string",1,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_sub01_export_line_22","aeat_mod303_2024_10_sub01_export_config",22,"Identificación: Sujeto pasivo acogido voluntariamente al SII","boolean",1,0,"left",1,"N",0,2,1,"${object.is_voluntary_sii}",,,, +"aeat_mod303_2024_10_sub01_export_line_23","aeat_mod303_2024_10_sub01_export_config",23,"Identificación: Sujeto pasivo exonerado de la Declaración-resumen anual del IVA, modelo 390","integer",1,0,"left",0,"N",0," ","X","${0 if object.period_type not in ('4T', '12') else int(object.exonerated_390)}",,,, +"aeat_mod303_2024_10_sub01_export_line_24","aeat_mod303_2024_10_sub01_export_config",24,"Identificación: Sujeto pasivo con volumen anual de operaciones distinto de cero (art. 121 LIVA)","integer",1,0,"left",0,"N",0," ","X","${0 if (object.period_type not in ('4T', '12') or object.exonerated_390 == '2') else (1 if object.has_operation_volume else 2)}",,,, +"aeat_mod303_2024_10_sub01_export_line_25","aeat_mod303_2024_10_sub01_export_config",25,"Liquidación: Regimen General - IVA Devengado 0% - Base imponible [150]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==150).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_26","aeat_mod303_2024_10_sub01_export_config",26,"Liquidación: Regimen General - IVA Devengado 0% - Tipo % [151]","string",5,2,"right",0,"N",0," ","X",,"00000",,, +"aeat_mod303_2024_10_sub01_export_line_27","aeat_mod303_2024_10_sub01_export_config",27,"Liquidación: Regimen General - IVA Devengado 0% - Cuota [152]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==152).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_28","aeat_mod303_2024_10_sub01_export_config",28,"Liquidación: Regimen General - IVA Devengado 4% - Base imponible [01]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==1).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_29","aeat_mod303_2024_10_sub01_export_config",29,"Liquidación: Regimen General - IVA Devengado 4% - Tipo % [02]","string",5,2,"right",0,"N",0," ","X",,"00400",,, +"aeat_mod303_2024_10_sub01_export_line_30","aeat_mod303_2024_10_sub01_export_config",30,"Liquidación: Regimen General - IVA Devengado 4% - Cuota [03]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==3).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_31","aeat_mod303_2024_10_sub01_export_config",31,"Liquidación: Regimen General - IVA Devengado 5%/7.5% - Base imponible [153]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==153).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_32","aeat_mod303_2024_10_sub01_export_config",32,"Liquidación: Regimen General - IVA Devengado 5%/7.5% - Tipo % [154]","string",5,2,"right",0,"N",0," ","X","${'00500' if object.period_type in ('3T', '09') else '00750'}",,,, +"aeat_mod303_2024_10_sub01_export_line_33","aeat_mod303_2024_10_sub01_export_config",33,"Liquidación: Regimen General - IVA Devengado 5%/7.5% - Cuota [155]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==155).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_34","aeat_mod303_2024_10_sub01_export_config",34,"Liquidación: Regimen General - IVA Devengado 10% - Base imponible [04]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==4).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_35","aeat_mod303_2024_10_sub01_export_config",35,"Liquidación: Regimen General - IVA Devengado 10% - Tipo % [05]","string",5,2,"right",0,"N",0," ","X",,"01000",,, +"aeat_mod303_2024_10_sub01_export_line_36","aeat_mod303_2024_10_sub01_export_config",36,"Liquidación: Regimen General - IVA Devengado 10% - Cuota [06]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==6).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_37","aeat_mod303_2024_10_sub01_export_config",37,"Liquidación: Regimen General - IVA Devengado 21% - Base imponible [07]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==7).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_38","aeat_mod303_2024_10_sub01_export_config",38,"Liquidación: Regimen General - IVA Devengado 21% - Tipo % [08]","string",5,2,"right",0,"N",0," ","X","02100",,,, +"aeat_mod303_2024_10_sub01_export_line_39","aeat_mod303_2024_10_sub01_export_config",39,"Liquidación: Regimen General - IVA Devengado 21% - Cuota [09]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==9).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_40","aeat_mod303_2024_10_sub01_export_config",40,"Liquidación: Regimen General - IVA Devengado - Adquisiciones intracomunitarias de bienes y servicios - Base imponible [10]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==10).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_41","aeat_mod303_2024_10_sub01_export_config",41,"Liquidación: Regimen General - IVA Devengado - Adquisiciones intracomunitarias de bienes y servicios - Cuota [11]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==11).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_42","aeat_mod303_2024_10_sub01_export_config",42,"Liquidación: Regimen General - IVA Devengado - Otras operaciones con inversión del sujeto pasivo (excepto. adq. intracom) - Base imponible [12]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==12).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_43","aeat_mod303_2024_10_sub01_export_config",43,"Liquidación: Regimen General - IVA Devengado - Otras operaciones con inversión del sujeto pasivo (excepto. adq. intracom) - Cuota [13]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==13).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_44","aeat_mod303_2024_10_sub01_export_config",44,"Liquidación: Regimen General - IVA Devengado - Modificación bases y cuotas - Base imponible [14]","float",17,2,"right",1,"N",0," ","X","${sum(object.tax_line_ids.filtered(lambda r: r.field_number==14).mapped('amount'))}",,,, +"aeat_mod303_2024_10_sub01_export_line_45","aeat_mod303_2024_10_sub01_export_config",45,"Liquidación: Regimen General - IVA Devengado - Modificación bases y cuotas - Cuota [15]","float",17,2,"right",1,"N",0," ","X","${sum(object.tax_line_ids.filtered(lambda r: r.field_number==15).mapped('amount'))}",,,, +"aeat_mod303_2024_10_sub01_export_line_46","aeat_mod303_2024_10_sub01_export_config",46,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.75% - Base imponible [156]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==156).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_47","aeat_mod303_2024_10_sub01_export_config",47,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.75% - Tipo % [157]","string",5,2,"right",0,"N",0," ","X",,"00175",,, +"aeat_mod303_2024_10_sub01_export_line_48","aeat_mod303_2024_10_sub01_export_config",48,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.75% - Cuota [158]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==158).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_49","aeat_mod303_2024_10_sub01_export_config",49,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Base imponible [16]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==16).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_50","aeat_mod303_2024_10_sub01_export_config",50,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Tipo % [17]","float",5,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==18).move_line_ids.tax_line_id[:1].amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_51","aeat_mod303_2024_10_sub01_export_config",51,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Cuota [18]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==18).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_52","aeat_mod303_2024_10_sub01_export_config",52,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.4% - Base imponible [19]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==19).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_53","aeat_mod303_2024_10_sub01_export_config",53,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.4% - Tipo % [20]","string",5,2,"right",0,"N",0," ","X",,"00140",,, +"aeat_mod303_2024_10_sub01_export_line_54","aeat_mod303_2024_10_sub01_export_config",54,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.4% - Cuota [21]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==21).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_55","aeat_mod303_2024_10_sub01_export_config",55,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 5.2% - Base imponible [22]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==22).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_56","aeat_mod303_2024_10_sub01_export_config",56,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 5.2% - Tipo % [23]","string",5,2,"right",0,"N",0," ","X","00520",,,, +"aeat_mod303_2024_10_sub01_export_line_57","aeat_mod303_2024_10_sub01_export_config",57,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 5.2% - Cuota [24]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==24).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_58","aeat_mod303_2024_10_sub01_export_config",58,"Liquidación: Regimen General - IVA Devengado - Modificaciones bases y cuotas de recargo de equivalencia - Base imponible [25]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==25).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_59","aeat_mod303_2024_10_sub01_export_config",59,"Liquidación: Regimen General - IVA Devengado - Modificaciones bases y cuotas de recargo de equivalencia - Cuota [26]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==26).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_60","aeat_mod303_2024_10_sub01_export_config",60,"Liquidación: Regimen General - IVA Devengado - Total cuota devengada [27]","float",17,2,"right",1,"N",0," ","X","${object.total_devengado}",,,, +"aeat_mod303_2024_10_sub01_export_line_61","aeat_mod303_2024_10_sub01_export_config",61,"Liquidación: Regimen General - IVA Deducible - Por cuotas soportadas en operaciones interiores corrientes - Base [28]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==28).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_62","aeat_mod303_2024_10_sub01_export_config",62,"Liquidación: Regimen General - IVA Deducible - Por cuotas soportadas en operaciones interiores corrientes - Cuota [29]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==29).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_63","aeat_mod303_2024_10_sub01_export_config",63,"Liquidación: Regimen General - IVA Deducible - Por cuotas soportadas en operaciones con bienes de inversión - Base [30]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==30).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_64","aeat_mod303_2024_10_sub01_export_config",64,"Liquidación: Regimen General - IVA Deducible - Por cuotas soportadas en operaciones con bienes de inversión - Cuota [31]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==31).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_65","aeat_mod303_2024_10_sub01_export_config",65,"Liquidación: Regimen General - IVA Deducible - Por cuotas soportadas en las importaciones de bienes corrientes - Base [32]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==32).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_66","aeat_mod303_2024_10_sub01_export_config",66,"Liquidación: Regimen General - IVA Deducible - Por cuotas soportadas en las importaciones de bienes corrientes - Cuota [33]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==33).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_67","aeat_mod303_2024_10_sub01_export_config",67,"Liquidación: Regimen General - IVA Deducible - Por las cuotas soportadas en las importaciones de bienes de inversión - Base [34]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==34).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_68","aeat_mod303_2024_10_sub01_export_config",68,"Liquidación: Regimen General - IVA Deducible - Por las cuotas soportadas en las importaciones de bienes de inversión - Cuota [35]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==35).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_69","aeat_mod303_2024_10_sub01_export_config",69,"Liquidación: Regimen General - IVA Deducible - En adquisiciones intracomunitarias de bienes y servicios corrientes - Base [36]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==36).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_70","aeat_mod303_2024_10_sub01_export_config",70,"Liquidación: Regimen General - IVA Deducible - En adquisiciones intracomunitarias de bienes y servicios corrientes - Cuota [37]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==37).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_71","aeat_mod303_2024_10_sub01_export_config",71,"Liquidación: Regimen General - IVA Deducible - En adquisiciones intracomunitarias de bienes de inversión - Base [38]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==38).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_72","aeat_mod303_2024_10_sub01_export_config",72,"Liquidación: Regimen General - IVA Deducible - En adquisiciones intracomunitarias de bienes de inversión - Cuota [39]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==39).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_73","aeat_mod303_2024_10_sub01_export_config",73,"Liquidación: Regimen General - IVA Deducible - Rectificación de deducciones - Base [40]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==40).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_74","aeat_mod303_2024_10_sub01_export_config",74,"Liquidación: Regimen General - IVA Deducible - Rectificación de deducciones - Cuota [41]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==41).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_75","aeat_mod303_2024_10_sub01_export_config",75,"Liquidación: Regimen General - IVA Deducible - Compensaciones Régimen Especial A.G. y P. - Cuota [42]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==42).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_76","aeat_mod303_2024_10_sub01_export_config",76,"Liquidación: Regimen General - IVA Deducible - Regularización inversiones - Cuota [43]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==43).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_77","aeat_mod303_2024_10_sub01_export_config",77,"Liquidación: Regimen General - IVA Deducible - Regularización por aplicación del porcentaje definitivo de prorrata - Cuota [44]","float",17,2,"right",1,"N",0," ","X",,0,,, +"aeat_mod303_2024_10_sub01_export_line_78","aeat_mod303_2024_10_sub01_export_config",78,"Liquidación: Regimen General - IVA Deducible - Total a deducir - Cuota [45]","float",17,2,"right",1,"N",0," ","X","${object.total_deducir}",,,, +"aeat_mod303_2024_10_sub01_export_line_79","aeat_mod303_2024_10_sub01_export_config",79,"Liquidación: Regimen General - IVA Deducible - Resultado régimen general - Cuota [46]","float",17,2,"right",1,"N",0," ","X","${object.casilla_46}",,,, +"aeat_mod303_2024_10_sub01_export_line_80","aeat_mod303_2024_10_sub01_export_config",80,"Liquidación: Regimen General - IVA Devengado 2% - Base imponible [165]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==165).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_81","aeat_mod303_2024_10_sub01_export_config",81,"Liquidación: Regimen General - IVA Devengado 2% - Tipo % [166]","string",5,2,"right",0,"N",0," ","X","${'00000' if object.period_type in ('3T', '09') else '00200'}",,,, +"aeat_mod303_2024_10_sub01_export_line_82","aeat_mod303_2024_10_sub01_export_config",82,"Liquidación: Regimen General - IVA Devengado 2% - Cuota [167]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==167).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_83","aeat_mod303_2024_10_sub01_export_config",83,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0.26% - Base imponible [168]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==168).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_84","aeat_mod303_2024_10_sub01_export_config",84,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0.26% - Tipo % [169]","string",5,2,"right",0,"N",0," ","X","${'00000' if object.period_type in ('3T', '09') else '00026'}",,,, +"aeat_mod303_2024_10_sub01_export_line_85","aeat_mod303_2024_10_sub01_export_config",85,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0.26% - Cuota [170]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==170).amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_86","aeat_mod303_2024_10_sub01_export_config",86,"Reservado para la AEAT","string",522,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_sub01_export_line_87","aeat_mod303_2024_10_sub01_export_config",87,"Reservado para la AEAT: Sello electrónico reservado para la AEAT","string",13,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_sub01_export_line_88","aeat_mod303_2024_10_sub01_export_config",88,"Indicador de fin de registro: ","string",12,0,"left",1,"N",0," ","X",,"",,, +"aeat_mod303_2024_10_sub03_export_line_01","aeat_mod303_2024_10_sub03_export_config",1,"Constante: ","string",1,0,"left",1,"N",0," ","X",,">",,, +"aeat_mod303_2024_10_sub03_export_line_05","aeat_mod303_2024_10_sub03_export_config",5,"Información adicional - Entregas intracomunitarias de bienes y servicios [59]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==59).amount}",,,, +"aeat_mod303_2024_10_sub03_export_line_06","aeat_mod303_2024_10_sub03_export_config",6,"Información adicional - Exportaciones y operaciones asimiladas [60]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==60).amount}",,,, +"aeat_mod303_2024_10_sub03_export_line_07","aeat_mod303_2024_10_sub03_export_config",7,"Información adicional - Operaciones no sujetas por reglas de localización (excepto las incluidas en la casilla 123) [120]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==120).amount}",,,, +"aeat_mod303_2024_10_sub03_export_line_08","aeat_mod303_2024_10_sub03_export_config",8,"Información adicional - Operaciones sujetas con inversión del sujeto pasivo [122]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==122).amount}",,,, +"aeat_mod303_2024_10_sub03_export_line_09","aeat_mod303_2024_10_sub03_export_config",9,"Información adicional - Operaciones no sujetas por reglas de localización acogidas a los regímenes especiales de ventanilla única [123]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==123).amount}",,,, +"aeat_mod303_2024_10_sub03_export_line_10","aeat_mod303_2024_10_sub03_export_config",10,"Información adicional - Operaciones sujetas y acogidas a los regímenes especiales de ventanilla única [124]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==124).amount}",,,, +"aeat_mod303_2024_10_sub03_export_line_11","aeat_mod303_2024_10_sub03_export_config",11,"Información adicional - Importes de las entregas de bienes y prestaciones de servicios a las que habiéndoles sido aplicado el régimen especial del criterio de caja hubieran resultado devengadas conforme a la regla general de devengo contenida en el art. 75 LIVA - Base Imponible [62]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==62).amount}",,,, +"aeat_mod303_2024_10_sub03_export_line_12","aeat_mod303_2024_10_sub03_export_config",12,"Información adicional - Importes de las entregas de bienes y prestaciones de servicios a las que habiéndoles sido aplicado el régimen especial del criterio de caja hubieran resultado devengadas conforme a la regla general de devengo contenida en el art. 75 LIVA - Cuota [63]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==63).amount}",,,, +"aeat_mod303_2024_10_sub03_export_line_13","aeat_mod303_2024_10_sub03_export_config",13,"Información adicional - Importes de las adquisiciones de bienes y servicios a las que sea de aplicación o afecte el régimen especial del criterio de caja - Base Imponible [74]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==74).amount}",,,, +"aeat_mod303_2024_10_sub03_export_line_14","aeat_mod303_2024_10_sub03_export_config",14,"Información adicional - Importes de las adquisiciones de bienes y servicios a las que sea de aplicación o afecte el régimen especial del criterio de caja - Cuota [75]","float",17,2,"right",1,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==75).amount}",,,, +"aeat_mod303_2024_10_sub03_export_line_15","aeat_mod303_2024_10_sub03_export_config",15,"Resultado - Regularización cuotas rt. 80 cinco. 5ª LIVA [76] (Forzado a 0)","float",17,2,"right",1,"N",0," ","X",,0,,, +"aeat_mod303_2024_10_sub03_export_line_16","aeat_mod303_2024_10_sub03_export_config",16,"Resultado - Suma de resultados [64] (Sólo coge el de RG)","float",17,2,"right",1,"N",0," ","X","${object.casilla_46}",,,, +"aeat_mod303_2024_10_sub03_export_line_17","aeat_mod303_2024_10_sub03_export_config",17,"Resultado - % Atribuible a la Administración del Estado [65]","float",5,2,"right",0,"N",0," ","X","${object.porcentaje_atribuible_estado}",,,, +"aeat_mod303_2024_10_sub03_export_line_18","aeat_mod303_2024_10_sub03_export_config",18,"Resultado - Atribuible a la Administración del Estado [66]","float",17,2,"right",1,"N",0," ","X","${object.atribuible_estado}",,,, +"aeat_mod303_2024_10_sub03_export_line_19","aeat_mod303_2024_10_sub03_export_config",19,"Resultado - IVA a la importación liquidado por la Aduana pendiente de ingreso [77]","float",17,2,"right",0,"N",0," ","X","${object.casilla_77}",,,, +"aeat_mod303_2024_10_sub03_export_line_20","aeat_mod303_2024_10_sub03_export_config",20,"Resultado - Cuotas a compensar pendientes de periodos anteriores [110]","float",17,2,"right",0,"N",0," ","X","${object.potential_cuota_compensar}",,,, +"aeat_mod303_2024_10_sub03_export_line_21","aeat_mod303_2024_10_sub03_export_config",21,"Resultado - Cuotas a compensar de periodos anteriores aplicadas en este periodo [78]","float",17,2,"right",0,"N",0," ","X","${object.cuota_compensar}",,,, +"aeat_mod303_2024_10_sub03_export_line_22","aeat_mod303_2024_10_sub03_export_config",22,"Resultado - Cuotas a compensar de periodos previos pendientes para periodos posteriores ([110] - [78]) [87]","float",17,2,"right",0,"N",0," ","X","${object.remaining_cuota_compensar}",,,, +"aeat_mod303_2024_10_sub03_export_line_23","aeat_mod303_2024_10_sub03_export_config",23,"Resultado - Exclusivamente para sujetos pasivos que tributan conjuntamente a la Administración del Estado y a las Diputaciones Forales Resultado de la regularización anual [68]","float",17,2,"right",1,"N",0," ","X","${object.regularizacion_anual}",,,, +"aeat_mod303_2024_10_sub03_export_line_24","aeat_mod303_2024_10_sub03_export_config",24,"Resultado - Resultado de la autoliquidación ([66] + [77] - [78] + [68]) [69]","float",17,2,"right",1,"N",0," ","X","${object.casilla_69}",,,, +"aeat_mod303_2024_10_sub03_export_line_25","aeat_mod303_2024_10_sub03_export_config",25,"Resultado - Resultados a ingresar de anteriores autoliquidaciones o liquidaciones administrativas correspondientes al ejercicio y período objeto de la autoliquidación [70]","float",17,2,"right",1,"N",0," ","X","${object.previous_result}",,,, +"aeat_mod303_2024_10_sub03_export_line_26","aeat_mod303_2024_10_sub03_export_config",26,"Resultado - Devoluciones acordadas por la Agencia Tributaria como consecuencia de la tramitación de anteriores autoliquidaciones correspondientes al ejercicio y período objeto de la autoliquidación [109] (fijado a 0)","float",17,2,"right",1,"N",0," ","X",,0,,, +"aeat_mod303_2024_10_sub03_export_line_27","aeat_mod303_2024_10_sub03_export_config",27,"Resultado - Resultado de la liquidación ( [69] - [70] + [109] ) [71]","float",17,2,"right",1,"N",0," ","X","${object.resultado_liquidacion}",,,, +"aeat_mod303_2024_10_sub03_export_line_28","aeat_mod303_2024_10_sub03_export_config",28,"Declaración sin actividad","boolean",1,0,"left",1,"N",0," ","X","${object.result_type == 'N'}",,,, +"aeat_mod303_2024_10_sub03_export_line_29","aeat_mod303_2024_10_sub03_export_config",29,"Rectificativa - Autoliquidación rectificativa","boolean",1,0,"left",1,"N",0," ","X","${object.type == 'C'}",,,, +"aeat_mod303_2024_10_sub03_export_line_30","aeat_mod303_2024_10_sub03_export_config",30,"Rectificativa - Número justificante identificativo de la autoliquidación anterior","string",13,0,"left",1,"N",0," ","X","${object.previous_number}",,,, +"aeat_mod303_2024_10_sub03_export_line_31","aeat_mod303_2024_10_sub03_export_config",31,"Rectificativa - Como consecuencia de la presentación de la autoliquidación rectificativa solicito dar de baja/modificar la domiciliación efectuada (TODO)","boolean",1,0,"left",1,"N",0," ","X","${False}",,,, +"aeat_mod303_2024_10_sub03_export_line_32","aeat_mod303_2024_10_sub03_export_config",32,"Rectificativa - Exclusivamente para determinados supuestos de autoliquidación rectificativa por discrepancia de criterio administrativo que no deban incluirse en otras casillas. Otros ajustes [108] (TODO: Forzado a 0)","float",17,2,"right",1,"N",0," ","X",,0,,, +"aeat_mod303_2024_10_sub03_export_line_33","aeat_mod303_2024_10_sub03_export_config",33,"Rectificativa - Rectificación - Importe [111] (TODO: Forzado a 0)","float",17,2,"right",1,"N",0," ","X",,0,,, +"aeat_mod303_2024_10_sub03_export_line_34","aeat_mod303_2024_10_sub03_export_config",34,"Reservado para la AEAT","string",120,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_sub03_export_line_35","aeat_mod303_2024_10_sub03_export_config",35,"Rectificativa - Motivo de la rectificación: Rectificaciones (excepto incluidas en el motivo siguiente) (TODO: Forzado a True)","boolean",1,0,"left",1,"N",0," ","X","${True}",,,, +"aeat_mod303_2024_10_sub03_export_line_36","aeat_mod303_2024_10_sub03_export_config",36,"Rectificativa - Motivo de la rectificación: Discrepancia criterio administrativo (TODO)","boolean",1,0,"left",1,"N",0," ","X","${False}",,,, +"aeat_mod303_2024_10_sub03_export_line_37","aeat_mod303_2024_10_sub03_export_config",37,"Reservado para la AEAT","string",443,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_sub03_export_line_38","aeat_mod303_2024_10_sub03_export_config",38,"Indicador de fin de registro: ","string",12,0,"left",1,"N",0," ","X",,"",,, +"aeat_mod303_2024_10_main_export_line_01","aeat_mod303_2024_10_main_export_config",1,"Constante: ",,, +"aeat_mod303_2024_10_main_export_line_07","aeat_mod303_2024_10_main_export_config",7,"Constante: ","string",5,0,"left",1,"N",0," ","X",,"",,, +"aeat_mod303_2024_10_main_export_line_08","aeat_mod303_2024_10_main_export_config",8,"Reservado para la Administración: Rellenar con blancos","string",70,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_main_export_line_09","aeat_mod303_2024_10_main_export_config",9,"Versión del Programa: ","string",4,0,"left",1,"N",0," ","X",,"odoo",,, +"aeat_mod303_2024_10_main_export_line_10","aeat_mod303_2024_10_main_export_config",10,"Reservado para la Administración: Rellenar con blancos","string",4,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_main_export_line_11","aeat_mod303_2024_10_main_export_config",11,"NIF Empresa Desarrollo","string",9,0,"left",1,"N",0," ","X",,"G87846952",,, +"aeat_mod303_2024_10_main_export_line_12","aeat_mod303_2024_10_main_export_config",12,"Reservado para la Administración: Rellenar con blancos","string",213,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_main_export_line_13","aeat_mod303_2024_10_main_export_config",13,"Constante: ","string",6,0,"left",1,"N",0," ","X",,"",,, +"aeat_mod303_2024_10_main_export_line_14","aeat_mod303_2024_10_main_export_config",14,"P01 - Régimen general/simplificado","subconfig",0,0,"left",1,"N",0," ","X",,,,,"aeat_mod303_2024_10_sub01_export_config" +"aeat_mod303_2024_10_main_export_line_15","aeat_mod303_2024_10_main_export_config",15,"P02 - Régimen agrícola, ganadero y forestal (Omitido)","string",0,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_main_export_line_16","aeat_mod303_2024_10_main_export_config",16,"P03 - Informacion adicional + resultado","subconfig",0,0,"left",1,"N",0," ","X",,,,,"aeat_mod303_2024_10_sub03_export_config" +"aeat_mod303_2024_10_main_export_line_17","aeat_mod303_2024_10_main_export_config",17,"P04 - Informacion adicional - Último periodo exonerados 390","subconfig",0,0,"left",1,"N",0," ","X",,,"object.period_type in ('4T', '12') and object.exonerated_390 == '1'",,"aeat_mod303_2022_sub04_export_config" +"aeat_mod303_2024_10_main_export_line_18","aeat_mod303_2024_10_main_export_config",18,"P05 - Prorratas y deducciones diferenciales (Omitido)","string",0,0,"left",1,"N",0," ","X",,,,, +"aeat_mod303_2024_10_main_export_line_19","aeat_mod303_2024_10_main_export_config",19,"PDID - Devolución","subconfig",0,0,"left",1,"N",0," ","X",,,,,"aeat_mod303_2023_subdid_export_config" +"aeat_mod303_2024_10_main_export_line_20","aeat_mod303_2024_10_main_export_config",20,"Constante. ","string",18,0,"left",1,"N",0," ","X","",,,, diff --git a/l10n_es_aeat_mod303/data/2024-10/l10n.es.aeat.map.tax.csv b/l10n_es_aeat_mod303/data/2024-10/l10n.es.aeat.map.tax.csv new file mode 100644 index 00000000000..c66323b6cde --- /dev/null +++ b/l10n_es_aeat_mod303/data/2024-10/l10n.es.aeat.map.tax.csv @@ -0,0 +1,2 @@ +id,model,date_from,date_to +aeat_mod303_2024_10_map,303,2024-10-01, diff --git a/l10n_es_aeat_mod303/data/2024-10/l10n.es.aeat.map.tax.line.csv b/l10n_es_aeat_mod303/data/2024-10/l10n.es.aeat.map.tax.line.csv new file mode 100644 index 00000000000..ede9621559a --- /dev/null +++ b/l10n_es_aeat_mod303/data/2024-10/l10n.es.aeat.map.tax.line.csv @@ -0,0 +1,63 @@ +id,map_parent_id:id,field_number,name,to_regularize,move_type,field_type,sum_type,inverse,tax_ids/id +aeat_mod303_2024_10_map_line_01,aeat_mod303_2024_10_map,1,Régimen General - Base imponible 4%,0,regular,base,both,0,"l10n_es.account_tax_template_s_iva4b,l10n_es.account_tax_template_s_iva4s" +aeat_mod303_2024_10_map_line_03,aeat_mod303_2024_10_map,3,Régimen General - Cuota 4%,1,regular,amount,both,0,"l10n_es.account_tax_template_s_iva4b,l10n_es.account_tax_template_s_iva4s" +aeat_mod303_2024_10_map_line_04,aeat_mod303_2024_10_map,4,Régimen General - Base imponible 10%,0,regular,base,both,0,"l10n_es.account_tax_template_s_iva10b,l10n_es.account_tax_template_s_iva10s" +aeat_mod303_2024_10_map_line_06,aeat_mod303_2024_10_map,6,Régimen General - Cuota 10%,1,regular,amount,both,0,"l10n_es.account_tax_template_s_iva10b,l10n_es.account_tax_template_s_iva10s" +aeat_mod303_2024_10_map_line_07,aeat_mod303_2024_10_map,7,Régimen General - Base imponible 21%,0,regular,base,both,0,"l10n_es.account_tax_template_s_iva21b,l10n_es.account_tax_template_s_iva21s,l10n_es.account_tax_template_s_iva21isp" +aeat_mod303_2024_10_map_line_09,aeat_mod303_2024_10_map,9,Régimen General - Cuota 21%,1,regular,amount,both,0,"l10n_es.account_tax_template_s_iva21b,l10n_es.account_tax_template_s_iva21s,l10n_es.account_tax_template_s_iva21isp" +aeat_mod303_2024_10_map_line_10,aeat_mod303_2024_10_map,10,Adquisiciones intracomunitarias de bienes y servicios - Base imponible,0,regular,base,both,1,"l10n_es_extra_data.account_tax_template_p_iva0_ic_bc,l10n_es_extra_data.account_tax_template_p_iva0_ic_sc_2,l10n_es_extra_data.account_tax_template_p_iva2_ic_bc_2,l10n_es_extra_data.account_tax_template_p_iva2_ic_sc_2,l10n_es.account_tax_template_p_iva4_ic_bc_2,l10n_es.account_tax_template_p_iva4_sp_in_1,l10n_es.account_tax_template_p_iva4_ic_bi_2,l10n_es_extra_data.account_tax_template_p_iva5_ic_sc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_bc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_sc_2,l10n_es.account_tax_template_p_iva10_ic_bc_2,l10n_es.account_tax_template_p_iva10_sp_in_1,l10n_es.account_tax_template_p_iva10_ic_bi_2,l10n_es.account_tax_template_p_iva21_ic_bc_2,l10n_es.account_tax_template_p_iva21_sp_in_1,l10n_es.account_tax_template_p_iva21_ic_bi_2" +aeat_mod303_2024_10_map_line_11,aeat_mod303_2024_10_map,11,Adquisiciones intracomunitarias de bienes y servicios - Cuota,1,regular,amount,both,0,"l10n_es_extra_data.account_tax_template_p_iva0_ic_bc,l10n_es_extra_data.account_tax_template_p_iva0_ic_sc_2,l10n_es_extra_data.account_tax_template_p_iva2_ic_bc_2,l10n_es_extra_data.account_tax_template_p_iva2_ic_sc_2,l10n_es.account_tax_template_p_iva4_ic_bc_2,l10n_es.account_tax_template_p_iva4_sp_in_1,l10n_es.account_tax_template_p_iva4_ic_bi_2,l10n_es_extra_data.account_tax_template_p_iva5_ic_sc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_bc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_sc_2,l10n_es.account_tax_template_p_iva10_ic_bc_2,l10n_es.account_tax_template_p_iva10_sp_in_1,l10n_es.account_tax_template_p_iva10_ic_bi_2,l10n_es.account_tax_template_p_iva21_ic_bc_2,l10n_es.account_tax_template_p_iva21_sp_in_1,l10n_es.account_tax_template_p_iva21_ic_bi_2" +aeat_mod303_2024_10_map_line_12,aeat_mod303_2024_10_map,12,Otras operac. con inversión del suj. pasivo (excepto adq. intracom.) - Base imponible,,regular,base,both,1,"l10n_es_extra_data.account_tax_template_p_iva0_isc_2,l10n_es_extra_data.account_tax_template_p_iva2_isc_2,l10n_es.account_tax_template_p_iva4_sp_ex_1,l10n_es.account_tax_template_p_iva4_isp_2,l10n_es_extra_data.account_tax_template_p_iva4_isp_bi_2,l10n_es_extra_data.account_tax_template_p_iva5_isc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_isc_2,l10n_es.account_tax_template_p_iva10_sp_ex_1,l10n_es.account_tax_template_p_iva10_isp_2,l10n_es_extra_data.account_tax_template_p_iva10_isp_bi_2,l10n_es.account_tax_template_p_iva21_sp_ex_1,l10n_es.account_tax_template_p_iva21_isp_2,l10n_es_extra_data.account_tax_template_p_iva21_isp_bi_2" +aeat_mod303_2024_10_map_line_13,aeat_mod303_2024_10_map,13,Otras operac. con inversión del suj. pasivo (excepto adq. intracom.) - Cuota,1,regular,amount,both,0,"l10n_es_extra_data.account_tax_template_p_iva0_isc_2,l10n_es_extra_data.account_tax_template_p_iva2_isc_2,l10n_es.account_tax_template_p_iva4_sp_ex_1,l10n_es.account_tax_template_p_iva4_isp_2,l10n_es_extra_data.account_tax_template_p_iva4_isp_bi_2,l10n_es_extra_data.account_tax_template_p_iva5_isc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_isc_2,l10n_es.account_tax_template_p_iva10_sp_ex_1,l10n_es.account_tax_template_p_iva10_isp_2,l10n_es_extra_data.account_tax_template_p_iva10_isp_bi_2,l10n_es.account_tax_template_p_iva21_sp_ex_1,l10n_es.account_tax_template_p_iva21_isp_2,l10n_es_extra_data.account_tax_template_p_iva21_isp_bi_2" +aeat_mod303_2024_10_map_line_14_sale,aeat_mod303_2024_10_map,14,Modificación bases y cuotas - Base imponible (Ventas),0,refund,base,both,0,"l10n_es_extra_data.account_tax_template_s_iva0b,l10n_es_extra_data.account_tax_template_s_iva0s,l10n_es_extra_data.account_tax_template_s_iva2s,l10n_es_extra_data.account_tax_template_s_iva2b,l10n_es.account_tax_template_s_iva4b,l10n_es.account_tax_template_s_iva4s,l10n_es_extra_data.account_tax_template_s_iva5s,l10n_es_extra_data.account_tax_template_s_iva7-5b,l10n_es_extra_data.account_tax_template_s_iva7-5s,l10n_es.account_tax_template_s_iva10b,l10n_es.account_tax_template_s_iva10s,l10n_es.account_tax_template_s_iva21b,l10n_es.account_tax_template_s_iva21s,l10n_es.account_tax_template_s_iva21isp" +aeat_mod303_2024_10_map_line_14_purchase,aeat_mod303_2024_10_map,14,Modificación bases y cuotas - Base imponible (Compras),0,refund,base,both,1,"l10n_es_extra_data.account_tax_template_p_iva0_ic_bc,l10n_es_extra_data.account_tax_template_p_iva0_ic_sc_2,l10n_es_extra_data.account_tax_template_p_iva2_ic_bc_2,l10n_es_extra_data.account_tax_template_p_iva2_ic_sc_2,l10n_es.account_tax_template_p_iva4_ic_bc_2,l10n_es.account_tax_template_p_iva4_sp_in_1,l10n_es.account_tax_template_p_iva4_ic_bi_2,l10n_es_extra_data.account_tax_template_p_iva5_isc_2,l10n_es_extra_data.account_tax_template_p_iva5_ic_sc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_bc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_sc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_isc_2,l10n_es.account_tax_template_p_iva10_ic_bc_2,l10n_es.account_tax_template_p_iva10_sp_in_1,l10n_es.account_tax_template_p_iva10_ic_bi_2,l10n_es.account_tax_template_p_iva21_ic_bc_2,l10n_es.account_tax_template_p_iva21_sp_in_1,l10n_es.account_tax_template_p_iva21_ic_bi_2,l10n_es_extra_data.account_tax_template_p_iva0_isc_2,l10n_es_extra_data.account_tax_template_p_iva2_isc_2,l10n_es.account_tax_template_p_iva4_sp_ex_1,l10n_es.account_tax_template_p_iva4_isp_2,l10n_es.account_tax_template_p_iva10_sp_ex_1,l10n_es.account_tax_template_p_iva10_isp_2,l10n_es.account_tax_template_p_iva21_sp_ex_1,l10n_es.account_tax_template_p_iva21_isp_2,l10n_es_extra_data.account_tax_template_p_iva4_isp_bi_2,l10n_es_extra_data.account_tax_template_p_iva10_isp_bi_2,l10n_es_extra_data.account_tax_template_p_iva21_isp_bi_2" +aeat_mod303_2024_10_map_line_15_sale,aeat_mod303_2024_10_map,15,Modificación bases y cuotas - Cuota (Ventas),1,refund,amount,both,0,"l10n_es_extra_data.account_tax_template_s_iva0b,l10n_es_extra_data.account_tax_template_s_iva0s,l10n_es_extra_data.account_tax_template_s_iva2s,l10n_es_extra_data.account_tax_template_s_iva2b,l10n_es.account_tax_template_s_iva4b,l10n_es.account_tax_template_s_iva4s,l10n_es_extra_data.account_tax_template_s_iva5s,l10n_es_extra_data.account_tax_template_s_iva7-5b,l10n_es_extra_data.account_tax_template_s_iva7-5s,l10n_es.account_tax_template_s_iva10b,l10n_es.account_tax_template_s_iva10s,l10n_es.account_tax_template_s_iva21b,l10n_es.account_tax_template_s_iva21s,l10n_es.account_tax_template_s_iva21isp" +aeat_mod303_2024_10_map_line_15_purchase,aeat_mod303_2024_10_map,15,Modificación bases y cuotas - Cuota (Compras),1,refund,amount,both,0,"l10n_es_extra_data.account_tax_template_p_iva0_ic_bc,l10n_es_extra_data.account_tax_template_p_iva0_ic_sc_2,l10n_es_extra_data.account_tax_template_p_iva2_ic_bc_2,l10n_es_extra_data.account_tax_template_p_iva2_ic_sc_2,l10n_es.account_tax_template_p_iva4_ic_bc_2,l10n_es.account_tax_template_p_iva4_sp_in_1,l10n_es.account_tax_template_p_iva4_ic_bi_2,l10n_es_extra_data.account_tax_template_p_iva5_isc_2,l10n_es_extra_data.account_tax_template_p_iva5_ic_sc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_bc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_sc_2,l10n_es_extra_data.account_tax_template_p_iva7-5_isc_2,l10n_es.account_tax_template_p_iva10_ic_bc_2,l10n_es.account_tax_template_p_iva10_sp_in_1,l10n_es.account_tax_template_p_iva10_ic_bi_2,l10n_es.account_tax_template_p_iva21_ic_bc_2,l10n_es.account_tax_template_p_iva21_sp_in_1,l10n_es.account_tax_template_p_iva21_ic_bi_2,l10n_es_extra_data.account_tax_template_p_iva0_isc_2,l10n_es_extra_data.account_tax_template_p_iva2_isc_2,l10n_es.account_tax_template_p_iva4_sp_ex_1,l10n_es.account_tax_template_p_iva4_isp_2,l10n_es.account_tax_template_p_iva10_sp_ex_1,l10n_es.account_tax_template_p_iva10_isp_2,l10n_es.account_tax_template_p_iva21_sp_ex_1,l10n_es.account_tax_template_p_iva21_isp_2,l10n_es_extra_data.account_tax_template_p_iva4_isp_bi_2,l10n_es_extra_data.account_tax_template_p_iva10_isp_bi_2,l10n_es_extra_data.account_tax_template_p_iva21_isp_bi_2" +aeat_mod303_2024_10_map_line_16,aeat_mod303_2024_10_map,16,Recargo equivalencia - Base imponible 0%/0.5%/0.62%/1%,0,regular,base,both,0,"l10n_es_extra_data.account_tax_template_s_req0,l10n_es.account_tax_template_s_req05,l10n_es_extra_data.account_tax_template_s_req062,l10n_es_extra_data.account_tax_template_s_req1" +aeat_mod303_2024_10_map_line_18,aeat_mod303_2024_10_map,18,Recargo equivalencia - Cuota 0%/0.5%/0.62%/1%,1,regular,amount,both,0,"l10n_es_extra_data.account_tax_template_s_req0,l10n_es.account_tax_template_s_req05,l10n_es_extra_data.account_tax_template_s_req062,l10n_es_extra_data.account_tax_template_s_req1" +aeat_mod303_2024_10_map_line_19,aeat_mod303_2024_10_map,19,Recargo equivalencia - Base imponible 1.4%,0,regular,base,both,0,l10n_es.account_tax_template_s_req014 +aeat_mod303_2024_10_map_line_21,aeat_mod303_2024_10_map,21,Recargo equivalencia - Cuota 1.4%,1,regular,amount,both,0,l10n_es.account_tax_template_s_req014 +aeat_mod303_2024_10_map_line_22,aeat_mod303_2024_10_map,22,Recargo equivalencia - Base imponible 5.2%,0,regular,base,both,0,l10n_es.account_tax_template_s_req52 +aeat_mod303_2024_10_map_line_24,aeat_mod303_2024_10_map,24,Recargo equivalencia - Cuota 5.2%,1,regular,amount,both,0,l10n_es.account_tax_template_s_req52 +aeat_mod303_2024_10_map_line_25,aeat_mod303_2024_10_map,25,Modificación bases y cuotas del recargo de equivalencia - Base imponible,0,refund,base,both,0,"l10n_es_extra_data.account_tax_template_s_req0,l10n_es_extra_data.account_tax_template_s_req026,l10n_es.account_tax_template_s_req05,l10n_es.account_tax_template_s_req014,l10n_es.account_tax_template_s_req52,l10n_es_extra_data.account_tax_template_s_req062,l10n_es_extra_data.account_tax_template_s_req1" +aeat_mod303_2024_10_map_line_26,aeat_mod303_2024_10_map,26,Modificación bases y cuotas del recargo de equivalencia - Cuota,1,refund,amount,both,0,"l10n_es_extra_data.account_tax_template_s_req0,l10n_es_extra_data.account_tax_template_s_req026,l10n_es.account_tax_template_s_req05,l10n_es.account_tax_template_s_req014,l10n_es.account_tax_template_s_req52,l10n_es_extra_data.account_tax_template_s_req062,l10n_es_extra_data.account_tax_template_s_req1" +aeat_mod303_2024_10_map_line_28,aeat_mod303_2024_10_map,28,Por cuotas soportadas en operaciones interiores corrientes - Base,0,regular,base,both,1,"l10n_es_extra_data.account_tax_template_p_req0,l10n_es.account_tax_template_p_req05,l10n_es.account_tax_template_p_req014,l10n_es_extra_data.account_tax_template_p_req026,l10n_es.account_tax_template_p_req52,l10n_es_extra_data.account_tax_template_p_req062,l10n_es_extra_data.account_tax_template_p_req1,l10n_es.account_tax_template_p_iva0_bc,l10n_es_extra_data.account_tax_template_p_iva0_sc,l10n_es_extra_data.account_tax_template_p_iva0_isc_1,l10n_es_extra_data.account_tax_template_p_iva2_bc,l10n_es_extra_data.account_tax_template_p_iva2_sc,l10n_es_extra_data.account_tax_template_p_iva2_isc_1,l10n_es.account_tax_template_p_iva4_sc,l10n_es.account_tax_template_p_iva4_bc,l10n_es.account_tax_template_p_iva4_isp_1,l10n_es.account_tax_template_p_iva4_sp_ex_2,l10n_es_extra_data.account_tax_template_p_iva5_sc,l10n_es_extra_data.account_tax_template_p_iva5_isc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_sc,l10n_es_extra_data.account_tax_template_p_iva7-5_bc,l10n_es_extra_data.account_tax_template_p_iva7-5_isc_1,l10n_es.account_tax_template_p_iva10_sc,l10n_es.account_tax_template_p_iva10_bc,l10n_es.account_tax_template_p_iva10_isp_1,l10n_es.account_tax_template_p_iva10_sp_ex_2,l10n_es.account_tax_template_p_iva21_sc,l10n_es.account_tax_template_p_iva21_bc,l10n_es.account_tax_template_p_iva21_isp_1,l10n_es.account_tax_template_p_iva21_sp_ex_2" +aeat_mod303_2024_10_map_line_29,aeat_mod303_2024_10_map,29,Por cuotas soportadas en operaciones interiores corrientes - Cuota,1,regular,amount,both,1,"l10n_es_extra_data.account_tax_template_p_req0,l10n_es.account_tax_template_p_req05,l10n_es.account_tax_template_p_req014,l10n_es_extra_data.account_tax_template_p_req026,l10n_es.account_tax_template_p_req52,l10n_es_extra_data.account_tax_template_p_req062,l10n_es_extra_data.account_tax_template_p_req1,l10n_es.account_tax_template_p_iva0_bc,l10n_es_extra_data.account_tax_template_p_iva0_sc,l10n_es_extra_data.account_tax_template_p_iva0_isc_1,l10n_es_extra_data.account_tax_template_p_iva2_bc,l10n_es_extra_data.account_tax_template_p_iva2_sc,l10n_es_extra_data.account_tax_template_p_iva2_isc_1,l10n_es.account_tax_template_p_iva4_sc,l10n_es.account_tax_template_p_iva4_bc,l10n_es.account_tax_template_p_iva4_isp_1,l10n_es.account_tax_template_p_iva4_sp_ex_2,l10n_es_extra_data.account_tax_template_p_iva5_sc,l10n_es_extra_data.account_tax_template_p_iva5_isc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_sc,l10n_es_extra_data.account_tax_template_p_iva7-5_bc,l10n_es_extra_data.account_tax_template_p_iva7-5_isc_1,l10n_es.account_tax_template_p_iva10_sc,l10n_es.account_tax_template_p_iva10_bc,l10n_es.account_tax_template_p_iva10_isp_1,l10n_es.account_tax_template_p_iva10_sp_ex_2,l10n_es.account_tax_template_p_iva21_sc,l10n_es.account_tax_template_p_iva21_bc,l10n_es.account_tax_template_p_iva21_isp_1,l10n_es.account_tax_template_p_iva21_sp_ex_2" +aeat_mod303_2024_10_map_line_30,aeat_mod303_2024_10_map,30,Por cuotas soportadas en operaciones interiores con bienes de inversión - Base,0,regular,base,both,1,"l10n_es.account_tax_template_p_iva4_bi,l10n_es.account_tax_template_p_iva10_bi,l10n_es.account_tax_template_p_iva21_bi,l10n_es_extra_data.account_tax_template_p_iva4_isp_bi_1,l10n_es_extra_data.account_tax_template_p_iva10_isp_bi_1,l10n_es_extra_data.account_tax_template_p_iva21_isp_bi_1" +aeat_mod303_2024_10_map_line_31,aeat_mod303_2024_10_map,31,Por cuotas soportadas en operaciones interiores con bienes de inversión - Cuota,1,regular,amount,both,1,"l10n_es.account_tax_template_p_iva4_bi,l10n_es.account_tax_template_p_iva10_bi,l10n_es.account_tax_template_p_iva21_bi,l10n_es_extra_data.account_tax_template_p_iva4_isp_bi_1,l10n_es_extra_data.account_tax_template_p_iva10_isp_bi_1,l10n_es_extra_data.account_tax_template_p_iva21_isp_bi_1" +aeat_mod303_2024_10_map_line_32,aeat_mod303_2024_10_map,32,Por cuotas soportadas en las importaciones de bienes corrientes - Base,0,regular,base,both,1,"l10n_es_extra_data.account_tax_template_p_iva2_ibc,l10n_es.account_tax_template_p_iva4_ibc,l10n_es_extra_data.account_tax_template_p_iva7-5_ibc,l10n_es.account_tax_template_p_iva10_ibc,l10n_es.account_tax_template_p_iva21_ibc" +aeat_mod303_2024_10_map_line_33,aeat_mod303_2024_10_map,33,Por cuotas soportadas en las importaciones de bienes corrientes - Cuota,1,regular,amount,both,1,"l10n_es_extra_data.account_tax_template_p_iva2_ibc,l10n_es.account_tax_template_p_iva4_ibc,l10n_es_extra_data.account_tax_template_p_iva7-5_ibc,l10n_es.account_tax_template_p_iva10_ibc,l10n_es.account_tax_template_p_iva21_ibc" +aeat_mod303_2024_10_map_line_34,aeat_mod303_2024_10_map,34,Por cuotas soportadas en las importaciones de bienes de inversión - Base,0,regular,base,both,1,"l10n_es.account_tax_template_p_iva4_ibi,l10n_es.account_tax_template_p_iva10_ibi,l10n_es.account_tax_template_p_iva21_ibi" +aeat_mod303_2024_10_map_line_35,aeat_mod303_2024_10_map,35,Por cuotas soportadas en las importaciones de bienes de inversión - Cuota,1,regular,amount,both,1,"l10n_es.account_tax_template_p_iva4_ibi,l10n_es.account_tax_template_p_iva10_ibi,l10n_es.account_tax_template_p_iva21_ibi" +aeat_mod303_2024_10_map_line_36,aeat_mod303_2024_10_map,36,En adquisiciones intracomunitarias de bienes y servicios corrientes - Base,0,regular,base,both,1,"l10n_es_extra_data.account_tax_template_p_iva0_ic_bc,l10n_es_extra_data.account_tax_template_p_iva0_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva2_ic_bc_1,l10n_es_extra_data.account_tax_template_p_iva2_ic_sc_1,l10n_es.account_tax_template_p_iva4_ic_bc_1,l10n_es.account_tax_template_p_iva4_sp_in_2,l10n_es_extra_data.account_tax_template_p_iva5_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_bc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_sc_1,l10n_es.account_tax_template_p_iva10_ic_bc_1,l10n_es.account_tax_template_p_iva10_sp_in_2,l10n_es.account_tax_template_p_iva21_ic_bc_1,l10n_es.account_tax_template_p_iva21_sp_in_2" +aeat_mod303_2024_10_map_line_37,aeat_mod303_2024_10_map,37,En adquisiciones intracomunitarias de bienes y servicios corrientes - Cuota,1,regular,amount,both,1,"l10n_es_extra_data.account_tax_template_p_iva0_ic_bc,l10n_es_extra_data.account_tax_template_p_iva0_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva2_ic_bc_1,l10n_es_extra_data.account_tax_template_p_iva2_ic_sc_1,l10n_es.account_tax_template_p_iva4_ic_bc_1,l10n_es.account_tax_template_p_iva4_sp_in_2,l10n_es_extra_data.account_tax_template_p_iva5_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_bc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_sc_1,l10n_es.account_tax_template_p_iva10_ic_bc_1,l10n_es.account_tax_template_p_iva10_sp_in_2,l10n_es.account_tax_template_p_iva21_ic_bc_1,l10n_es.account_tax_template_p_iva21_sp_in_2" +aeat_mod303_2024_10_map_line_38,aeat_mod303_2024_10_map,38,En adquisiciones intracomunitarias de bienes de inversión - Base,0,regular,base,both,1,"l10n_es.account_tax_template_p_iva4_ic_bi_1,l10n_es.account_tax_template_p_iva10_ic_bi_1,l10n_es.account_tax_template_p_iva21_ic_bi_1" +aeat_mod303_2024_10_map_line_39,aeat_mod303_2024_10_map,39,En adquisiciones intracomunitarias de bienes de inversión - Cuota,1,regular,amount,both,1,"l10n_es.account_tax_template_p_iva4_ic_bi_1,l10n_es.account_tax_template_p_iva10_ic_bi_1,l10n_es.account_tax_template_p_iva21_ic_bi_1" +aeat_mod303_2024_10_map_line_40,aeat_mod303_2024_10_map,40,Rectificación de deducciones - Base,0,refund,base,both,1,"l10n_es_extra_data.account_tax_template_p_req0,l10n_es.account_tax_template_p_req05,l10n_es.account_tax_template_p_req014,l10n_es_extra_data.account_tax_template_p_req026,l10n_es.account_tax_template_p_req52,l10n_es_extra_data.account_tax_template_p_req062,l10n_es_extra_data.account_tax_template_p_req1,l10n_es.account_tax_template_p_iva0_bc,l10n_es_extra_data.account_tax_template_p_iva0_sc,l10n_es_extra_data.account_tax_template_p_iva0_ic_bc,l10n_es_extra_data.account_tax_template_p_iva0_isc_1,l10n_es_extra_data.account_tax_template_p_iva0_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva2_ic_bc_1,l10n_es_extra_data.account_tax_template_p_iva2_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva2_ibc,l10n_es_extra_data.account_tax_template_p_iva2_bc,l10n_es_extra_data.account_tax_template_p_iva2_sc,l10n_es_extra_data.account_tax_template_p_iva2_isc_1,l10n_es.account_tax_template_p_iva4_bc,l10n_es.account_tax_template_p_iva4_sc,l10n_es.account_tax_template_p_iva4_bi,l10n_es.account_tax_template_p_iva4_ibc,l10n_es.account_tax_template_p_iva4_ibi,l10n_es.account_tax_template_p_iva4_ic_bc_1,l10n_es.account_tax_template_p_iva4_ic_bi_1,l10n_es.account_tax_template_p_iva4_sp_in_2,l10n_es.account_tax_template_p_iva4_sp_ex_2,l10n_es.account_tax_template_p_iva4_isp_1,l10n_es_extra_data.account_tax_template_p_iva4_isp_bi_1,l10n_es_extra_data.account_tax_template_p_iva5_sc,l10n_es_extra_data.account_tax_template_p_iva5_isc_1,l10n_es_extra_data.account_tax_template_p_iva5_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_ibc,l10n_es_extra_data.account_tax_template_p_iva7-5_sc,l10n_es_extra_data.account_tax_template_p_iva7-5_bc,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_bc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_isc_1,l10n_es.account_tax_template_p_iva10_bc,l10n_es.account_tax_template_p_iva10_sc,l10n_es.account_tax_template_p_iva10_bi,l10n_es.account_tax_template_p_iva10_ibc,l10n_es.account_tax_template_p_iva10_ibi,l10n_es.account_tax_template_p_iva10_ic_bc_1,l10n_es.account_tax_template_p_iva10_ic_bi_1,l10n_es.account_tax_template_p_iva10_sp_in_2,l10n_es.account_tax_template_p_iva10_sp_ex_2,l10n_es.account_tax_template_p_iva10_isp_1,l10n_es_extra_data.account_tax_template_p_iva10_isp_bi_1,l10n_es.account_tax_template_p_iva21_bc,l10n_es.account_tax_template_p_iva21_sc,l10n_es.account_tax_template_p_iva21_bi,l10n_es.account_tax_template_p_iva21_ibc,l10n_es.account_tax_template_p_iva21_ibi,l10n_es.account_tax_template_p_iva21_ic_bc_1,l10n_es.account_tax_template_p_iva21_ic_bi_1,l10n_es.account_tax_template_p_iva21_sp_in_2,l10n_es.account_tax_template_p_iva21_sp_ex_2,l10n_es.account_tax_template_p_iva21_isp_1,l10n_es_extra_data.account_tax_template_p_iva21_isp_bi_1" +aeat_mod303_2024_10_map_line_41,aeat_mod303_2024_10_map,41,Rectificación de deducciones - Cuota,1,refund,amount,both,1,"l10n_es_extra_data.account_tax_template_p_req0,l10n_es.account_tax_template_p_req05,l10n_es.account_tax_template_p_req014,l10n_es_extra_data.account_tax_template_p_req026,l10n_es.account_tax_template_p_req52,l10n_es_extra_data.account_tax_template_p_req062,l10n_es_extra_data.account_tax_template_p_req1,l10n_es.account_tax_template_p_iva0_bc,l10n_es_extra_data.account_tax_template_p_iva0_sc,l10n_es_extra_data.account_tax_template_p_iva0_ic_bc,l10n_es_extra_data.account_tax_template_p_iva0_isc_1,l10n_es_extra_data.account_tax_template_p_iva0_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva2_ic_bc_1,l10n_es_extra_data.account_tax_template_p_iva2_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva2_ibc,l10n_es_extra_data.account_tax_template_p_iva2_bc,l10n_es_extra_data.account_tax_template_p_iva2_sc,l10n_es_extra_data.account_tax_template_p_iva2_isc_1,l10n_es.account_tax_template_p_iva4_bc,l10n_es.account_tax_template_p_iva4_sc,l10n_es.account_tax_template_p_iva4_bi,l10n_es.account_tax_template_p_iva4_ibc,l10n_es.account_tax_template_p_iva4_ibi,l10n_es.account_tax_template_p_iva4_ic_bc_1,l10n_es.account_tax_template_p_iva4_ic_bi_1,l10n_es.account_tax_template_p_iva4_sp_in_2,l10n_es.account_tax_template_p_iva4_sp_ex_2,l10n_es.account_tax_template_p_iva4_isp_1,l10n_es_extra_data.account_tax_template_p_iva4_isp_bi_1,l10n_es_extra_data.account_tax_template_p_iva5_sc,l10n_es_extra_data.account_tax_template_p_iva5_isc_1,l10n_es_extra_data.account_tax_template_p_iva5_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_ibc,l10n_es_extra_data.account_tax_template_p_iva7-5_sc,l10n_es_extra_data.account_tax_template_p_iva7-5_bc,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_bc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_ic_sc_1,l10n_es_extra_data.account_tax_template_p_iva7-5_isc_1,l10n_es.account_tax_template_p_iva10_bc,l10n_es.account_tax_template_p_iva10_sc,l10n_es.account_tax_template_p_iva10_bi,l10n_es.account_tax_template_p_iva10_ibc,l10n_es.account_tax_template_p_iva10_ibi,l10n_es.account_tax_template_p_iva10_ic_bc_1,l10n_es.account_tax_template_p_iva10_ic_bi_1,l10n_es.account_tax_template_p_iva10_sp_in_2,l10n_es.account_tax_template_p_iva10_sp_ex_2,l10n_es.account_tax_template_p_iva10_isp_1,l10n_es_extra_data.account_tax_template_p_iva10_isp_bi_1,l10n_es.account_tax_template_p_iva21_bc,l10n_es.account_tax_template_p_iva21_sc,l10n_es.account_tax_template_p_iva21_bi,l10n_es.account_tax_template_p_iva21_ibc,l10n_es.account_tax_template_p_iva21_ibi,l10n_es.account_tax_template_p_iva21_ic_bc_1,l10n_es.account_tax_template_p_iva21_ic_bi_1,l10n_es.account_tax_template_p_iva21_sp_in_2,l10n_es.account_tax_template_p_iva21_sp_ex_2,l10n_es.account_tax_template_p_iva21_isp_1,l10n_es_extra_data.account_tax_template_p_iva21_isp_bi_1" +aeat_mod303_2024_10_map_line_42,aeat_mod303_2024_10_map,42,Compensaciones Régimen especial A. G. y P. - Cuota compras,1,all,amount,both,1,l10n_es.account_tax_template_p_iva12_agr +aeat_mod303_2024_10_map_line_43,aeat_mod303_2024_10_map,43,Regularización bienes de inversión,1,all,amount,both,0, +aeat_mod303_2024_10_map_line_44,aeat_mod303_2024_10_map,44,Regularización por aplicación del porcentaje definitivo de prorrata,1,all,amount,both,0, +aeat_mod303_2024_10_map_line_59,aeat_mod303_2024_10_map,59,Entregas intracomunitarias de bienes y servicios - Base ventas,0,all,base,both,0,"l10n_es.account_tax_template_s_iva0_ic,l10n_es.account_tax_template_s_iva0_sp_i" +aeat_mod303_2024_10_map_line_60,aeat_mod303_2024_10_map,60,Exportaciones y operaciones asimiladas - Base ventas,0,all,base,both,0,"l10n_es.account_tax_template_s_iva0_e,l10n_es.account_tax_template_s_iva0,l10n_es.account_tax_template_s_iva_ns,l10n_es.account_tax_template_s_iva_ns_b" +aeat_mod303_2024_10_map_line_62,aeat_mod303_2024_10_map,62,Importes de las entregas de bienes y prestaciones de servicios a las que habiéndoles sido aplicado el régimen especial del criterio de caja hubieran resultado devengadas conforme a la regla general de devengo contenida en el art. 75 LIVA - Base imponible,0,all,amount,both,0, +aeat_mod303_2024_10_map_line_63,aeat_mod303_2024_10_map,63,Importes de las entregas de bienes y prestaciones de servicios a las que habiéndoles sido aplicado el régimen especial del criterio de caja hubieran resultado devengadas conforme a la regla general de devengo contenida en el art. 75 LIVA - Cuota,1,all,amount,both,0, +aeat_mod303_2024_10_map_line_74,aeat_mod303_2024_10_map,74,Importe de las adquisiciones de bienes y servicios a las que sea de aplicación o afecte el régimen especial del criterio de caja conforme a la ley general de devengo contenida en el artículo 75 de LIVA - Base imponible,0,all,amount,both,0, +aeat_mod303_2024_10_map_line_75,aeat_mod303_2024_10_map,75,Importe de las adquisiciones de bienes y servicios a las que sea de aplicación o afecte el régimen especial del criterio de caja conforme a la ley general de devengo contenida en el artículo 75 de LIVA - Cuota,1,all,amount,both,0, +aeat_mod303_2024_10_map_line_80,aeat_mod303_2024_10_map,80,Operaciones en régimen general,0,all,base,both,0,"l10n_es.account_tax_template_s_iva21b,l10n_es.account_tax_template_s_iva21s,l10n_es.account_tax_template_s_iva10b,l10n_es.account_tax_template_s_iva10s,l10n_es_extra_data.account_tax_template_s_iva5s,l10n_es.account_tax_template_s_iva4b,l10n_es.account_tax_template_s_iva4s,l10n_es_extra_data.account_tax_template_s_iva0b,l10n_es_extra_data.account_tax_template_s_iva0s" +aeat_mod303_2024_10_map_line_83,aeat_mod303_2024_10_map,83,Operaciones exentas sin derecho a deducción,0,all,base,both,0,"l10n_es.account_tax_template_s_iva0,l10n_es.account_tax_template_s_iva0_ns" +aeat_mod303_2024_10_map_line_84,aeat_mod303_2024_10_map,84,Operaciones no sujetas por reglas de localización o con inversión del sujeto pasivo,0,all,base,both,0,"l10n_es.account_tax_template_s_iva_e,l10n_es.account_tax_template_s_iva_ns,l10n_es.account_tax_template_s_iva_ns_b" +aeat_mod303_2024_10_map_line_93,aeat_mod303_2024_10_map,93,Entregas intracomunitarias exentas,0,all,base,both,0,"l10n_es.account_tax_template_s_iva0_ic,l10n_es.account_tax_template_s_iva0_sp_i" +aeat_mod303_2024_10_map_line_94,aeat_mod303_2024_10_map,94,Exportaciones y otras operaciones exentas con derecho a deducción,0,all,base,both,0,l10n_es.account_tax_template_s_iva0_e +aeat_mod303_2024_10_map_line_96,aeat_mod303_2024_10_map,96,Operaciones realizadas por sujetos pasivos acogidos al régimen especial del recargo de equivalencia,0,all,base,both,0,"l10n_es_extra_data.account_tax_template_p_req0,l10n_es.account_tax_template_s_req05,l10n_es.account_tax_template_s_req014,l10n_es.account_tax_template_s_req52,l10n_es_extra_data.account_tax_template_p_req062" +aeat_mod303_2024_10_map_line_120,aeat_mod303_2024_10_map,120,Operaciones no sujetas por reglas de localización (excepto las incluidas en la casilla 123),0,all,base,both,0,"l10n_es.account_tax_template_s_iva_e,l10n_es.account_tax_template_s_iva_ns,l10n_es.account_tax_template_s_iva_ns_b" +aeat_mod303_2024_10_map_line_122,aeat_mod303_2024_10_map,122,Operaciones sujetas con inversión del sujeto pasivo,0,all,base,both,0,l10n_es.account_tax_template_s_iva0_isp +aeat_mod303_2024_10_map_line_125,aeat_mod303_2024_10_map,125,Operaciones sujetas con inversión del sujeto pasivo,0,all,base,both,0,l10n_es.account_tax_template_s_iva0_isp +aeat_mod303_2024_10_map_line_150,aeat_mod303_2024_10_map,150,Régimen General - Base imponible 0%,0,regular,base,both,0,"l10n_es_extra_data.account_tax_template_s_iva0b,l10n_es_extra_data.account_tax_template_s_iva0s" +aeat_mod303_2024_10_map_line_152,aeat_mod303_2024_10_map,152,Régimen General - Cuota 0%,1,regular,amount,both,0,"l10n_es_extra_data.account_tax_template_s_iva0b,l10n_es_extra_data.account_tax_template_s_iva0s" +aeat_mod303_2024_10_map_line_153,aeat_mod303_2024_10_map,153,Régimen General - Base imponible 5%,0,regular,base,both,0,"l10n_es_extra_data.account_tax_template_s_iva5s,l10n_es_extra_data.account_tax_template_s_iva7-5b,l10n_es_extra_data.account_tax_template_s_iva7-5s" +aeat_mod303_2024_10_map_line_155,aeat_mod303_2024_10_map,155,Régimen General - Cuota 5%,1,regular,amount,both,0,"l10n_es_extra_data.account_tax_template_s_iva5s,l10n_es_extra_data.account_tax_template_s_iva7-5b,l10n_es_extra_data.account_tax_template_s_iva7-5s" +aeat_mod303_2024_10_map_line_165,aeat_mod303_2024_10_map,165,Régimen General - Base imponible 2%,0,regular,base,both,0,"l10n_es_extra_data.account_tax_template_s_iva2b,l10n_es_extra_data.account_tax_template_s_iva2s" +aeat_mod303_2024_10_map_line_167,aeat_mod303_2024_10_map,167,Régimen General - Cuota 2%,0,regular,amount,both,0,"l10n_es_extra_data.account_tax_template_s_iva2b,l10n_es_extra_data.account_tax_template_s_iva2s" +aeat_mod303_2024_10_map_line_168,aeat_mod303_2024_10_map,168,Recargo equivalencia - Base imponible 0.26%,0,regular,base,both,0,l10n_es_extra_data.account_tax_template_s_req026 +aeat_mod303_2024_10_map_line_170,aeat_mod303_2024_10_map,170,Recargo equivalencia - Cuota 0.26%,0,regular,amount,both,0,l10n_es_extra_data.account_tax_template_s_req026 diff --git a/l10n_es_aeat_mod303/models/mod303.py b/l10n_es_aeat_mod303/models/mod303.py index 0fe6a21c693..2aff42e394a 100644 --- a/l10n_es_aeat_mod303/models/mod303.py +++ b/l10n_es_aeat_mod303/models/mod303.py @@ -5,6 +5,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, exceptions, fields, models, _ +from odoo.tools import float_compare _ACCOUNT_PATTERN_MAP = { "C": "4700", @@ -36,6 +37,14 @@ def _default_counterpart_303(self): string="Montly Return", states=NON_EDITABLE_ON_DONE, help="Registered in the Register of Monthly Return") + return_last_period = fields.Boolean( + string="Last Period Return", + states=NON_EDITABLE_ON_DONE, + help="Check if you are submitting the last period return", + compute="_compute_return_last_period", + store=True, + readonly=False, + ) total_devengado = fields.Float( string="[27] VAT payable", readonly=True, compute_sudo=True, compute='_compute_total_devengado', store=True) @@ -98,6 +107,13 @@ def _default_counterpart_303(self): resultado_liquidacion = fields.Float( string="[71] Settlement result", readonly=True, compute='_compute_resultado_liquidacion', store=True) + use_aeat_account = fields.Boolean( + "Usar cuenta corriente tributaria", + help=( + "Si está suscrito a la cuenta corriente en materia tributaria, " + "active esta opción para usarla en el ingreso o devolución." + ), + ) result_type = fields.Selection( selection=[ ("I", "To enter"), @@ -116,7 +132,11 @@ def _default_counterpart_303(self): comodel_name='account.account', string="Counterpart account", default=_default_counterpart_303, domain="[('company_id', '=', company_id)]", - oldname='counterpart_account') + oldname='counterpart_account', + compute="_compute_counterpart_account_id", + store=True, + readonly=False, + ) allow_posting = fields.Boolean(string="Allow posting", default=True) exonerated_390 = fields.Selection( selection=[ @@ -239,10 +259,21 @@ def _default_counterpart_303(self): ], compute='_compute_marca_sepa') - @api.depends("partner_bank_id") + def _get_export_config(self, date): + # Force the configuration of 2024-10 for 2024/09, as it can't be obtained with + # the usual dates search + if self.period_type == "3T" and self.year == 2024: + return self.env.ref( + "l10n_es_aeat_mod303.aeat_mod303_2024_10_main_export_config" + ) + return super()._get_export_config(date) + + @api.depends("partner_bank_id", "use_aeat_account") def _compute_marca_sepa(self): for record in self: - if record.partner_bank_id.bank_id.country == self.env.ref("base.es"): + if record.use_aeat_account: + record.marca_sepa = "0" + elif record.partner_bank_id.bank_id.country == self.env.ref("base.es"): record.marca_sepa = "1" elif record.partner_bank_id.bank_id.country in \ self.env.ref("base.europe").country_ids: @@ -281,14 +312,29 @@ def _compute_exception_msg(self): "field '[67] Fees to compensate' in this declaration." ) - @api.multi - @api.depends('tax_line_ids', 'tax_line_ids.amount') + @api.depends("company_id", "result_type") + def _compute_counterpart_account_id(self): + for record in self: + code = ("%s%%" % _ACCOUNT_PATTERN_MAP.get(record.result_type, "4750"),) + record.counterpart_account_id = self.env["account.account"].search( + [("code", "=like", code[0]), ("company_id", "=", record.company_id.id)], + limit=1, + ) + + @api.depends("period_type") + def _compute_return_last_period(self): + for record in self: + if record.period_type not in ("4T", "12"): + record.return_last_period = False + + @api.depends("tax_line_ids", "tax_line_ids.amount") def _compute_total_devengado(self): - casillas_devengado = (152, 3, 155, 6, 9, 11, 13, 15, 158, 18, 21, 24, 26) + cells = (152, 167, 3, 155, 6, 9, 11, 13, 15, 158, 170, 18, 21, 24, 26) for report in self: - tax_lines = report.tax_line_ids.filtered( - lambda x: x.field_number in casillas_devengado) - report.total_devengado = sum(tax_lines.mapped('amount')) + tax_lines = report.tax_line_ids.filtered(lambda x: x.field_number in cells) + report.total_devengado = report.currency_id.round( + sum(tax_lines.mapped("amount")) + ) @api.multi @api.depends('tax_line_ids', 'tax_line_ids.amount') @@ -357,17 +403,38 @@ def _compute_allow_posting(self): @api.multi @api.depends( - "resultado_liquidacion", "period_type", "devolucion_mensual", "marca_sepa" + "resultado_liquidacion", + "period_type", + "devolucion_mensual", + "marca_sepa", + "use_aeat_account", + "return_last_period", ) def _compute_result_type(self): for report in self: - if report.resultado_liquidacion == 0: - report.result_type = 'N' - elif report.resultado_liquidacion > 0: - report.result_type = 'I' + result = float_compare( + report.resultado_liquidacion, + 0, + precision_digits=report.currency_id.decimal_places, + ) + if result == 0: + report.result_type = "N" + elif result == 1: + if report.use_aeat_account: + report.result_type = "G" + elif report.marca_sepa in {"1", "2"}: + # Domiciliar ingreso porque se indicó un banco SEPA + report.result_type = "U" + else: + report.result_type = "I" else: if report.devolucion_mensual or report.period_type in ("4T", "12"): - report.result_type = "D" if report.marca_sepa == "1" else "X" + if report.use_aeat_account: + report.result_type = "V" + elif report.return_last_period or report.devolucion_mensual: + report.result_type = "D" if report.marca_sepa == "1" else "X" + else: + report.result_type = "C" else: report.result_type = 'C' @@ -386,29 +453,48 @@ def onchange_type(self): @api.multi def calculate(self): res = super(L10nEsAeatMod303Report, self).calculate() + self.cuota_compensar = 0 for mod303 in self: - vals = { - "counterpart_account_id": self.env['account.account'].search([ - ('code', '=like', '%s%%' % _ACCOUNT_PATTERN_MAP.get( - mod303.result_type, '4750')), - ('company_id', '=', mod303.company_id.id), - ], limit=1).id, - } - prev_reports = mod303._get_previous_fiscalyear_reports( - mod303.date_start - ).filtered(lambda x: x.state not in ['draft', 'cancelled']) - if not prev_reports: - continue - prev_report = min( - prev_reports, key=lambda x: abs( - fields.Date.from_string(x.date_end) - - fields.Date.from_string(mod303.date_start) - ), - ) - if prev_report.result_type == 'C': - vals["cuota_compensar"] = abs(prev_report.resultado_liquidacion) - vals["potential_cuota_compensar"] = vals["cuota_compensar"] - mod303.write(vals) + prev_reports = self.search( + [("date_start", "<", mod303.date_start)] + ).filtered(lambda m: m.state not in ["draft", "cancelled"]) + if prev_reports: + prev_report = min( + prev_reports, + key=lambda x: abs( + fields.Date.to_date(x.date_end) + - fields.Date.to_date(mod303.date_start) + ), + ) + if prev_report and ( + prev_report.remaining_cuota_compensar > 0 + or prev_report.result_type == "C" + ): + mod303.write( + { + "potential_cuota_compensar": ( + prev_report.remaining_cuota_compensar + - prev_report.resultado_liquidacion + ), + } + ) + if mod303.return_last_period: + cuota_compensar = mod303.potential_cuota_compensar + elif ( + float_compare( + mod303.resultado_liquidacion, + 0, + precision_digits=mod303.currency_id.decimal_places, + ) + != -1 + ): + cuota_compensar = min( + mod303.potential_cuota_compensar, mod303.resultado_liquidacion + ) + else: + cuota_compensar = 0 + mod303.cuota_compensar = cuota_compensar + return res @api.multi diff --git a/l10n_es_aeat_mod303/readme/CONTRIBUTORS.rst b/l10n_es_aeat_mod303/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..c03a3a13814 --- /dev/null +++ b/l10n_es_aeat_mod303/readme/CONTRIBUTORS.rst @@ -0,0 +1,21 @@ +* GuadalTech (http://www.guadaltech.es) +* AvanzOSC (http://www.avanzosc.es) +* Comunitea (http://www.comunitea.com) +* Jordi Ballester +* `Tecnativa `__: + + * Antonio Espinosa + * Luis M. Ontalba + * Pedro M. Baeza +* `Sygel `__: + + * Harald Panten + * Valentin Vinagre +* `Ozono Multimedia `__: + + * Iván Antón + +* `Moduon `__: + + * Arantxa Sudón + * Rafael Blasco diff --git a/l10n_es_aeat_mod303/readme/ROADMAP.rst b/l10n_es_aeat_mod303/readme/ROADMAP.rst index e69de29bb2d..a32606a432b 100644 --- a/l10n_es_aeat_mod303/readme/ROADMAP.rst +++ b/l10n_es_aeat_mod303/readme/ROADMAP.rst @@ -0,0 +1,31 @@ +* Los regimenes simplificado y agrícola, ganadero y forestal no están + contemplados en el desarrollo actual. +* No se permite definir que una compañía realiza tributación conjunta. +* No se permite definir que una compañía está en concurso de acreedores. +* No se permite definir que una compañía es de una Administración Tributaria + Foral. +* Posibilidad de marcar en el resultado el ingreso/devolución en la cuenta + corriente tributaria. +* No se pueden rellenar las casillas [108] y [111] de rectificación de autoliquidación. +* No se puede rellenar la casilla [109]: Devoluciones acordadas por la Agencia + Tributaria como consecuencia de la tramitación de anteriores autoliquidaciones + correspondientes al ejercicio y período objeto de la autoliquidación. +* El régimen de criterio de caja está contemplado por el módulo adicional + `l10n_es_aeat_mod303_cash_basis`. +* La prorrata del IVA está contemplada por el módulo adicional + `l10n_es_aeat_vat_prorrate`. +* Existen 2 casos de IVA no sujeto que van a la casilla 61 del modelo, que no + están cubiertos en este módulo: + + - Con reglas de localización, pero que no corresponde a Canarias, Ceuta y + Melilla. Por ejemplo, un abogado de España que da servicios en Francia. + - Articulos 7,14, Otros + + Para dichos casos, se espera un módulo extra que añada los impuestos y + posiciones fiscales. + + Más información en https://www.boe.es/diario_boe/txt.php?id=BOE-A-2014-12329 +* No se han mapeado las ventas con el nuevo IVA a la electricidad del 5%, a la + espera de si Hacienda cambia el modelo para alojar dicho valor. +* No se ha comprobado en producción la funcionalidad de comunicaciones usando + la opción de cuenta tributaria (tipos de resultado "G" y "V"). diff --git a/l10n_es_aeat_mod303/tests/test_l10n_es_aeat_mod303.py b/l10n_es_aeat_mod303/tests/test_l10n_es_aeat_mod303.py index 138350948eb..690e94e1ef0 100644 --- a/l10n_es_aeat_mod303/tests/test_l10n_es_aeat_mod303.py +++ b/l10n_es_aeat_mod303/tests/test_l10n_es_aeat_mod303.py @@ -362,6 +362,7 @@ def test_model_303(self): "l10n_es_aeat_mod303.aeat_mod303_202107_main_export_config", "l10n_es_aeat_mod303.aeat_mod303_2022_main_export_config", "l10n_es_aeat_mod303.aeat_mod303_2023_main_export_config", + "l10n_es_aeat_mod303.aeat_mod303_2024_10_main_export_config", ] for xml_id in export_config_xml_ids: export_config = self.env.ref(xml_id) diff --git a/l10n_es_aeat_mod303/views/mod303_view.xml b/l10n_es_aeat_mod303/views/mod303_view.xml index f23f2f93003..45ec7173a5e 100644 --- a/l10n_es_aeat_mod303/views/mod303_view.xml +++ b/l10n_es_aeat_mod303/views/mod303_view.xml @@ -9,8 +9,8 @@ - AEAT 303 reports= - + AEAT 303 reports= + @@ -25,11 +25,15 @@ l10n.es.aeat.mod303.report + + + - {'invisible': [('result_type', 'not in', ('D', 'B', 'I'))], 'required': [('result_type', '=', 'D')]} + {'invisible': ['|', ('use_aeat_account', '=', True), ('result_type', 'not in', ('D', 'X', 'I', 'U'))], 'required': [('use_aeat_account', '=', False), ('result_type', 'in', ('D', 'X'))]} + @@ -89,84 +93,84 @@ + widget="monetary" + options="{'currency_field': 'currency_id'}" + /> + widget="monetary" + options="{'currency_field': 'currency_id'}" + /> + widget="monetary" + options="{'currency_field': 'currency_id'}" + /> + widget="monetary" + options="{'currency_field': 'currency_id'}" + /> + widget="monetary" + options="{'currency_field': 'currency_id'}" + /> + widget="monetary" + options="{'currency_field': 'currency_id'}" + /> + widget="monetary" + options="{'currency_field': 'currency_id'}" + /> + widget="monetary" + options="{'currency_field': 'currency_id'}" + attrs="{'readonly': [('period_type', 'not in', ('4T', '12'))]}" + /> + widget="monetary" + options="{'currency_field': 'currency_id'}" + /> + widget="monetary" + options="{'currency_field': 'currency_id'}" + /> + widget="monetary" + options="{'currency_field': 'currency_id'}" + attrs="{'readonly': [('type', '!=', 'C')], 'required': [('type', '=', 'C')]}" + /> + attrs="{'invisible': [('state', '=', 'draft')]}" + colspan="2"> + class="oe_subtotal_footer_separator" + widget="monetary" + options="{'currency_field': 'currency_id'}" + /> + name="group_tax_lines" + colspan="4" + attrs="{'invisible': [('state', '=', 'draft')]}"> diff --git a/l10n_es_extra_data/data/account_tax_data.xml b/l10n_es_extra_data/data/account_tax_data.xml index 5ec1de33a9f..1121ebdcdce 100644 --- a/l10n_es_extra_data/data/account_tax_data.xml +++ b/l10n_es_extra_data/data/account_tax_data.xml @@ -3,52 +3,42 @@ mod303[150] taxes - mod303[152] taxes - mod303[153] taxes - mod303[155] taxes - mod303[156] taxes - mod303[158] taxes - mod303[165] taxes - mod303[167] taxes - mod303[168] taxes - mod303[170] taxes - P_IVA0_S_SC @@ -61,6 +51,7 @@ + P_IVA5_S_SC purchase @@ -73,6 +64,7 @@ + S_IVA5S sale @@ -142,7 +134,18 @@ + + S_IVA0B + sale + IVA 0% (Bienes) + + + percent + + + + P_IVA5_ISC_1 purchase @@ -156,6 +159,7 @@ + P_IVA5_ISC_2 purchase @@ -169,6 +173,7 @@ + P_IVA5_ISC purchase IVA 5% Adquisición de servicios extracomunitarios @@ -291,6 +296,7 @@ + P_IVA5_IC_SC_1 purchase @@ -304,6 +310,7 @@ + P_IVA5_IC_SC_2 purchase @@ -317,6 +324,7 @@ + P_IVA5_IC_SC purchase @@ -401,6 +409,7 @@ + S_REQ062 sale @@ -425,6 +434,7 @@ + P_REQ062 purchase @@ -733,6 +743,17 @@ + + P_IVA0_IC_BC + purchase + IVA 0% Adquisición Intracomunitario. Bienes corrientes + + + percent + + + + P_IVA75_IC_BC purchase @@ -850,4 +871,115 @@ + + IVA 4% ISP (bienes de inversión) (1) + P_IVA4_ISP_BI_1 + purchase + percent + + + + + + + + + + IVA 4% ISP (bienes de inversión) (2) + P_IVA4_ISP_BI_2 + purchase + percent + + + + + + + + + + P_IVA4_ISP + IVA 4% ISP (bienes de inversión) + purchase + group + + + + + + + + IVA 10% ISP (bienes de inversión) (1) + P_IVA10_ISP_BI_1 + purchase + percent + + + + + + + + + + IVA 10% ISP (bienes de inversión) (2) + P_IVA10_ISP_BI_2 + purchase + percent + + + + + + + + + + P_IVA10_ISP_BI + IVA 10% ISP (bienes de inversión) + purchase + group + + + + + + + + IVA 21% ISP (bienes de inversión) (1) + P_IVA21_ISP_BI_1 + purchase + percent + + + + + + + + + + IVA 21% ISP (bienes de inversión) (2) + P_IVA21_ISP_BI_2 + purchase + percent + + + + + + + + + + P_IVA21_ISP_BI + IVA 21% ISP (bienes de inversión) + purchase + group + + + + + + From 61afbc590c47281c997f8f61853b22a86d6e8ddc Mon Sep 17 00:00:00 2001 From: Eduardo De Miguel Date: Tue, 15 Oct 2024 11:23:23 +0200 Subject: [PATCH 05/10] [FIX] l10n_es_aeat_mod303: Permitir rellenar las casillas 108 y 111 Co-authored-by: Emilio Pascual <53056345+EmilioPascual@users.noreply.github.com> --- .../2024-10/aeat.model.export.config.line.csv | 6 +-- l10n_es_aeat_mod303/models/mod303.py | 51 ++++++++++++++----- .../tests/test_l10n_es_aeat_mod303.py | 3 +- l10n_es_aeat_mod303/views/mod303_view.xml | 17 ++++++- 4 files changed, 58 insertions(+), 19 deletions(-) diff --git a/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv b/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv index 4b8a0754ca1..992c79ecbd3 100644 --- a/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv +++ b/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv @@ -110,7 +110,7 @@ "aeat_mod303_2024_10_sub03_export_line_21","aeat_mod303_2024_10_sub03_export_config",21,"Resultado - Cuotas a compensar de periodos anteriores aplicadas en este periodo [78]","float",17,2,"right",0,"N",0," ","X","${object.cuota_compensar}",,,, "aeat_mod303_2024_10_sub03_export_line_22","aeat_mod303_2024_10_sub03_export_config",22,"Resultado - Cuotas a compensar de periodos previos pendientes para periodos posteriores ([110] - [78]) [87]","float",17,2,"right",0,"N",0," ","X","${object.remaining_cuota_compensar}",,,, "aeat_mod303_2024_10_sub03_export_line_23","aeat_mod303_2024_10_sub03_export_config",23,"Resultado - Exclusivamente para sujetos pasivos que tributan conjuntamente a la Administración del Estado y a las Diputaciones Forales Resultado de la regularización anual [68]","float",17,2,"right",1,"N",0," ","X","${object.regularizacion_anual}",,,, -"aeat_mod303_2024_10_sub03_export_line_24","aeat_mod303_2024_10_sub03_export_config",24,"Resultado - Resultado de la autoliquidación ([66] + [77] - [78] + [68]) [69]","float",17,2,"right",1,"N",0," ","X","${object.casilla_69}",,,, +"aeat_mod303_2024_10_sub03_export_line_24","aeat_mod303_2024_10_sub03_export_config",24,"Resultado - Resultado de la autoliquidación ([66] + [77] - [78] + [68] + [108]) [69]","float",17,2,"right",1,"N",0," ","X","${object.casilla_69}",,,, "aeat_mod303_2024_10_sub03_export_line_25","aeat_mod303_2024_10_sub03_export_config",25,"Resultado - Resultados a ingresar de anteriores autoliquidaciones o liquidaciones administrativas correspondientes al ejercicio y período objeto de la autoliquidación [70]","float",17,2,"right",1,"N",0," ","X","${object.previous_result}",,,, "aeat_mod303_2024_10_sub03_export_line_26","aeat_mod303_2024_10_sub03_export_config",26,"Resultado - Devoluciones acordadas por la Agencia Tributaria como consecuencia de la tramitación de anteriores autoliquidaciones correspondientes al ejercicio y período objeto de la autoliquidación [109] (fijado a 0)","float",17,2,"right",1,"N",0," ","X",,0,,, "aeat_mod303_2024_10_sub03_export_line_27","aeat_mod303_2024_10_sub03_export_config",27,"Resultado - Resultado de la liquidación ( [69] - [70] + [109] ) [71]","float",17,2,"right",1,"N",0," ","X","${object.resultado_liquidacion}",,,, @@ -118,8 +118,8 @@ "aeat_mod303_2024_10_sub03_export_line_29","aeat_mod303_2024_10_sub03_export_config",29,"Rectificativa - Autoliquidación rectificativa","boolean",1,0,"left",1,"N",0," ","X","${object.type == 'C'}",,,, "aeat_mod303_2024_10_sub03_export_line_30","aeat_mod303_2024_10_sub03_export_config",30,"Rectificativa - Número justificante identificativo de la autoliquidación anterior","string",13,0,"left",1,"N",0," ","X","${object.previous_number}",,,, "aeat_mod303_2024_10_sub03_export_line_31","aeat_mod303_2024_10_sub03_export_config",31,"Rectificativa - Como consecuencia de la presentación de la autoliquidación rectificativa solicito dar de baja/modificar la domiciliación efectuada (TODO)","boolean",1,0,"left",1,"N",0," ","X","${False}",,,, -"aeat_mod303_2024_10_sub03_export_line_32","aeat_mod303_2024_10_sub03_export_config",32,"Rectificativa - Exclusivamente para determinados supuestos de autoliquidación rectificativa por discrepancia de criterio administrativo que no deban incluirse en otras casillas. Otros ajustes [108] (TODO: Forzado a 0)","float",17,2,"right",1,"N",0," ","X",,0,,, -"aeat_mod303_2024_10_sub03_export_line_33","aeat_mod303_2024_10_sub03_export_config",33,"Rectificativa - Rectificación - Importe [111] (TODO: Forzado a 0)","float",17,2,"right",1,"N",0," ","X",,0,,, +"aeat_mod303_2024_10_sub03_export_line_32","aeat_mod303_2024_10_sub03_export_config",32,"Rectificativa - Exclusivamente para determinados supuestos de autoliquidación rectificativa por discrepancia de criterio administrativo que no deban incluirse en otras casillas. Otros ajustes [108]","float",17,2,"right",1,"N",0," ","X","${object.casilla_108}",,,, +"aeat_mod303_2024_10_sub03_export_line_33","aeat_mod303_2024_10_sub03_export_config",33,"Rectificativa - Rectificación - Importe [111]","float",17,2,"right",1,"N",0," ","X","${object.casilla_111}",,,, "aeat_mod303_2024_10_sub03_export_line_34","aeat_mod303_2024_10_sub03_export_config",34,"Reservado para la AEAT","string",120,0,"left",1,"N",0," ","X",,,,, "aeat_mod303_2024_10_sub03_export_line_35","aeat_mod303_2024_10_sub03_export_config",35,"Rectificativa - Motivo de la rectificación: Rectificaciones (excepto incluidas en el motivo siguiente) (TODO: Forzado a True)","boolean",1,0,"left",1,"N",0," ","X","${True}",,,, "aeat_mod303_2024_10_sub03_export_line_36","aeat_mod303_2024_10_sub03_export_config",36,"Rectificativa - Motivo de la rectificación: Discrepancia criterio administrativo (TODO)","boolean",1,0,"left",1,"N",0," ","X","${False}",,,, diff --git a/l10n_es_aeat_mod303/models/mod303.py b/l10n_es_aeat_mod303/models/mod303.py index 2aff42e394a..018cad2bb20 100644 --- a/l10n_es_aeat_mod303/models/mod303.py +++ b/l10n_es_aeat_mod303/models/mod303.py @@ -90,15 +90,32 @@ def _default_counterpart_303(self): casilla_69 = fields.Float( string="[69] Result", readonly=True, compute='_compute_casilla_69', help="[66] Attributable to the Administration - " - "[67] Fees to compensate + " - "[68] Annual regularization", store=True) + "[67] Fees to compensate + " + "[68] Annual regularization +" + "[108] Other Adjustments", + store=True, + ) casilla_77 = fields.Float( string="[77] VAT deferred (Settle by customs)", help="Contributions of import tax included in the documents " - "evidencing the payment made by the Administration and received " - "in the settlement period. You can only complete this box " - "when the requirements of Article 74.1 of the Tax Regulations " - "Value Added are met.") + "evidencing the payment made by the Administration and received " + "in the settlement period. You can only complete this box " + "when the requirements of Article 74.1 of the Tax Regulations " + "Value Added are met.", + ) + casilla_108 = fields.Float( + string="[108] Other Adjustments", + help="Exclusively for certain cases of rectifying self-assessment due " + "to discrepancy of administrative criteria that should not be " + "included in other boxes. Other adjustments", + ) + casilla_111 = fields.Float( + string="[111] Refund of improperly collected funds", + help="I request that the amount that, if applicable, may be refunded " + "as a consequence of the rectification, be paid to me by bank " + "transfer to the indicated account of which I am the account holder" + " to the indicated bank account of which I am the account holder", + ) previous_result = fields.Float( string="[70] To be deducted", help="Result of the previous or prior statements of the same concept, " @@ -365,14 +382,22 @@ def _compute_remaining_cuota_compensar(self): record.potential_cuota_compensar - record.cuota_compensar ) - @api.multi - @api.depends('atribuible_estado', 'cuota_compensar', - 'regularizacion_anual', 'casilla_77') + @api.depends( + "atribuible_estado", + "cuota_compensar", + "regularizacion_anual", + "casilla_77", + "casilla_108", + ) def _compute_casilla_69(self): for report in self: - report.casilla_69 = ( - report.atribuible_estado + report.casilla_77 - - report.cuota_compensar + report.regularizacion_anual) + report.casilla_69 = report.currency_id.round( + report.atribuible_estado + + report.casilla_77 + - report.cuota_compensar + + report.regularizacion_anual + + report.casilla_108 + ) @api.multi @api.depends('casilla_69', 'previous_result') @@ -453,7 +478,7 @@ def onchange_type(self): @api.multi def calculate(self): res = super(L10nEsAeatMod303Report, self).calculate() - self.cuota_compensar = 0 + self.write({"cuota_compensar": 0}) for mod303 in self: prev_reports = self.search( [("date_start", "<", mod303.date_start)] diff --git a/l10n_es_aeat_mod303/tests/test_l10n_es_aeat_mod303.py b/l10n_es_aeat_mod303/tests/test_l10n_es_aeat_mod303.py index 690e94e1ef0..653c8351754 100644 --- a/l10n_es_aeat_mod303/tests/test_l10n_es_aeat_mod303.py +++ b/l10n_es_aeat_mod303/tests/test_l10n_es_aeat_mod303.py @@ -337,7 +337,8 @@ def test_model_303(self): '29', '31', '33', '35', '37', '39', '41', '42', '43', '44')]) subtotal = round(devengado - deducir, 3) estado = round(subtotal * 0.95, 3) - result = round(estado + 455 - 250, 3) + self.model303.casilla_108 = 200 + result = round(estado + 455 - 250 + 200, 3) self.assertAlmostEqual(self.model303.total_devengado, devengado, 2) self.assertAlmostEqual(self.model303.total_deducir, deducir, 2) self.assertAlmostEqual(self.model303.casilla_46, subtotal, 2) diff --git a/l10n_es_aeat_mod303/views/mod303_view.xml b/l10n_es_aeat_mod303/views/mod303_view.xml index 45ec7173a5e..a3ac2ca6d32 100644 --- a/l10n_es_aeat_mod303/views/mod303_view.xml +++ b/l10n_es_aeat_mod303/views/mod303_view.xml @@ -139,8 +139,21 @@ - + + + From b6c133afc23e672e3575147cccfca3e1e73baeaf Mon Sep 17 00:00:00 2001 From: "Luis J. Salvatierra" Date: Mon, 21 Oct 2024 10:21:00 +0200 Subject: [PATCH 06/10] [FIX] l10n-spain test build error --- test-requirements.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test-requirements.txt diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 00000000000..c2c8389ee0b --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1 @@ +xmlsec==1.3.13 From f1f7d205029a1a37f452f9325ad21842b62a06b1 Mon Sep 17 00:00:00 2001 From: "Luis J. Salvatierra" Date: Mon, 21 Oct 2024 11:16:25 +0200 Subject: [PATCH 07/10] [FIX] l10n_es_extra_data: duplicated descriptions --- l10n_es_extra_data/data/account_tax_data.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/l10n_es_extra_data/data/account_tax_data.xml b/l10n_es_extra_data/data/account_tax_data.xml index 1121ebdcdce..ced4d9aa5be 100644 --- a/l10n_es_extra_data/data/account_tax_data.xml +++ b/l10n_es_extra_data/data/account_tax_data.xml @@ -669,7 +669,7 @@ - P_IVA2_IC_BC_2 + P_IVA2_IC_SC_2 purchase @@ -694,7 +694,7 @@ - P_IVA2_IC_BC + P_IVA2_IBC purchase IVA 2% Importaciones bienes corrientes @@ -755,7 +755,7 @@ - P_IVA75_IC_BC + P_IVA75_IBC purchase IVA 7.5% Importaciones bienes corrientes @@ -898,7 +898,7 @@ - P_IVA4_ISP + P_IVA4_ISP_BI IVA 4% ISP (bienes de inversión) purchase group From d85565f759cbab1cec17ce35176aeb148f758ce1 Mon Sep 17 00:00:00 2001 From: "Luis J. Salvatierra" Date: Mon, 21 Oct 2024 11:49:19 +0200 Subject: [PATCH 08/10] [FIX] l10n_es_aeat_mod303: 2014-10 export config line issue --- .../data/2024-10/aeat.model.export.config.line.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv b/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv index 992c79ecbd3..9cdf6c41170 100644 --- a/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv +++ b/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv @@ -48,7 +48,7 @@ "aeat_mod303_2024_10_sub01_export_line_47","aeat_mod303_2024_10_sub01_export_config",47,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.75% - Tipo % [157]","string",5,2,"right",0,"N",0," ","X",,"00175",,, "aeat_mod303_2024_10_sub01_export_line_48","aeat_mod303_2024_10_sub01_export_config",48,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.75% - Cuota [158]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==158).amount}",,,, "aeat_mod303_2024_10_sub01_export_line_49","aeat_mod303_2024_10_sub01_export_config",49,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Base imponible [16]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==16).amount}",,,, -"aeat_mod303_2024_10_sub01_export_line_50","aeat_mod303_2024_10_sub01_export_config",50,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Tipo % [17]","float",5,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==18).move_line_ids.tax_line_id[:1].amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_50","aeat_mod303_2024_10_sub01_export_config",50,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Tipo % [17]","float",5,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==18).mapped('move_line_ids.tax_line_id')[:1].amount}",,,, "aeat_mod303_2024_10_sub01_export_line_51","aeat_mod303_2024_10_sub01_export_config",51,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Cuota [18]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==18).amount}",,,, "aeat_mod303_2024_10_sub01_export_line_52","aeat_mod303_2024_10_sub01_export_config",52,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.4% - Base imponible [19]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==19).amount}",,,, "aeat_mod303_2024_10_sub01_export_line_53","aeat_mod303_2024_10_sub01_export_config",53,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.4% - Tipo % [20]","string",5,2,"right",0,"N",0," ","X",,"00140",,, From 8819e71fc9df65d4fcba07d162e91e16945f10c6 Mon Sep 17 00:00:00 2001 From: "Luis J. Salvatierra" Date: Mon, 21 Oct 2024 13:40:45 +0200 Subject: [PATCH 09/10] [FIX] l10n_es_aeat_mod303: fixes after backport --- l10n_es_aeat_mod303/models/mod303.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l10n_es_aeat_mod303/models/mod303.py b/l10n_es_aeat_mod303/models/mod303.py index 018cad2bb20..2bd50991f3e 100644 --- a/l10n_es_aeat_mod303/models/mod303.py +++ b/l10n_es_aeat_mod303/models/mod303.py @@ -487,8 +487,8 @@ def calculate(self): prev_report = min( prev_reports, key=lambda x: abs( - fields.Date.to_date(x.date_end) - - fields.Date.to_date(mod303.date_start) + fields.Date.from_string(x.date_end) + - fields.Date.from_string(mod303.date_start) ), ) if prev_report and ( From abc897b047264ef539d196868e2b5d6816d20faa Mon Sep 17 00:00:00 2001 From: "Luis J. Salvatierra" Date: Thu, 31 Oct 2024 13:20:31 +0100 Subject: [PATCH 10/10] [FIX] l10n_es_aeat_mod33: casilla 17 modelo 2024-10 --- .../data/2024-10/aeat.model.export.config.line.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv b/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv index 9cdf6c41170..1ab2818b8cd 100644 --- a/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv +++ b/l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.line.csv @@ -48,7 +48,7 @@ "aeat_mod303_2024_10_sub01_export_line_47","aeat_mod303_2024_10_sub01_export_config",47,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.75% - Tipo % [157]","string",5,2,"right",0,"N",0," ","X",,"00175",,, "aeat_mod303_2024_10_sub01_export_line_48","aeat_mod303_2024_10_sub01_export_config",48,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.75% - Cuota [158]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==158).amount}",,,, "aeat_mod303_2024_10_sub01_export_line_49","aeat_mod303_2024_10_sub01_export_config",49,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Base imponible [16]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==16).amount}",,,, -"aeat_mod303_2024_10_sub01_export_line_50","aeat_mod303_2024_10_sub01_export_config",50,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Tipo % [17]","float",5,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==18).mapped('move_line_ids.tax_line_id')[:1].amount}",,,, +"aeat_mod303_2024_10_sub01_export_line_50","aeat_mod303_2024_10_sub01_export_config",50,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Tipo % [17]","float",5,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==18).mapped('move_line_ids.tax_line_id')[:1].amount or 1.00}",,,, "aeat_mod303_2024_10_sub01_export_line_51","aeat_mod303_2024_10_sub01_export_config",51,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 0%/0.5%/0.62%/1% - Cuota [18]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==18).amount}",,,, "aeat_mod303_2024_10_sub01_export_line_52","aeat_mod303_2024_10_sub01_export_config",52,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.4% - Base imponible [19]","float",17,2,"right",0,"N",0," ","X","${object.tax_line_ids.filtered(lambda r: r.field_number==19).amount}",,,, "aeat_mod303_2024_10_sub01_export_line_53","aeat_mod303_2024_10_sub01_export_config",53,"Liquidación: Regimen General - IVA Devengado - Recargo equivalencia 1.4% - Tipo % [20]","string",5,2,"right",0,"N",0," ","X",,"00140",,,