Files
tryton/modules/customs
Cédric Krier 1050494552 Use binary version of psycopg for tests
(grafted from 844c3d391796ffe89afce54d12f6bf5f4aa8ef4e)

--HG--
branch : 7.0
2026-07-17 22:16:19 +02:00
..
2024-02-18 18:35:54 +01:00
2023-10-28 14:15:23 +02:00
…
2026-03-02 22:42:56 +01:00
2026-03-02 22:42:56 +01:00
2023-08-20 12:17:27 +02:00
…
2026-03-02 22:43:04 +01:00

Customs Module
##############

The customs module allows to define customs duty based on the tariff code.


Tarif Code
**********

It stores the `Harmonized System`_ that can be set on *Product*.

- The *Code* from the HS.
- The *Country* in case of a country specific code.
- The *Organization* in case of a country organization code.
- The *Start* / *End* period of the year for which the code is valid.

.. _`Harmonized System`: http://en.wikipedia.org/wiki/Harmonized_System

Duty Rate
*********

It stores the rate of a *Tarif Code* for a country over a period.

- The *Tariff Code*.
- The *Country* for which the rate is.
- The *Organization* for which the rate is.
- The *Type*: *Import* or *Export*
- The *Start* and *End* date of validity.
- The *Computation Type*:
    - *Amount*: fixed amount with currency.
    - *Quantity*: amount (in currency) per unit of measure.