OdooWiki OCA HUB

Libro de IVA OSS

l10n_es_vat_book_oss folder_open OCA/l10n-spain open_in_new
Accounting License: AGPL-3

Módulo que tiene en cuenta los impuestos OSS en el cálculo del libro de IVA.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

This module makes the Spanish VAT book (Libro de IVA) include OSS taxes correctly, so sales with OSS taxes are not double-counted in the domestic VAT totals.

When you generate the Spanish VAT book, OSS (One Stop Shop) taxes are now handled properly. The module adds OSS taxes to the tax mapping used for the 'S_IVA' line, so they are recognised as part of the VAT book calculation.

During the calculation, any tax that is an OSS tax (a tax linked to an OSS country) is set to zero in the tax fee details. This prevents OSS amounts from being added to the domestic VAT totals, avoiding double taxation or incorrect figures.

The module works automatically in the background. It does not add new menus or screens; it only changes how the existing VAT book is computed. It affects the models account.move.line, aeat.vat.book.map.line, and l10n.es.vat.book.

  • OSS taxes are included in the tax mapping for the S_IVA line.
  • OSS tax amounts are zeroed out during the VAT book calculation.
  • The VAT book calculation is run with a special context flag to activate this behaviour.

This is useful for Spanish companies that sell goods or services to other EU countries under the OSS scheme and need their VAT book to reflect only the correct domestic VAT amounts.

Models and fields (1)
  • aeat.vat.book.map.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.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 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/l10n-spain.

terminal Installation and usage

OCA documentation · Odoo 18.0

Para instalar este modulo necesitas:

  • l10n_es_vat_book
  • l10n_eu_oss_oca

Los impuestos OSS pueden verse en Contabilidad -\> Configuración -\> Impuestos. Son aquellos que tienen el campo oss_country_id definido. No es necesario incluir los impuestos en los mapeos del libro de IVA.

  • Vaya a Contabilidad \> Declaraciones AEAT \> Libro de IVA.
  • Cree un nuevo registro.
  • Escoja el periodo de tiempo para el libro.
  • Pulse en "Calcular". Se tendrán en cuenta los impuestos OSS.
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.