OdooWiki OCA HUB

Retenciones IRNR (No residentes)

l10n_es_irnr folder_open OCA/l10n-spain open_in_new
Localization License: AGPL-3

IRNR: Impuesto sobre la Renta de no Residentes sin establecimiento permanente. Añade los impuestos y posiciones fiscales para permitir realizar la retención IRPF de no residentes.

La legislación vigente (2015) nos obliga a realizar las siguientes retenciones:

  • Hasta el 31/12/2006 : 25% -> No es necesario por estar obsoleto
  • Del 2007 al 2011: 24% -> No es necesario por estar obsoleto
  • Del 2012 al 2014: 24,75% -> Necesario para migraciones, aplicable a todos los no residentes
  • 2015 (Hasta 11/07/2015): 20% UE, 24% no-UE
  • 2015 (Desde 12/07/2015): 19,50% UE, 24% no-UE
  • 2016: 19% UE, 24% no-UE

El módulo incluye únicamente los impuestos para el 2016 en adelante.

Referencias

  • AEAT - Rentas obtenidas sin establecimiento permanente. Tipos de gravamen

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds Spanish non-resident income tax withholding (IRNR) data, so you can apply the correct withholding rate on invoices and bills for suppliers or customers who are not Spanish residents.

This is a Spanish localization data module. It does not add any new screens, menus or buttons; instead it loads tax and fiscal position data that becomes available in the standard tax configuration of Odoo.

What it provides, according to the module description:

  • Withholding taxes for the Spanish Non-Resident Income Tax (IRNR) for taxpayers without a permanent establishment.
  • Fiscal positions that let Odoo automatically pick the right non-resident withholding tax on a document.

The rates covered are those in force from 2016 onwards: 19% for residents of the European Union and 24% for non-EU residents. Older rates (25%, 24%, 24.75%, 20% and 19.50%) are described as obsolete or only needed for migrations and are not included.

Because the module only ships data, the taxes and fiscal positions appear wherever taxes normally appear in Odoo: on product and account tax settings, on customer and vendor records through fiscal positions, and on invoices, bills and other accounting documents where taxes are selected. Applying the fiscal position to a partner makes Odoo substitute the standard Spanish taxes with the corresponding non-resident withholding tax.

The module depends on the Spanish localization (l10n_es), so it builds on the standard Spanish chart of accounts and tax setup. No models, menus or automated actions are defined by this module itself.

Depends on

l10n_es

Required by other modules

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 16.0

Este addon añade los impuestos, códigos de impuestos y posiciones fiscales a las siguientes plantillas:

  • PGCE entidades sin ánimo de lucro 2008
  • PGCE PYMEs 2008
  • PGCE completo 2008

Para aplicar los cambios al plan contable que tengamos configurado en nuestra compañía es posible que sea necesario instalar el addon 'OCA/account-financial-tools/account_chart_update' y actualizar:

  • Impuestos
  • Códigos de impuestos
  • Posiciones fiscales

Las posiciones fiscales que nos añade este addon nos permiten:

  • Como empresa que recibe una factura de un autónomo no residente (UE):

Asignar al autónomo la posición fiscal por ejemplo 'Retención IRPF No residentes UE 19%'. Por lo tanto, al crear una factura de proveedor de ese autónomo se aplicará la retencion del 19% a todas las líneas de la factura.

  • Como autónomo no residente que emite una factura a todos sus clientes (UE):

Asignar a todos los clientes que tienen una posición fiscal 'Régimen Nacional' la posición fiscal 'Retención IRPF No residentes UE 19%'. Por lo tanto, al crear una factura a un cliente se aplique la retención del 19% a todas las líneas de la factura.

No verified information in OCA: Installation.

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.