Trade facilitation UN Trade & Development

The import bill, quoted by customs before the goods ship

For customs administrations, trade ministries and trade portal operators

An importer's first question is what a shipment will cost at the border. Most portals answer with tables copied from customs, which go stale. UNCTAD helps countries publish a calculator that asks the customs system itself: every charge, rate and exchange rate on the screen comes from the customs tariff service, live.

It is not a spreadsheet on a website. It is the customs tariff engine, put in front of the importer through a page any portal can embed.

The point of departure

A price the importer cannot know until the declaration

Import duty is only the first line. A single shipment can carry nine charges, each with its own base, and the total is what the importer needs to price a sale, apply for credit or decide to ship at all.

Rates are published; the bill is not

The Trade Facilitation Agreement requires members to publish duty rates and make them available on the internet. In the 2025 United Nations survey, only 56 % of countries had fully done so. And a rate table does not tell an importer what nine charges on one shipment add up to.

Portal calculators that drift from customs

A calculator built on copied tables quotes one figure and the declaration another. In August 2025 the Philippines withdrew its official calculator because it did not reflect all lawful charges. The importer learns the difference at the counter.

The answer lives with the broker

Where no reliable estimate exists, the question goes to a customs broker or an enquiry point, by phone, one shipment at a time. Some official calculators ask the importer to type the duty rate in.

Sources for this section: WTO · TFA Article 1 · UN · Global Survey on Digital and Sustainable Trade Facilitation 2025 · Bureau of Customs, Philippines · 18 August 2025 · Bahamas Customs · Duty calculator · UNCTAD · Burundi calculator (2026)
The question is no longer whether it can be done. In the 2025 United Nations survey, 99 % of countries already run an automated customs system. ASYCUDA, the customs system UNCTAD operates in 103 countries and territories, already carries a tariff-estimate service, and Rwanda publishes its specification openly, without a key. The figure exists inside customs; what is missing is the page in front of it. ASYCUDA Report 2025
The service

One request to customs, one answer, nothing computed in between

The importer describes the shipment; the page sends one request to the customs tariff service and displays the answer. The screens are a recreation; the figures are real, returned by the Burundi Revenue Authority's service on 6 August 2026 for a shipment of paddy rice.

