Web App · React · Node · API Engineering · Tax Tech
The only Ghana vehicle duty calculator that matches what GRA charges at the Bill of Entry, levy by levy.
Import duty on a car in Ghana isn't one number. It's a stack of 15+ levies applied to the CIF value and a customs multiplier, recalculated every day against a moving exchange rate. The calculators people were using were out of date or too simple to trust. GhanaDuty gives a line-by-line breakdown that matches what GRA charges at the Bill of Entry, for 1,500+ vehicles across 80+ brands.


GRA doesn't publish an API for duty rates, levy schedules or its daily customs exchange rate. The official figures live inside ICUMS (Integrated Customs Management System) and in PDF notices spread across its site. A calculator built on hardcoded values drifts out of date within weeks.
So I built the data layer before I built the calculator.
Private rates API. It scrapes the daily GRA/ICUMS customs exchange rate and turns GRA levy notices into a structured schedule of rate, base and what each levy applies to. Every version of the schedule is kept, so an old calculation can be reproduced exactly. The frontend reads one JSON endpoint, cached for a daily refresh, and the UI shows whether the rate is live, loading or stale so you can see what a figure is based on.
Since the frontend only reads from that endpoint, a GRA rate change goes live without touching the React bundle.

One example: the 2024 EV waiver for public transport only covers commercial fleets. Private EVs are still charged 20%, not 5%. I caught that before launch.
People use this to negotiate purchases worth six figures in cedis, so a wrong rate costs someone real money. I checked every levy in the schedule against the published GRA notice before writing the calculation engine.
A circular import. The build broke because App.jsx and the Bill of Entry Guide each imported the other's theme. I moved ThemeCtx and the useT hook into their own theme.js file, and both screens now read from it without depending on each other.
A stale service worker. After one deploy the app loaded as a blank page. A service worker was still serving a cached useAuth.jsx chunk that no longer existed in the new build. I reworked how it registers and added cache invalidation keyed to each release.
Vehicle data loaded at runtime. The 1,500+ models are fetched as JSON instead of being bundled into the app, so new vehicles go live without a redeploy. A native select can't handle a list that long, so I built a searchable dropdown.
Security. Strict CSP, a CORS allowlist, rate limiting, request logging, pinned dependencies and security headers applied before a request reaches the app. Analytics run without cookies and don't collect personal data.


React + Vite SPA. Everything you interact with runs here: vehicle search, the form, the duty calculation and the Bill of Entry view. There's no server-side rendering. Once the rate data arrives, the calculation happens in the browser.
Private Rates API (Node/Express) is the only backend. It pulls the daily customs exchange rate from GRA/ICUMS, parses the levy schedule and returns it as one JSON response. The frontend fetches it once per session and caches it in localStorage with a timestamp.
GhanaDuty launched in April 2026 as a basic calculator: pick a vehicle, enter the CIF, get the breakdown. It has had a series of upgrades since then, mostly based on who started using it. Some people were checking a single car. Dealers and clearing agents were pricing dozens a week.
Faster input. VIN Quick Fill reads a 17-character VIN and fills in the make, model, year, fuel type and engine size. On the landing page you can tap a popular import and go straight to a finished result.
More detail. Port charges are now listed one by one: the network charge with its own VAT, NHIL and GETFund, plus the Shippers Authority, disinfection and MoTI e-IDF fees. Each line shows the formula next to the amount. You can save a result, share it as a link or export it as a BOE-style PDF.
Plans for dealers and agents. There are now Free, Dealer and Pro plans. Dealer adds bulk CSV pricing, a Deal Book that tracks landed cost and margin per car, quote links for clients that hide your costs, and an alert when GRA rates change on a vehicle you've saved. Pro adds landed-cost and currency-risk tools, branded PDF quotes, webhooks, a white-label embed, an API, and an AI agent connector so Claude or ChatGPT can work out duty for you.
Search. Every make and model in the database has its own duty page with a worked example. People searching for a specific car land on that page first.




In Ghana's car import market, the buyer usually knows the least. People go into negotiations without knowing what they'll owe. Clearing agents know, and have little reason to share it. A bad estimate early on can mean hundreds of thousands of cedis nobody budgeted for.
GhanaDuty gives buyers that one number. You'll still need a clearing agent, but you can talk to one already knowing what the duty should be.