Tax — Automatic Tax Calculation
Automatically calculate VAT and applicable taxes per African country, stay compliant, and generate your tax reports.
Tax calculates the tax applicable to each transaction based on the country and customer. No more hardcoded rates: Wajub keeps fiscal rules up to date.
Available in beta — live only
Tax is in beta and covers a growing number of African jurisdictions. It only runs in the live environment — there is no sandbox mode for tax calculation. Check your country's coverage with support before relying on it in production.
What Tax handles
- VAT by country — up-to-date rates for supported jurisdictions (CM, CI, SN, NG, GH, KE…).
- Inclusive or exclusive — tax included in the price or added at payment time.
- Customer exemptions — for customers with a registered, valid tax ID.
- Reports — exports ready for filing.
On-the-fly calculation
https://api.wajub.com/tax/calculatecurl https://api.wajub.com/tax/calculate \
-H "Authorization: sk.xxxx" \
-d '{ "amount": 10000, "currency": "XAF", "country": "CM" }'{
"status": "OK",
"code": 200,
"calculation": {
"amount": 10000,
"tax_amount": 1925,
"taxable_amount": 10000,
"total": 11925,
"rate": 0.1925,
"tax_name": "VAT",
"country_code": "CM",
"currency": "XAF",
"tax_inclusive": false,
"tax_code": null,
"customer_exempt": false,
"reverse_charge": false
}
}No 'category' parameter
There is no product-category parameter (e.g. digital_services) — the rate is resolved from
country (and optionally a specific tax_code), not from a category taxonomy. Pass
tax_inclusive: true if your displayed price already includes tax, and customer_id to apply
that customer's registered exemption, if any.
Configure your settings (Configuration), then export your reports (Tax Reports).
Was this page helpful?