Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] l10n_es_irnr: Migration to 16.0 #2698

Merged
merged 18 commits into from
Dec 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 143 additions & 0 deletions l10n_es_irnr/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
================================
Retenciones IRNR (No residentes)
================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-spain/tree/15.0/l10n_es_irnr
:alt: OCA/l10n-spain
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-l10n_es_irnr
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/189/15.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

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 <https://www.agenciatributaria.es/AEAT.internet/Inicio/La_Agencia_Tributaria/Campanas/_Campanas_/Fiscalidad_de_no_residentes/_Impuesto_sobre_la_Renta_de_no_residentes_/Sin_establecimiento_permanente/_INFORMACION/Informacion_General/Cuestiones_basicas_sobre_tributacion/Rentas_obtenidas_sin_establecimiento_permanente__Tipos_de_gravamen.shtml>`_

**Table of contents**

.. contents::
:local:

Configuration
=============

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

Usage
=====

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.

Known issues / Roadmap
======================

* El apartado *II. Rentas no sometidas a retención / ingreso a cuenta*, no
se rellena por el momento con ninguna base procedente de las ventas intra o
extra comunitarias.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_irnr%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

* Antonio Espinosa
* Pedro M. Baeza
* Ernesto Tejeda
* João Marques
* `Acysos <http://www.acysos.com>`_:

* Ignacio Ibeas

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/15.0/l10n_es_irnr>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions l10n_es_irnr/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
22 changes: 22 additions & 0 deletions l10n_es_irnr/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2016 Tecnativa - Antonio Espinosa
# Copyright 2017-2019 Tecnativa - Pedro M. Baeza
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Retenciones IRNR (No residentes)",
"version": "16.0.1.0.0",
"category": "Localization",
"depends": ["l10n_es"],
"development_status": "Mature",
"data": [
"data/account_data.xml",
"data/taxes_irnr.xml",
"data/fiscal_positions_irnr.xml",
"data/fiscal_position_taxes_irnr.xml",
],
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-spain",
"license": "AGPL-3",
"installable": True,
}
9 changes: 9 additions & 0 deletions l10n_es_irnr/data/account_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="tax_group_irnr_no_ue" model="account.tax.group">
<field name="name">Retenciones no residentes no-UE</field>
</record>
<record id="tax_group_irnr_ue" model="account.tax.group">
<field name="name">Retenciones no residentes UE</field>
</record>
</odoo>
Loading