El módulo nos divide los IVA según la prorrata de la compañía.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets Spanish companies apply a VAT prorate percentage to vendor bills and refunds, automatically splitting the VAT so only the deductible part is booked. A prorate table per company defines the percentage and type (general or special) by date.
This module adds Spanish VAT prorate handling to purchases. On the company form a new "With VAT Prorate" option appears; when enabled, a "VAT Prorate" tab lets you enter dated prorate records with a percentage, a type (General or Special), an optional posting account and, for the special type, whether lines are prorated by default. The company cannot enable the option without at least one prorate record, the chart of accounts must be Spanish, and the percentage must be between 0.01 and 99.9.
On vendor bills and vendor refunds, Odoo picks the prorate record in force at the invoice date and recalculates the tax lines: the non-deductible share of VAT is moved to a separate prorate line, grouped by tax, account and analytic distribution. This happens when the bill is created, when key fields change (partner, currency, dates, prorate) and when a bill is reset to draft. With the general type all VAT lines are prorated; with the special type users tick a "Vat Prorate" column on individual invoice lines.
On taxes, a "With VAT Prorate" flag and related prorate accounts are shown for Spanish prorate taxes. A wizard, reachable from the Spanish AEAT configuration menu as "Update VAT prorate", lets accounting managers edit the company's prorate table in one screen. Prorate amounts are also taken into account in the Spanish AEAT tax reports.
Depends on
Required by other modules
Models and fields (7)
- account.tax · extends an existing modelwith_vat_prorate (With VAT Prorate), prorate_account_ids, company_with_vat_prorate (Company with VAT prorate)
- res.company · extends an existing modelvat_prorate_ids, with_vat_prorate (With VAT Prorate)
- account.move · extends an existing modelprorate_id, with_special_vat_prorate
- account.move.line · extends an existing modelvat_prorate (Is vat prorate), prorate_line_ids, with_vat_prorate
- res.company.vat.prorate · new modeldate, type, account_id, company_id, vat_prorate, special_vat_prorate_default (Special VAT Prorate Default)
- account.update.vat_prorate · new modelcompany_id (Company), vat_prorate_ids, with_vat_prorate (With VAT Prorate)
- res.company.vat.prorate.wizard · new modelwizard_id, origin_vat_prorate_id
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 6 confirmed, 3 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.0Para configurar la prorrata general:
- Acceda al menú Facturación > Configuración > AEAT > Actualizar Prorrata de IVA. También puede acceder directamente desde la compañía
- Marque que aplica prorrata.
- Defina el porcentaje de prorrata (se aplica por fechas).
Los impuestos de las facturas de proveedor se dividirán según la prorrata activa.
Para configurar la prorrata especial:
- Acceda al menú Facturación > Configuración > AEAT > Actualizar Prorrata de IVA. También puede acceder directamente desde la compañía
- Marque que aplica prorrata de IVA especial.
- Marque el valor por defecto de la prorrata especial.
En las líneas de factura aparecerá un nuevo campo editable, con el valor por defecto configurado, que permitirá definir que líneas serán prorrateadas.
No verified information in OCA: Installation, Usage.
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.