---
title: "What we are building"
updated: "26-10-2026"
---

# What we are building

<p class="lead">A page where a trader picks a product, describes a shipment and reads, line by line, every duty and tax it will pay. It sits on a customs portal such as Burundi's, or on its own, and it answers whether or not the country has ASYCUDA.</p>

## What the trader sees

The same rice as everywhere in these documents, with the figures OBR returned on 30-09-2026. The page opens in French, Burundi's default, on the Import tab.

<div class="mock" role="img" aria-label="Mockup of the calculator page for Burundi: the form on the left filled for husked rice from Pakistan, the result on the right with a total of 53 184 540 BIF and nine charges.">
<div class="mock-bar"><i></i><i></i><i></i><span>calculator-bi.eregistrations.dev</span></div>
<div class="mock-head"><b>Calculateur des droits et taxes</b><small>OBR · FR | EN</small></div>
<div class="mock-tabs"><span class="on">Importation</span><span>Exportation</span></div>
<div class="mock-body">
<div class="mock-form">
<div class="mock-f w">Produit<div>10062000000 · Riz décortiqué (riz cargo ou riz brun)</div></div>
<div class="mock-f">Pays d'origine<div>Pakistan</div></div>
<div class="mock-f">Traitement préférentiel<div>—</div></div>
<div class="mock-f">Valeur de la facture<div>50 000 000 BIF</div></div>
<div class="mock-f">Fret extérieur<div>2 000 000 BIF</div></div>
<div class="mock-f">Assurance<div>500 000 BIF</div></div>
<div class="mock-f">Fret intérieur<div>0 BIF</div></div>
<div class="mock-f">Poids brut<div>25 000 kg</div></div>
<div class="mock-f">Colis<div>500</div></div>
<div class="mock-more">Plus de détails ▸</div>
<div class="mock-btn">Calculer</div>
</div>
<div class="mock-res">
<div class="mock-k">Total estimé</div>
<div class="mock-total">53 184 540 <small>BIF</small></div>
<div class="mock-sub">Valeur en douane 52 500 000 BIF · 9 charges</div>
<div class="mock-line"><b>DDI</b><span>Droit de douane</span><em>75 %</em><span>39 375 000</span></div>
<div class="mock-line"><b>TVA</b><span>Taxe sur la valeur ajoutée</span><em>10 %</em><span>9 463 125</span></div>
<div class="mock-line"><b>PFR</b><span>Prélèvement forfaitaire</span><em>3 %</em><span>1 575 000</span></div>
<div class="mock-line"><b>TSR</b><span>Taxe de sûreté</span><em>2 %</em><span>1 050 000</span></div>
<div class="mock-line"><b>RIR</b><span>Intégration régionale</span><em>2 %</em><span>1 050 000</span></div>
<div class="mock-line"><b>RAD</b><span>Redevance administrative</span><em>1 %</em><span>525 000</span></div>
<div class="mock-line"><b>RIF</b><span>Redevance informatique</span><em>0,25 %</em><span>131 250</span></div>
<div class="mock-line"><b>DMC</b><span>Chemises déclarations</span><em>5 USD</em><span>15 165</span></div>
<div class="mock-line nil"><b>FIP</b><span>Infrastructure publique</span><em>exonéré</em><span>0</span></div>
<div class="mock-note">Estimation. Seule la liquidation de la douane fait foi. Réponse de l'OBR le 30-09-2026 à 17:25 · 1 USD = 3 032,91 BIF, taux OBR du 30-09-2026.</div>
<div class="mock-acts"><span>Imprimer</span><span>CSV</span></div>
</div>
</div>
</div>
<p class="mock-cap">A mockup, not a screenshot: step 3 draws it properly. The figures are OBR's real answer. What the page adds to them: the exempt FIP shown as exempt, the DMC shown as 5 dollars, the source and the rate's date under the total.</p>

## Where it lives

The calculator runs at its own address for each country. A portal places it in its own page with one line; here, Burundi's trade portal on eRegulations v7, once pilot 1 has passed.

<div class="mock mock-portal" role="img" aria-label="Mockup of Burundi's trade portal with the calculator embedded in its Tariffs page, inside a frame served by calculator-bi.eregistrations.dev.">
<div class="mock-bar"><i></i><i></i><i></i><span>infocommerce.obr.bi/fr/Tariffs</span></div>
<div class="pb"><b>Portail d'Informations Commerciales</b><span>Office Burundais des Recettes</span></div>
<div class="pn"><span>Accueil</span><span>Procédures</span><span>Réglementation</span><span class="on">Calculateur des droits et taxes</span><span>Contact</span></div>
<div class="mock-frame" data-src="calculator-bi.eregistrations.dev/embed">
<div class="mock-tabs"><span class="on">Importation</span><span>Exportation</span></div>
<div class="mock-body">
<div class="mock-form">
<div class="mock-f w">Produit<div>10062000000 · Riz décortiqué</div></div>
<div class="mock-f">Pays d'origine<div>Pakistan</div></div>
<div class="mock-f">Valeur de la facture<div>50 000 000 BIF</div></div>
<div class="mock-btn">Calculer</div>
</div>
<div class="mock-res">
<div class="mock-k">Total estimé</div>
<div class="mock-total">53 184 540 <small>BIF</small></div>
<div class="mock-sub">9 charges · Réponse de l'OBR</div>
</div>
</div>
</div>
</div>
<p class="mock-cap">The portal keeps its header, menu and colours; inside the dashed frame, the calculator, served from its own address. The portal cannot change a figure or a notice (module 8).</p>

## How it answers

<!-- figure:architecture -->

Where a customs service computes, as OBR's does, the calculator asks it and shows its answer, correcting nothing. Where none does, it computes from the country's published tariff, and says the figure is indicative. The page is the same either way; the [contract](step2/contract.html) is what it speaks.

## In three moves

| When | What happens | Who is involved |
|---|---|---|
| **Now** | The prototype and eRegulations v7 both ask OBR. These documents fix what the calculator is, one module at a time. | Nelson Pérez built the prototype; Mehdi Benmoumen ported it into eRegulations v7 and reviews these pages |
| **Pilot 1, Burundi** | The calculator asks OBR, and computes Burundi from the EAC gazette and its finance law beside it, tax by tax, to prove the engine matches customs. Then v7's `/Tariffs` page embeds it. | OBR, for access and real declarations |
| **Pilot 2, Rwanda** | A second country, from data alone: same EAC tariff, its own exemptions and taxes, compared with RRA's own answers. | RRA, for its agreement (D52) |

## Where to go next

- [The contract](step2/contract.html): what the page sends and receives, with the real rice answer.
- [The eleven short specifications](step2/index.html), and [every state of the page](step2/states.html).
- [The dictionary](dictionary.html), for any word used in a sense of its own.
- [Decisions taken](DECISIONS.html), each with who took it and when.
