Skip to content

Commit

Permalink
Merge PR #146 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Dec 1, 2022
2 parents 7476401 + 6132e20 commit 803801f
Show file tree
Hide file tree
Showing 23 changed files with 1,747 additions and 0 deletions.
111 changes: 111 additions & 0 deletions account_tax_unece/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
=================
Account Tax UNECE
=================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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%2Fcommunity--data--files-lightgray.png?logo=github
:target: https://github.com/OCA/community-data-files/tree/14.0/account_tax_unece
:alt: OCA/community-data-files
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/community-data-files-14-0/community-data-files-14-0-account_tax_unece
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/101/14.0
:alt: Try me on Runbot

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

This module adds two fields *UNECE Type Code* and *UNECE Category Code* on
taxes to allow the use of the standards written by the
`United Nations Economic Commission for Europe <http://www.unece.org>`_ (which
has 56 members states in Europe, America and Central Asia, cf
`Wikipedia <https://en.wikipedia.org/wiki/United_Nations_Economic_Commission_for_Europe>`_):

* the UNECE Tax Type code is defined in the
`DataElement 5153 <http://www.unece.org/trade/untdid/d97b/uncl/uncl5153.htm>`_,
* the UNECE Tax Category Code is defined in the
`DataElement 5305 <http://www.unece.org/trade/untdid/d97a/uncl/uncl5305.htm>`_.

This codification is part of the UNCL (United Nations Code List). This
codification is used for example in the two main international standards for
electronic invoicing:

* `Cross Industry Invoice <http://tfig.unece.org/contents/cross-industry-invoice-cii.htm>`_ (CII),
* `Universal Business Language <http://ubl.xml.org/>`_ (UBL).

**Table of contents**

.. contents::
:local:

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

#. Go to the menu *Accounting > Configuration > Accounting > Taxes*
#. Set the field *UNECE Type Code* (the value should be *VAT* for most of your
taxes).
#. Set the field *UNECE Category Code*.

There are localization modules that fill this information for specific chart
of accounts, so this step shouldn't be needed if installed.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/community-data-files/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/community-data-files/issues/new?body=module:%20account_tax_unece%0Aversion:%2014.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
~~~~~~~

* Akretion

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

* Alexis de Lattre <[email protected]>
* Andrea Stirpe <[email protected]>
* Levent Karakaş
* Pedro M. Baeza

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.

.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via|

