Continuity: every function, one by one

Draft 15-10-2026 · checked against v7 up to release 7.6.49Updated 26-10-2026

This page is the table of every function of v7's calculator and the prototype, and what each becomes. Read next: The 11 modules.

Each function of eRegulations v7's tariff calculator and of the prototype, what it is today, what it becomes in the calculator, which module specifies it and which phase of step 7 builds it D49.

How to read it

  • F-numbers never change; a function found later gets the next number.
  • Today: v7 as of release 7.6.49 (15-10-2026), on Burundi and Rwanda; "prototype" for unctad-ai/tariff-calculator at 4f0f969.
  • Verdicts: Same, the trader gets the same thing · Changed, the same need met differently, with the decision or rule that says why · New, not in v7 · Left out, with the reason · Pending, waiting on a question.
  • Phase: 7.1 ASYCUDA provider and the page · 7.2 engine and pilot 1 · 7.3 administration · 7.4 embedding and v7 · 7.5 pilot 2.
  • The rule: nothing v7's traders use today is missing when a country moves to the calculator.
  • Missing a function? Say so in a comment at the foot of the page.

0 · The page

# Function Today In the calculator Verdict Module Phase
F1 Country page v7: /Tariffs on the country's eRegulations site; prototype: /burundi/, /rwanda/ The installation's own address, its only country D26 Changed 0 7.1
F2 Languages v7: the site's languages, texts in the admin; prototype: ?l=fr, ?l=en French and English, others when an authority supplies texts; ?l=; the country's default first D27 Same 0 7.1
F3 Import and Export tabs v7 since 7.6.22: choice cards with a one-line description, #export reopens Export Same, the order a setting D31, Export behind a setting until measured D15 Same 0, 7 7.1
F4 Estimate notice v7 and prototype: a line saying the figures are an estimate On every screen that shows a figure D4 Same 0 7.1
F5 Service state v7: none on the page; prototype: "customs is not answering" with its time Since when the provider is down, entries kept New 0, 9 7.1
F6 Text overrides v7: every label editable in the admin, per language Texts per installation; a missing one falls back to the other language, never a key Same 0, 7 7.3
# Function Today In the calculator Verdict Module Phase
F7 Search by words v7: live on the provider; RRA returns about 5 ranked lines, OBR all; accents count at OBR On the calculator's own copy of the catalogue, every line, accents ignored D34 Changed 1 7.1
F8 Search by code v7: prefix lookup; since 7.6.49 dots, spaces, dashes and 10–11 digits accepted (ERN-1302) Same, on the copy Same 1 7.1
F9 Browse chapters v7: no; RRA's API offers chapters, headings, subheadings Chapter, heading, subheading, national lines New 1 7.1
F10 Code boxes v7 since 7.6.47: four pairs with their zeros, a fifth box for national digits (ERN-1299) The code shown whole, never a digit dropped, checked by a test over the whole catalogue Same 1, 10 7.1
F11 Clearing the product v7 since 7.6.49: a clear button; a new product resets units, quantities and the result (ERN-1303) Same; the result cleared D54 Same 2, 3 7.1
F12 Translated descriptions v7: customs' language only Every description in every language, marked as a translation D35 New 1, 7 7.3

2 · The form

# Function Today In the calculator Verdict Module Phase
F13 Quantities by unit v7: one to three boxes from the line's units Same; a box not shown is never sent Same 2 7.1
F14 Additional variable v7: cylinder capacity on 8701–8705, 8709, 8716, 1 to 10 000 Only when the line needs one Same 2 7.1
F15 Regime v7: the provider's import regimes; export regimes 1, 2, 3 sent from code From the provider's own table, per tab Changed 2, 4 7.1
F16 Origin and preferential treatment v7: origin list, treatments unfiltered (ERN-1237 waits on OBR) Only treatments valid for the origin, readable; a cheaper unclaimed one is pointed out D36 Changed 2, 3 7.1
F17 Destination on export v7 since 7.6.22: list without the own country Same Same 2 7.1
F18 Amounts on import v7 since 7.6.18: invoice, external freight, internal freight, insurance (ERN-1234) Same, plus other costs and deductions under "more details" D32 Same 2 7.1
F19 Amounts on export v7 since 7.6.24: cost, insurance, internal freight; FOB is the cost alone Same Same 2 7.1
F20 A currency per amount v7 since 7.6.18: converted in the browser with a rate list up to 7 days old, whole units after (ERN-1235) Exact decimals in the contract; the adapter converts with the day's rates, rounds once, says so in the trace D23 Changed 2, 4 7.1
F21 Currency list v7 since 7.6.48: quoted by customs less exclusions; name and code, local, main, EAC, then A–Z, plain search (ERN-1254, ERN-1300) Same: quoted less the installation's exclusions, the local currency always D53 Same 2, 4 7.1
F22 Checks before sending v7: required fields; external freight at 0 caught after OBR's SERVER-ERROR Each problem on its field before sending; required fields per country Changed 2, states 7.1
F23 Weight, packages, delivery terms v7: on the form Weight and packages on the form; the rest under "more details" D32 Same 2 7.1

