OdooWiki OCA HUB

product_harmonized_system_tax_rate

product_harmonized_system_tax_rate folder_open OCA/intrastat-extrastat open_in_new
Uncategorised License: AGPL-3

Import Tax Rates per { country, HS Code}

This module allows to set import taxes (import duties and/or tariffs) on countries of origin and HS codes.

The tax rate is also available on the product.

Current limitations:

  • Only support Ad valorem type of import tax (rate is % of the value in currency)
  • On product: one origin per product (see product_harmonized_system)
  • On product: no support of destination country

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you record import tax rates (duties/tariffs) per H.S. Code and country of origin, and shows the matching rate on the product form.

This module adds a new list of import tax rates that you maintain in Odoo. Each rate links an H.S. Code to a country of origin and stores a tax rate percentage.

Where it appears: - A new menu "H.S. Code Tax Rate" under Inventory > Configuration > Products, opening a list and form to create, search and group rates by country or H.S. Code. - On the H.S. Code form, a "Tax Rates" table where you can add several country/rate lines directly. - On the product form, a read-only "H.S. Code Tax Rate" field shown for consumable-type products, placed next to the country of origin.

Business rules and automatic behaviour: - A country of origin and an H.S. Code can only be combined once; Odoo blocks duplicates. - The rate on a product is found automatically from the product's H.S. Code and country of origin, and displayed with a "%" sign. If no matching rate exists, the field stays empty. - Only the Settings group can create, edit or delete rates; all other users can only read them.

It touches the H.S. Code, the new tax rate record, and the product template.

Menus it adds

hs_code_tax_rate_menu
Models and fields (3)
  • hs.code · extends an existing modeltax_rate_ids (Tax Rates)
  • hs.code.tax.rate · new modeltax_rate (Tax Rate %), hs_code_id (H.S. Code), origin_country_id (Country of Origin)
  • product.template · extends an existing modelhs_code_tax_rate, hs_code_tax_rate_id (H.S. Code Tax Rate Id), hs_code_tax_rate_str (H.S. Code Tax Rate)

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Add HS Codes ( Inventory > H.S. Codes )
  • Add HS code Tax Rates ( Inventory > H.S. Codes Tax Rates)
  • (optional) Configure a product: set HS Code and Country of Origin

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.