OdooWiki OCA HUB

Intrastat Product - HS Codes Import

intrastat_product_hscodes_import folder_open OCA/intrastat-extrastat open_in_new
Intrastat License: AGPL-3

This module aims to import all HS codes with the related intrastat code. The datas are defined in the module itself.

The module currently holds descriptions of the HS Codes in Bulgarian, Czech, Danish, German, Greek, English, Spanish, Estonian, Finnish, French and Slovak.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you load the official Intrastat HS code list (with units of measure and translated descriptions) into Odoo from a simple wizard, so you can start declaring goods without typing codes by hand.

This module adds a one-screen wizard called "Load Intrastat Codes" that fills Odoo with the official Intrastat goods nomenclature (HS codes) and their measurement units. It appears under the Intrastat configuration menu and also runs automatically as a to-do step right after installation.

In the wizard you pick a Language, then click Load. The module reads its own built-in data files and creates the HS codes in Odoo, skipping codes that already exist. For each code it also sets the matching Intrastat unit (pieces, 100 pieces, 1 000 pieces, litres of pure alcohol, kg of dry matter, m², m³, 1 000 m³, 1 000 kWh) when the source data provides one; if a unit cannot be found, the load stops with an error message.

If you selected a language, it then writes the translated description for each code in that language, building a full path such as "Chapter > Heading > Subheading" from the indentation in the source file. If no file exists for the chosen language, you get a clear error instead of a silent failure.

Only system administrators and accounting managers can use the wizard. It touches the HS code records and the Intrastat units used by the Intrastat Product module.

Menus it adds

intrastat_code_import_menu
Models and fields (1)
  • intrastat.hscodes.import.installer · new modellanguage_id (Language)

Text generated by AI (DeepSeek) from reading the Odoo 19.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 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/intrastat-extrastat.

terminal Installation and usage

OCA documentation · Odoo 19.0

The wizard to load the data can be found in the Intrastat section on the Invoicing configuration page as Load Intrastat Codes.

No verified information in OCA: Installation, Configuration.

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.