Step 3 · What differs from v7

Draft · 26-10-2026Updated 29-10-2026

The mockups are v7's tariff page at release 7.6.49, as Burundi and Rwanda show it on 26-10-2026. Five things differ, each from a decision of steps 1 and 2. Nothing else was changed, even where it would be better: that is the second pass.

The five differences

Each edit is marked [mockup Dn …] in mockup/tariffs.js. The file v7-to-mockup.diff is v7's tariffs.js against the mockup's, generated; the line numbers below are lines of that file. The decisions are in the decisions.

# Decision What the mockup does instead of v7 Where it shows In v7-to-mockup.diff
1 D4 Under the total, after every result: "This is an estimate: only the customs assessment of your declaration binds." Every scenario of the Estimate group that gives a result Line 21, in the hunk at line 14
2 D23, D52 Every amount sent keeps its cents, rounded once, where v7 rounds each amount to whole units: one converted into the declaration currency, and one typed with cents in the declaration currency (1 234.56 is sent as 1 234.56, where v7 sends Math.round(1234.56), 1 235). Rwanda's figures are RRA's own Any amount typed in a currency other than the declaration's, or typed with cents, before Estimate. No scenario of its own: the recordings are all in whole units of one currency Line 8, in the hunk at line 3
3 D53 None, no edit. The currency lists already follow it (see below) Open the currency list in "The four amount rows, each with its currency" None
4 D33, D54 A field changed after a result dims it and marks it "out of date" until the next estimate; a new product or tab clears the result "Result out of date" and "Result cleared" Lines 32, 42 and 47, in the hunks at lines 28 and 38
5 D46, D47 A result in a currency other than the local one shows the total in the currency chosen, the local total beside it, and the rate to six decimals with its date and source. In the local currency nothing is added "Result in another currency", in both countries Lines 18 and 67, in the hunks at lines 14 and 38

D4, D33, D46 and D47 add a text. The texts are in English and French; see below.

D46 and D47, the rate and its date

The rate shown is the one the estimate used, as customs' answer gives it (ExchangeRate), not the one of the rates list. They can differ: on 26-10-2026 OBR's estimate in USD used 3 036.1765 BIF a dollar, where its rates answer of the same day quotes 3 035.5618 (the recordings, point 3). RRA's were the same, 1 479.57.

The date shown beside it is the day the rates were recorded, 26-10-2026: the entries of v7's rates answer carry no date. The mockup would show the answer's own date if it had one.

D53, the currencies

The mockup changes no code for D53. The currency lists in the captured pages are what v7 offers since release 7.6.48: the currencies customs quotes, less the installation's exclusions, and the local one always. Rwanda offers the 56 codes RRA quotes less the exclusions. Burundi offers 19 codes.

OBR quotes the Ugandan shilling twice: UGX, its current code, at 0.584, and UGS, its withdrawn code, at 0.7338. Burundi's list has UGX and not UGS. v7 does this by design: a withdrawn code is dropped when its current code is quoted (TariffsCurrenciesTests.cs, line 50, at 68f3a0f06). D53's clause on UGS, named Ugandan shilling and found by "UGX", is for a customs service that quotes UGS alone; neither OBR nor RRA does.

The texts

The four new texts exist in English and French. The French follows the language of the page. A page in any other language shows the English. In the mockups that applies to Rwanda's Kinyarwanda (rw) and Swahili (sw), and to Burundi's Kirundi (rn).

Burundi's Kirundi page is offered in the language menu of its English page, not in that of its French page. It is not a translation: it shows v7's own texts in English, the tariff form included, and the site's content (the product filter's list, the procedures) in French. It is captured as the live site serves it.

In French, the two lines of difference 5 write their figures the French way, 2 040 680,90 BIF, while v7 writes the total in the same card 2,040,680.90 in every language (formatMoney). The code is left as it is: a known departure from v7's look. The second pass writes French figures the French way everywhere, which ends this departure (see the second pass, checked).

What the capture could not copy

The manifest, v7/manifest.json, records the capture of 26-10-2026: 12 pages, 1 021 assets, and 614 references that the live sites fail to serve either. Its notes:

  • Burundi is captured from infocommerce.obr.bi, where burundi.tradeportal.org/Tariffs redirects.
  • 307 references fail on each site (614 in all, listed under missing in the manifest).
  • Some files are not in v7's wwwroot at the commit 68f3a0f06: bundles built when the site is deployed, or the site's own content. 59 for Burundi and 57 for Rwanda, listed in the manifest, among them the Font Awesome files, bootstrap.css, the site's logos and menu images, and the layout scripts.
  • The scripts from translate.google.com, html5shim.googlecode.com and www.googletagmanager.com are not loaded. The Google Translate placeholder stays.
  • <base href="/"> is removed, so relative links resolve from the copy.
  • D53 needs no edit of tariffs.js, as above.

Not in this pass

D35 (translated descriptions), D36 (the cheaper treatment notice) and D45 ("legal act not found") come in the second pass. D56, totals shown as they come, has no case: neither OBR nor RRA answers only totals. Its case is KRA's, in the second pass, from the Kenya Duty Estimator D57. Administration and KRA are out (melux, 26-10-2026).

Back to the mockups, the design.

Drafted with Claude for melux · UNCTAD · working material, hidden from search enginesUpdated · 29-10-2026