Repository
OCA/community-data-files · module folder · Try on Runboat
Module version
2.0.0
Category
Accounting & Finance
Folder size
0.14 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/community-data-files
Last tracking update
2026-08-07 09:06:33
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Alexis de Lattre, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
OCA/community-data-files:
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
base_business_document_import, l10n_fr_account_tax_unece, purchase_order_ubl
Description
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),
- the VAT Exemption code (VATEX) defined by the European Union, cf the official [VATEX code list](https://ec.europa.eu/digital-building-blocks/sites/spaces/DIGITAL/pages/467108974/).

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).

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
unece_code_list_search unece.code.list search Inherits base_unece.unece_code_list_search
view_tax_form unece.account.tax.form account.tax form Inherits account.view_tax_form
view_tax_tree account.tax tree Inherits account.view_tax_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (6)
  • unece_categ_code Char
    readonly=True related='unece_categ_id.code' store=True string='UNECE Category Code'
  • unece_categ_id Many2one → unece.code.list
    domain=[('type', '=', 'tax_categ')] help='Select the Tax Category Code of the official nomenclature of the United Nations Economic Commission for Europe (UNECE), DataElement 5305' ondelete='restrict' string='UNECE Tax Category' args: 'unece.code.list'
  • unece_type_code Char
    readonly=True related='unece_type_id.code' store=True string='UNECE Type Code'
  • unece_type_id Many2one → unece.code.list
    domain=[('type', '=', 'tax_type')] help='Select the Tax Type Code of the official nomenclature of the United Nations Economic Commission for Europe (UNECE), DataElement 5153' ondelete='restrict' string='UNECE Tax Type' args: 'unece.code.list'
  • unece_vatex_code Char
    related='unece_vatex_id.code' store=True string='VAT Exemption Reason Code'
  • unece_vatex_id Many2one → unece.code.list
    compute='_compute_unece_vatex_id' domain=[('type', '=', 'tax_vatex')] help='Select the VAT Exemption Reason Code (VATEX) of the official nomenclature of the European Union.' ondelete='restrict' readonly=False store=True string='VAT Exemption Reason' args: 'unece.code.list'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • type Selection
    ondelete={'tax_type': 'cascade', 'tax_categ': 'cascade', 'tax_vatex': 'cascade'} selection_add=[('tax_type', 'Tax Types (UNCL 5153)'), ('tax_categ', 'Tax Categories (UNCL 5305)'), ('tax_vatex', 'VAT Exemption Reason Codes')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…