Module 5 · Engine

Signed off 26-10-2026 · frozenMise à jour 26-10-2026

Cette page n’est pas encore traduite ; voici la version anglaise.

Definition and examples

The part of the computing provider that turns a shipment and a published tariff version into charges, each with its base, rate, amount and trace. Example: husked rice from Pakistan into Burundi gives the DDI at the EAC rate, Burundi's charges, then VAT on its own base.

Envoi Version tarifaire publiée 1 Convertiren monnaie locale 2 Valeur CIFsans fret intérieur 3 Mesurescode · jour · origine 4 Taux%, unité, MAX/MIN 5 Taxes en ordrechacune sur sa base 6 Arrondir, tracermarqué indicatif pas de mesure de droit de douane : refusé, jamais taxé à zéro
Six étapes, toujours dans cet ordre. Le moteur n'a ni base de données ni horloge : il reçoit l'envoi, le jour et une version publiée, et les trois mêmes donnent toujours le même résultat.

Functions

Value

  1. Currency: every amount converted into the local currency with the rate in force.
  2. Customs value: by the country's basis, CIF in the EAC: invoice, external freight, insurance and other costs, less deductions. Internal freight is not part of it.

Choose the measures

  1. Match: the measures of the code or of a heading covering it, in force on the day, for the origin or its group, the procedure and any additional code.
  2. Treatment: the treatment the trader chose, if valid for the origin; otherwise the general rate, and module 3 says when a cheaper one was valid D36.
  3. Conditions: thresholds checked against the trader's entries; a chosen treatment stands for its certificate, as in ASYCUDA's estimate.

Compute

  1. Components: a percentage of a base, an amount per unit, or several joined; MAX is a ceiling, MIN a floor, so "25 % or USD 200 a tonne, whichever is higher" is a MIN.
  2. Order: each tax in its order, on its base expression, so VAT comes after the charges its base includes.
  3. Rounding: each tax as its type says.

Explain

  1. Trace: for every line, the measure, its legal act, the base, the rate and the formula, with the tariff version.

The contract · Module 3 · Module 6 · Concept note §4 · Dictionary: measure, component, base expression, tax type

Rules

  • The engine reads only a published version; it has no database, and the day is given to it: today, or a test date an administrator sets D37.
  • The same shipment and version always give the same result.
  • A code with no customs-duty measure is refused, never charged at zero.
  • A country is data: no country's name appears in the engine.
  • Every figure it returns is marked indicative (concept note §3).
  • A declared rule, such as a vehicle's cylinder capacity, has its own test.
  • The golden cases, kept in the repository per version date, pass before any change is merged D12, D25.

Decisions needed

None. ?24 and ?25 were answered on 30-09-2026: D36 and D37.

Sources

  • The concept note, frozen 30-09-2026, §4.
  • The UK's archived duty calculator, read 29-09-2026, for MAX and MIN and the cheapest-option rule.
  • docs/handover/impuestos-burundi-base-legal.md in the prototype, for Burundi's charges and bases; docs/BURUNDI.md §5 for the VAT base.
  • Not seen: Burundi's rounding rules in law; OBR's order of computation, inferred from its answers only.
Rédigé avec Claude pour melux · CNUCED · document de travail, masqué des moteurs de rechercheMise à jour · 26-10-2026