Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0481c7f
Add modules base_unece, account_tax_unece, account_payment_unece and …
alexis-via Mar 20, 2016
489519d
Port *unece* modules to odoo 10
alexis-via Nov 19, 2016
a9e1287
Add unece type and category to tax template
astirpe Sep 4, 2017
1f5df5f
[10.0] Add field 'UNECE Due date' on taxes and corresponding nomencla…
Oct 13, 2017
6a650aa
[11.0][MIG] account_tax_unece: porting to V11
astirpe Jan 18, 2018
510f59a
[MIG] account_tax_unece: Migration to 12.0
lk-eska Dec 16, 2018
1ad6404
Add unece_due_date_id on account.tax.template
alexis-via Feb 20, 2019
4797ce9
[IMP] account_tax_unece: README by fragments
pedrobaeza Feb 22, 2019
0aba711
[13.0][MIG] account_tax_unece
astirpe Oct 23, 2019
f5a3acf
[IMP] account_tax_unece: black, isort, prettier
StefanRijnhart Jan 18, 2021
7fe5138
[MIG] account_tax_unece: Migration to 14.0
alexis-via Jan 18, 2021
f996d88
account_tax_unece: add speeddict methods
alexis-via Dec 10, 2020
6a3c817
account_tax_unece: script for v13 to v14 migration
alexis-via Nov 19, 2021
a5b45e8
[FIX] account_tax_unece: mig script directory
alexis-via Feb 1, 2022
3ad501c
Added translation using Weblate (German)
marylla Jun 16, 2022
89ddea2
[MIG] account_tax_unece: Migration to 16.0
syera94 Nov 4, 2022
3bf9e75
account_tax_unece: add a unit test
alexis-via Dec 1, 2022
5dc9d03
[FIX] account_tax_unece: remove HTML tags in 'note' of fiscal position
alexis-via Dec 26, 2022
e42f1d0
account_tax_unece: string update
alexis-via Jun 5, 2023
0cd0712
Added translation using Weblate (French)
Jun 5, 2023
5e95134
Added translation using Weblate (Spanish)
Ivorra78 Aug 2, 2023
df7bd0c
base_unece + account_tax_unece: AGPL -> LGPL
alexis-via Oct 5, 2023
fcd3a51
[IMP] account_tax_unece: pre-commit auto fixes
nguyenminhchien Feb 2, 2024
55be0dd
[MIG] account_tax_unece: Migration to 17.0
nguyenminhchien Feb 2, 2024
cdb0566
[IMP] account_tax_unece: add unece fields in tax tree view, hidden by…
alexis-via Mar 2, 2024
b30d91d
Added translation using Weblate (Italian)
mymage Mar 6, 2024
97f9cca
[IMP] account_tax_unece: pre-commit auto fixes
Oct 31, 2024
529d0ac
[MIG] account_tax_unece: Migration to 18.0
Oct 31, 2024
083831b
[IMP] account_tax_unece: add filters on unece.code.list search views,…
alexis-via Dec 19, 2024
a983e06
[UPD] Update account_tax_unece.pot
Dec 30, 2024
a7888bc
[BOT] post-merge updates
OCA-git-bot Dec 30, 2024
077a0f4
Update translation files
weblate Dec 30, 2024
84f85ff
[IMP] acc_tax_unece: allow to use parent company taxes for branch com…
bealdav Nov 13, 2025
f097757
allow to use parent company fisc position for branch companies
bealdav Nov 17, 2025
9de03e8
[BOT] post-merge updates
OCA-git-bot Dec 9, 2025
395725e
[MIG] account_tax_unece: migrate 18 -> 19
alexis-via Dec 9, 2025
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
121 changes: 121 additions & 0 deletions account_tax_unece/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=================
Account Tax UNECE
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0bc59c594d29af666a0ad5afc67f30a4786c0252080468328ae854dd4b21be6d
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-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/19.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-19-0/community-data-files-19-0-account_tax_unece
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/community-data-files&target_branch=19.0
:alt: Try me on Runboat

|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
=============

1. Go to the menu *Accounting > Configuration > Accounting > Taxes*
2. Set the field *UNECE Type Code* (the value should be *VAT* for most
of your taxes).
3. 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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/community-data-files/issues/new?body=module:%20account_tax_unece%0Aversion:%2019.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 <alexis.delattre@akretion.com>
- Andrea Stirpe <a.stirpe@onestein.nl>
- Levent Karakaş
- Pedro M. Baeza
- Nhan Tran <nhant@trobz.com>

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/19.0/account_tax_unece>`_ 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 account_tax_unece/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
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 LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
# @author Alexis de Lattre <alexis.delattre@akretion.com>

{
"name": "Account Tax UNECE",
"version": "19.0.1.0.0",
"category": "Accounting & Finance",
"license": "LGPL-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/unece_code_list.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
Loading