trade information portal · import duty and tax calculator
TIP Trade information portal
ProductOriginQuantityValueResult
What do you want to import?
Search by product name, or type the code if you know it.
1006 10 00 000 · Paddy rice
Chosen from the customs catalogue: 6 278 tariff lines, searched live.
Import for home use
Only the regimes the service actually assesses are offered.
Pakistan
None
Choosing one leaves only its eligible countries selectable.
25 000 kg
25 000 · 500 cartons
50 000 000 BIF
2 000 000 · 500 000
Customs value 52 500 000,00 BIF invoice + freight + insurance + other costs, minus deductions
CalculateStart over
Five figures are enough. Regime, delivery terms and currency are pre-set for the country and can be changed. Nothing is typed that customs can list.
trade information portal · import duty and tax calculator
TIP Trade information portal
ProductOriginQuantityValueResult
Trade agreement and eligible origin
The agreement is chosen first, because it decides which countries can be the origin.
Agreement, as customs names itEffect on import dutyEligible countries
Gazette EAC, zero dutyImport duty exempt41
EAC CMA 2004, Annex 5Import duty exempt20
Gazette EAC, reduced dutyDuty reduced to 10 %20
EAC free trade areaRegional rate4
Regional integration levy at zeroLevy exempt1
The pair comes from customs. One reference table holds 103 agreement-and-country pairs. The page copies it; it does not decide who qualifies.
An agreement can cut the bill by four fifths. On the reference shipment the total falls from 53 184 494 to 9 871 994 BIF, and the page shows the importer that it is the agreement, not the origin, that did it.
1 / 2
trade information portal · estimated amount payable
TIP Estimated amount payable
ProductOriginQuantityValueResult
10 738 243,74BIF · estimate; the amount due is fixed at declaration
ChargeWhat customs calls itRateAmount
DDIImport dutyexempt0,00
RADAdministrative fee1,00 %525 000,00
FIPPublic infrastructure financing1,50 %787 500,00
TSRSecurity levy2,00 %1 050 000,00
PFRFlat-rate levy3,00 %1 575 000,00
RIFIT fee0,25 %131 250,00
RIRRegional integration levy2,00 %1 050 000,00
TVAValue added tax10,00 %5 604 375,00
DMCDeclaration form feeflat, 5 USD15 118,74
Total10 738 243,74
Notice from customs. A manifest is mandatory for this regime.
PrintExport as CSV
Nine charges, one total, and the notice customs attached. Each base is decided by customs: VAT here is charged on the customs value plus every other charge, minus the flat-rate levy. The page adds nothing.
trade information portal · estimated amount payable · in the importer's currency
TIP Estimated amount payable
ProductOriginQuantityValueResult
3 551,30USD 10 738 243,74 BIF
1 USD = 3 023,748 BIF, the rate customs applied. Printed exactly as customs returned it, so the division can be checked rather than trusted.
USD
Seven currencies offered of the 23 customs quotes.
BIF · always
The local figure is the original, to the cent.
customs', not the portal's
The page consults no exchange table.
The currency declares the input, not the answer. Customs always assesses in local currency and returns the rate it used. The foreign figure is derived by division and may differ by cents.
A foreign supplier's invoice, a local bill. The importer sees both, and which one is the original.
1 / 2
documentation · where each list on the form comes from
DOC Data reference, field by field
Reference tablesFieldsDefects
Nine of eleven lists are customs' tables, copied verbatim
Row counts read from the live service on 6 August 2026.
Customs tableRowsFeeds
countries243Origin, dispatch, first destination
country-preferences103Which countries each agreement allows
taxes135Names of the charges in the result
packages49Package type
exchange-rates23Currencies quoted by customs
tod19Delivery terms (Incoterms)
units17Units for the quantity boxes
types · preferences16 · 9Declaration type and regime · trade agreements
commodity catalogue6 278Tariff lines, searched live, one call per keystroke
Two things are ours, and they are declared. The shortlist of seven currencies, and the blank option on every optional list: without it the browser picks the first agreement and applies an exemption nobody asked for.
Copying a list cannot go wrong; manufacturing one can. The only two lists ever derived were the two that caused problems, so the documentation says which is which.
documentation · defects found in the customs service
DOC Defects reported to customs
Reference tablesFieldsDefects
Reported with a reproducible example, never patched in the page
Ten open items after one month against the live service. Four are hidden from the importer by validating before sending; the defect stays on record.
What the service doesStatus
Quotes a complete bill for a product code that does not existopen
Does not apply the trade agreement from the country of origin aloneshown on screen
Accepts a mistyped agreement code and silently ignores itonly valid codes offered
Assesses negative and zero amountsvalidated before sending
Returns a server error for a missing field, without naming itvalidated before sending
Product search is accent-sensitiveopen
Test records offered to importers as a customs regimeopen
The one rule of the codebase. If customs has a defect, it is reported. A portal that silently corrects its customs authority hides the defect and quotes a different number to the same importer.
The defect report is a deliverable. Customs receives what only an outside client can see, with the request that reproduces it.
1 / 2
service status · checked every five minutes
Service status and usage
Last 24 hoursBy countryBy day
Is customs answering?
The customs tariff service, probed every five minutes. When it is down, the calculator says so instead of showing another country's data.
✓ answering   last checked two minutes ago
✕ not yet authorised   the relay's address awaits allow-listing
184
3 countries
none
Counters live in memory. A redeploy resets them, and the page says so rather than implying a history it does not have.
When customs is down, the page says so. The status page is public, so the trade ministry and customs read the same signal. Illustrative counts.
The result

What stays in the country

Three pieces, none of them a dependency on UNCTAD: a page, a relay, and a written record of how the customs service actually behaves.

01