This module is part of the `OCA/community-data-files <https://github.com/OCA/community-data-files/tree/14.0/account_tax_unece>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_tax_unece/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
23 changes: 23 additions & 0 deletions account_tax_unece/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2016-2020 Akretion France (http://www.akretion.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
# @author Alexis de Lattre <[email protected]>

{
"name": "Account Tax UNECE",
"version": "16.0.1.0.0",
"category": "Accounting & Finance",
"license": "AGPL-3",
"development_status": "Production/Stable",
"summary": "UNECE nomenclature for taxes",
"author": "Akretion,Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"website": "https://github.com/OCA/community-data-files",
"depends": ["account", "base_unece"],
"data": [
"views/account_tax.xml",
"views/account_tax_template.xml",
"data/unece_tax_type.xml",
"data/unece_tax_categ.xml",
],
"installable": True,
}
187 changes: 187 additions & 0 deletions account_tax_unece/data/unece_tax_categ.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="0">
<!-- unece.code.list
Source : https://www.unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5305.htm -->
<record id="tax_categ_a" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">A</field>
<field name="name">Mixed tax rate</field>
<field name="description">
Code specifying that the rate is based on mixed tax.
</field>
</record>
<record id="tax_categ_aa" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">AA</field>
<field name="name">Lower rate</field>
<field name="description">Tax rate is lower than standard rate.</field>
</record>
<record id="tax_categ_ab" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">AB</field>
<field name="name">Exempt for resale</field>
<field name="description">
A tax category code indicating the item is tax exempt when the item is
bought for future resale.
</field>
</record>
<record id="tax_categ_ac" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">AC</field>
<field name="name">Value Added Tax (VAT) not now due for payment</field>
<field name="description">
A code to indicate that the Value Added Tax (VAT) amount which is due on the
current invoice is to be paid on receipt of a separate VAT payment request.
</field>
</record>
<record id="tax_categ_ad" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">AD</field>
<field name="name">Value Added Tax (VAT) due from a previous invoice</field>
<field name="description">
A code to indicate that the Value Added Tax (VAT) amount of a previous
invoice is to be paid.
</field>
</record>
<record id="tax_categ_ae" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">AE</field>
<field name="name">VAT Reverse Charge</field>
<field name="description">
Code specifying that the standard VAT rate is levied from the invoicee.
</field>
</record>
<record id="tax_categ_b" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">B</field>
<field name="name">Transferred (VAT)</field>
<field name="description">
VAT not to be paid to the issuer of the invoice but directly to relevant tax
authority.
</field>
</record>
<record id="tax_categ_c" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">C</field>
<field name="name">Duty paid by supplier</field>
<field name="description">
Duty associated with shipment of goods is paid by the supplier; customer
receives goods with duty paid.
</field>
</record>
<record id="tax_categ_d" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">D</field>
<field name="name">Value Added Tax (VAT) margin scheme - travel agents</field>
<field name="description">
Indication that the VAT margin scheme for travel agents is applied.
</field>
</record>
<record id="tax_categ_e" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">E</field>
<field name="name">Exempt from tax</field>
<field name="description">Code specifying that taxes are not applicable.</field>
</record>
<record id="tax_categ_f" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">F</field>
<field name="name">
Value Added Tax (VAT) margin scheme - second-hand goods
</field>
<field name="description">
Indication that the VAT margin scheme for second-hand goods is applied.
</field>
</record>
<record id="tax_categ_g" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">G</field>
<field name="name">Free export item, tax not charged</field>
<field name="description">
Code specifying that the item is free export and taxes are not charged.
</field>
</record>
<record id="tax_categ_h" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">H</field>
<field name="name">Higher rate</field>
<field name="description">
Code specifying a higher rate of duty or tax or fee.
</field>
</record>
<record id="tax_categ_i" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">I</field>
<field name="name">Value Added Tax (VAT) margin scheme - works of art</field>
<field name="description">
Indication that the VAT margin scheme for works of art is applied.
</field>
</record>
<record id="tax_categ_j" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">J</field>
<field name="name">
Value Added Tax (VAT) margin scheme - collector's items and antiques
</field>
<field name="description">
Indication that the VAT margin scheme for collector's items and antiques is
applied.
</field>
</record>
<record id="tax_categ_k" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">K</field>
<field name="name">
VAT exempt for EEA intra-community supply of goods and services
</field>
<field name="description">
A tax category code indicating the item is VAT exempt due to an
intra-community supply in the European Economic Area.
</field>
</record>
<record id="tax_categ_l" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">L</field>
<field name="name">Canary Islands general indirect tax</field>
<field name="description">
Impuesto General Indirecto Canario (IGIC) is an indirect tax levied on goods
and services supplied in the Canary Islands (Spain) by traders and
professionals, as well as on import of goods.
</field>
</record>
<record id="tax_categ_m" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">M</field>
<field name="name">
Tax for production, services and importation in Ceuta and Melilla
</field>
<field name="description">
Impuesto sobre la Producción, los Servicios y la Importación (IPSI) is an
indirect municipal tax, levied on the production, processing and import of
all kinds of movable tangible property, the supply of services and the
transfer of immovable property located in the cities of Ceuta and Melilla.
</field>
</record>
<record id="tax_categ_o" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">O</field>
<field name="name">Services outside scope of tax</field>
<field name="description">
Code specifying that taxes are not applicable to the services.
</field>
</record>
<record id="tax_categ_s" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">S</field>
<field name="name">Standard rate</field>
<field name="description">Code specifying the standard rate.</field>
</record>
<record id="tax_categ_z" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">Z</field>
<field name="name">Zero rated goods</field>
<field name="description">
Code specifying that the goods are at a zero rate.
</field>
</record>
</odoo>
Loading

0 comments on commit 803801f

Please sign in to comment.