3 · The result

# Function Today In the calculator Verdict Module Phase
F24 Charges v7: each charge with base, rate and amount, in the declaration currency The same, customs' words kept; flat and exempt charges told apart Changed 3 7.1
F25 Total and its currency v7: in the declaration currency In the chosen currency, the local currency beside it as customs' original D46 Changed 3 7.1
F26 Rate shown v7: no The provider's rate, six decimals, its date and source D47 New 3 7.1
F27 Result after a change v7: kept until a new estimate; cleared on a new product or tab since 7.6.49 Dimmed and marked "out of date" D33; cleared on a new product or tab D54 Changed 3 7.1
F28 Print v7 and prototype: a printable sheet A sheet that stands alone Same 3 7.1
F29 CSV v7 and prototype: the lines as CSV Same Same 3 7.1
F30 Computed figure v7: none The engine's figure, marked "indicative", with its legal acts and tariff version New 5, 6 7.2

4 · Providers

# Function Today In the calculator Verdict Module Phase
F31 OBR's ASYCUDA service v7: TariffsBO, credentials as headers, intermediate certificate carried, 30 s limit The ASYCUDA provider, the same calls Same 4 7.1
F32 RRA's ASYCUDA service v7 since 7.6.32: the same code against RRA, credentials in the query, request log off The ASYCUDA provider against RRA directly, once RRA agrees D52 Same 4 7.5
F33 Reference tables v7: kept 7 days (TariffsCacheTime) Kept 7 days, exchange rates 1 day D29 Changed 4 7.1
F34 Empty answers v7: an empty 200 [] from rates counts as a failure; a failed lookup still answers an empty 200 An empty list is a failure; an unknown code is "not found" Same 4 7.1
F35 Shadow mode v7: none The engine runs beside customs; differences tax by tax in administration New 7, 9 7.2

5 · Embedding

# Function Today In the calculator Verdict Module Phase
F36 Embedded page v7: ?embed=true; prototype: ?embed=1 and a snippet to copy /<country>/embed or one script tag; allowed sites per country D9 Changed 8 7.4
F37 v7 embeds the calculator v7: its own calculator v7 embeds the calculator; retiring TariffsBO decided after a country has run on it D1 Changed 8 7.4

6 · Running it

# Function Today In the calculator Verdict Module Phase
F38 Status page prototype: /estado, 24 hours in five-minute checks Public status page per provider D43 Same 9 7.1
F39 Usage counts prototype: by country and day, from the browser's time zone, in memory Counted without personal data, kept Changed 9 7.1
F40 Failure logs v7 since 7.6.40: the type and at most 512 characters, never the declaration Same Same 9 7.1
F41 Request limit v7 since 7.6.48: 120 a minute per client, resolved through trusted proxies, IPv6 /64 Per address, numbers set in step 4 (?33) Same 10 7.1
F42 Credentials and settings v7: in the eRegulations admin; without credentials the page answers 404 The installation's administration page, secrets encrypted, never shown again Changed 7, 10 7.3
F43 Tariff data v7: none, customs computes Versions, connectors, checks, golden cases, data register New 6, 7 7.2

Left out, not listed above

  • v7's admin step-cost currencies as the calculator's list: replaced on 14-10-2026 in v7 itself; the calculator keeps its own list (module 2).
  • The prototype's borrowed browser identity towards rwandatrade.rw: the provider is withdrawn D52.
  • v7's site-wide currency converter: not part of the tariff page.

Sources

  • What v7's tariff page gained, 04-09 to 15-10-2026.
  • eRegulations v7: Business/Tariffs.cs, Model/TariffsModel.cs in eRegulations-4.0-Admin; TariffsController in -Public, origin on 15-10-2026.
  • The prototype's README, server.js, stats.js, commit 4f0f969.
  • Not seen: release 7.6.49 on the live sites.
Drafted with Claude for melux · UNCTAD · working material, hidden from search enginesUpdated · 26-10-2026