The calculator, where importers already look

  • Plain HTML, CSS and JavaScript. No framework, no build step.
  • Embedded in the trade portal with one line, or run on its own.
  • In the country's languages, with the portal's colours and logos.
  • Printable estimate and CSV export for the importer's file.
  • Validated before sending, so a confident wrong price is never shown.
The portal calculates nothing: customs does.
02

A relay that guards the customs key

  • Under two hundred lines of server code, no dependencies.
  • Holds the customs API key; the browser never sees it.
  • Allows only the tariff routes and refuses everything else.
  • Probes the customs service every five minutes and publishes the result.
  • Reads and stores no IP address.
Customs authorises one address, not every visitor.
03

A measured record of the customs service

  • Every field: required or not, measured, not assumed.
  • Which declaration types the service actually assesses.
  • Which fields ask a question and change nothing.
  • Defects reported to customs with a reproducible request.
  • Reconciled, charge by charge, against a real declaration.
One real declaration validated the whole calculator.
Reference cases

Already running, and verifiable in a click

Two UNCTAD prototypes, one codebase, two ways of reaching the customs service; and the customs administrations that already publish a calculator of their own. The prototypes are published as such; neither is the official portal of its government.

Import duty calculators in operation and related references
WhereWhat is in operationSinceSource
Burundi Calculator against the live tariff service of the Office Burundais des Recettes. Six charge lines reconciled to the franc against a real ASYCUDA declaration; ten defects reported to customs. 2026 Live calculator · Service status
Rwanda The same code against the Rwanda Trade Portal, which relays to Rwanda Revenue Authority. Proves that a second country is configuration, not code. 2026 Live calculator · Rwanda Trade Portal
Rwanda Revenue Authority Publishes the tariff-estimate specification of its ASYCUDA World service openly: 23 endpoints, no key required. The only written contract this family of services has. public ASYEnt Tariff Estimate API
Rwanda Trade Portal The national calculator importers use, connected to the customs system. Its only reservation is the declared value, not the rates or the formula. 2018 Import Duties & Taxes Calculator
Jordan Taxation simulation inside the customs ASYCUDA portal; the final figure is fixed on the date the declaration is registered. n/a Jordan Customs · JCAP
Jamaica Duty estimator hosted in the customs ASYCUDA World portal, beside the online tariff and the reference tables. 2020 Jamaica Customs · JETS
Barbados · Gambia · Saint Lucia Duty calculators served by the customs ASYCUDA World portal itself, next to exchange rates and the tariff. n/a Barbados · Gambia
Madagascar eTariff: tariff consultation and a duty estimator published by the customs directorate. 2024 Direction générale des douanes
Philippines The counter-example: the official calculator was withdrawn because it did not reflect all lawful charges and diverged from the assessment. 2025 Bureau of Customs
Sources consulted on 22 September 2026. Each link opens the original.
Foundation

Which international instruments it rests on

The calculator creates no obligation; it discharges ones the country already has, and it falls under the mandate UNCTAD received in Geneva in October 2025.

World Trade Organization

Trade Facilitation Agreement, Article 1

Members publish applied rates of duties, taxes, fees and charges, and are encouraged to make them available through the internet. Ratified by 162 of 166 members.

Read the Agreement →
World Trade Organization

Trade Facilitation Agreement, Articles 3 and 10.4

Advance rulings are binding and written; an estimate is neither, and the page says so. Article 10.4 is the single window the calculator sits beside.

Read the Agreement →
World Customs Organization

Revised Kyoto Convention, General Annex, Chapter 9

Standard 9.1: all relevant information readily available to any interested person. Standard 9.3: customs uses information technology to provide it.

See Chapter 9 →
World Customs Organization

Harmonized System Convention

The catalogue the importer searches is the national tariff, built on the nomenclature 163 contracting parties share.

See the contracting parties →
UN/CEFACT · United Nations

Recommendations 33 and 36

The single window, and the interoperability between systems that a portal asking the customs system is a minimal case of.

See Recommendation 36 →
UNCTAD 16 · Geneva Consensus, 2025

The mandate this rests on

