Módulo que calcula el impuesto al plástico Mod592.
Esto módulo introduce el menú "AEAT 592 Model" en Contabilidad -\> Informe -\> Declaraciones AEAT -\> AEAT 592 Model.
Es posible visualizar e imprimir por separado:
- Registro de asientos con productos en impuestos al plástico de los asquirientes
Es posible exportar los registros a archivo con extensión csv para subir a la web de la AEAT.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Manage the Spanish plastic tax (Modelo 592) in Odoo: mark products with plastic weights and tax regimes, generate the quarterly/monthly AEAT report from stock moves, and export it as CSV or XLSX for filing.
This module adds the Spanish plastic tax declaration (Modelo 592) to Odoo. It appears under Accounting > Reporting > AEAT Declarations > AEAT 592 Model.
On products you can flag "Is plastic tax?", choose whether the product is for manufacturer, acquirer or both, set the plastic type key, the plastic weight, the non-recyclable weight and the fiscal regime for manufacturer and acquirer. A check prevents the non-recyclable weight from being greater than the total plastic weight.
On the company you indicate whether it acts as plastic acquirer and/or manufacturer. On contacts, a plastic document type is derived automatically from the VAT number.
When you calculate a 592 report, Odoo collects the relevant done stock moves (intra-community acquisitions, shipments outside Spain, scrapping, returns) and creates acquirer and manufacturer entry lines with entry number, concept, product key, date, supporting document, supplier data, kilograms and non-recycled kilograms. Totals of entries, weight, non-recycled weight and tax amount are computed automatically using the amount per non-recyclable kilogram (default 0.45).
Lines with missing data are shown in red with an error message, and confirming the report is blocked until all lines are complete. You can export the acquirer and manufacturer records to CSV or XLSX files for uploading to the AEAT website, and print the report as PDF.
Depends on
Menus it adds
Models and fields (12)
- res.company · extends an existing modelcompany_plastic_acquirer (Plastic Acquirer), company_plastic_manufacturer (Plastic Manufacturer)
- res.partner · extends an existing modelplastic_document_type (Plastic document type)
- product.product · extends an existing modelis_plastic_tax (Is plastic tax?), plastic_type_key (Plastic type key), tax_plastic_type, plastic_tax_weight (Plastic weight), plastic_tax_regime_acquirer (Plastic tax regime acquirer), plastic_weight_non_recyclable (Plastic weight non recyclable), plastic_tax_regime_manufacturer (Plastic tax regime manufaturer)
- product.template · extends an existing modelis_plastic_tax (Is plastic tax?), plastic_type_key (Plastic type key), tax_plastic_type, plastic_tax_weight (Plastic weight), plastic_tax_regime_acquirer (Plastic tax regime acquirer), plastic_weight_non_recyclable (Plastic weight non recyclable), plastic_tax_regime_manufacturer (Plastic tax regime manufaturer)
- l10n.es.aeat.mod592.report · new modelnumber, acquirer_line_ids (Acquirer entries), amount_plastic_tax (Amount tax for non recyclable), num_lines_acquirer (Number of lines acquirer), show_error_acquirer (Acquirer lines with error), manufacturer_line_ids (Manufacturer entries), total_amount_acquirer (Total amount acquirer), total_weight_acquirer (Total weight acquirer), num_lines_manufacturer (Number of lines manufacturer), total_acquirer_entries (Total acquirer entries), show_error_manufacturer (Manufacturer lines with error), company_plastic_acquirer, total_amount_manufacturer (Total amount manufacturer), total_weight_manufacturer (Total weight manufacturer), total_manufacturer_entries (Total manufacturer entries), company_plastic_manufacturer, total_weight_acquirer_non_reclyclable (Total weight acquirer non reclyclable), total_weight_manufacturer_non_reclyclable (Total weight manufacturer non reclyclable)
- l10n.es.aeat.mod592.report.line.mixin · new modelkgs (Weight), proof (Supporting document), sequence, date_done (Date), report_id (Mod592 Report), entries_ok (Entries OK), entry_note (Entries observation), error_text (Error text), partner_id, picking_id, product_id, product_key, entry_number (Entrie number), stock_move_id (Stock Move), product_uom_qty, no_recycling_kgs (Weight non reclycable), product_description (Product description), supplier_document_type (Supplier document type), supplier_social_reason (Supplier name), supplier_document_number (Supplier document number)
- l10n.es.aeat.mod592.report.line.acquirer · new modelconcept, entry_number, fiscal_acquirer (Fiscal reginme acquirer)
- l10n.es.aeat.mod592.report.line.manufacturer · new modelconcept, entry_number, fiscal_manufacturer (Fiscal regime manufacturer)
- report.l10n_es_aeat_mod592.l10n_es_aeat_mod592_csv_man · new model
- report.l10n_es_aeat_mod592.l10n_es_aeat_mod592_xlsx_man · new model
- report.l10n_es_aeat_mod592.l10n_es_aeat_mod592_csv_acquirer · new model
- report.l10n_es_aeat_mod592.l10n_es_aeat_mod592_xlsx_acquirer · new model
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/l10n-spain.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0Se ha de confirgurar los tipos y pesos en la ficha del producto.
- Si tiene impuesto al plástico.
- Peso del plástico
- Tipo de clave del producto
- Concepto del producto
- Regimen fiscal
El código de producto y nombre se capturan de forma automática de la ficha del producto
Usage
Source · Odoo 19.0Para instalar este modulo necesitas:
- account
- stock
- l10n_es
- l10n_es_aeat
- report_xlsx
- report_csv
Se instalan automáticamente si están disponibles en la lista de addons.
Existe varios permisos "Mod 592 Acquire" y "Mod 592 Manufacturer" para gestionar cada cosa, será necesario tener el permiso correspondiente en el usuario.
Se calcularán líneas de adquirientes o fabricación si está definido a nivel de compañía (pestaña AEAT).
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.