OdooWiki OCA HUB

Prorrata de IVA

l10n_es_vat_prorate folder_open OCA/l10n-spain open_in_new
Uncategorised License: AGPL-3

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.0

Manage Spanish VAT prorate percentages per company and automatically split the deductible VAT on vendor bills and refunds, posting the non-deductible part to a chosen account.

This module adds Spanish VAT prorate (prorrata de IVA) handling to Odoo. On the company form you get a 'With VAT Prorate' checkbox and a 'VAT Prorate' tab where you define dated prorate records with a percentage, a type (General or Special) and an optional posting account. A validation prevents enabling the option without prorate records and requires a Spanish chart of accounts.

On vendor bills and vendor refunds, the applicable prorate record is found automatically from the invoice date. With General prorate, all invoice lines are prorated; with Special prorate you can tick or untick 'Vat Prorate' per invoice line. When the bill is created, written or reset to draft, the module recalculates the tax lines and creates extra lines that move the non-deductible VAT to the prorate account, grouped by tax, account and analytic distribution.

Taxes can be flagged 'With VAT Prorate' and linked to prorate accounts on the tax form. An 'Update VAT prorate' menu (accounting managers) opens a wizard to edit the company's prorate table in one place. The module also adjusts the deductible amount reported in Spanish AEAT tax reports for prorated lines.

Depends on

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation 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.0

Para 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.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.