UNCTAD is to continue implementing ASYCUDA with member States and to support trade facilitation reforms, including the TFA, and access to trade-related information.

See the Geneva Consensus →
The proposal

The roadmap: ten weeks, three phases

Not a contractual promise: the order in which things work. Burundi took one month of one person; the rest is what turns a prototype into a service the country operates.

Phase 1
Weeks 1 – 2

Access and measurement

  • Customs provides the service URL, credentials and allow-lists the relay's address.
  • Every field measured against the live service: required, optional, inert.
  • Every declaration type tested; only those the service assesses are offered.
  • First defect report delivered to customs.
A written record of how the service behaves.
Phase 2
Weeks 3 – 6

Configure and validate

  • Languages, colours, logos and defaults of the country's portal.
  • Reconciliation, charge by charge, against a real declaration customs shares.
  • Validation of every input before it reaches customs.
  • Status page probing test and production hosts.
Every charge matches the declaration to the cent.
Phase 3
Weeks 7 – 10

Publish and hand over

  • Embedded in the trade portal, or published on its own domain.
  • Switch from the test host to production.
  • Indexing, analytics and the search engines told it exists.
  • Code, documentation and defect register handed to the country's team.
The country operates it without assistance.
Duration
10 weeks
Where customs runs ASYCUDA World with the tariff-estimate service exposed.
Another customs system
+ 4 – 8 weeks
An adapter behind the same relay, if the system offers a tariff or simulation service.
Budget
Set after week 2
Indicative, defined once the service has been measured. Not an offer.
Code
Open, no dependencies
Around 2 400 lines, handed over with the documentation.
Conditions

What is needed from your customs administration

Nothing on this list can be supplied by UNCTAD. Four of the items are needed before a line of code is written; the rest can be worked on in phase 1.

A tariff service that answers

ASYCUDA World with the tariff-estimate module enabled, or an equivalent service in the customs system.

Credentials and an allow-listed address

The service is restricted by IP address and shared secret. Customs authorises the relay's address; without it nothing passes.

A test host and a production host

The calculator is built against test and switched to production with three configuration values.

One real declaration

The most valuable thing customs can share. It validates every charge line and exposes what no specification describes.

A person at customs who receives defect reports

The calculator reports what it finds and does not work around it. Someone has to read the report.

Exchange rates and tariff kept current in the system

The page shows what customs holds. If the rate is old in the system, it is old on the screen.

A place to publish

The trade portal, a single window, or a subdomain. The page embeds with one line and needs nothing installed.

A line of legal text

That the figure is an estimate and the amount due is fixed at declaration. Every page carries it.

Which situation is yours

The answer depends on one thing: whether the customs system can be asked.

Three situations and what UNCTAD would propose in each
Your customs systemWhat the calculator would beEffort
ASYCUDA World, tariff-estimate service exposed Exactly this: every figure from customs. Three configuration values and no code. The module is not always switched on; the first step is confirming it with the ASYCUDA team. 10 weeks
Another system with a tariff or simulation service The same page and relay, with an adapter that speaks the system's interface. The specification Rwanda publishes becomes the internal contract. 14 – 18 weeks
No service to ask Not a calculator. UNCTAD would propose a rate lookup from the published tariff, labelled as such, because a page that computes its own bill is the drift this product exists to end. Separate scope
The first step

Three steps, no commitment

No government decision is needed to start talking. Half an hour is.

1 · A conversation

Half an hour with customs and the portal operator, to learn which system answers and whether its tariff service is exposed.

2 · A measurement week

With test credentials, the service is measured: required fields, declaration types, what changes nothing. The report is the country's, whatever it decides next.

3 · A formal proposal

Scope, timeline and budget in writing, subject to UNCTAD's mandates and to the resources available.

Let's talk about your import duty calculator Write with the name of the customs system your administration runs and one line on how importers get an estimate today.
Write to UNCTAD

Writing commits you to nothing. This page is a basis for discussion and an invitation to express interest.

ValentinaShe presents this page

1 / 9
QuestionsAnswers drawn from this page