Kenya · Uganda · Tanzania · Rwanda

East Africa payroll maths, as one API.

PAYE, NSSF, SHIF, housing levy, SDL, RSSB and the employer's real cost, from a single REST call. Pass the payroll month and get the rates that applied that month, with the sources and the date they were last verified.

Try the calculator
curl -X POST https://api.example.com/v1/payroll/KE \
  -H "X-API-Key: kzp_live_..." \
  -H "Content-Type: application/json" \
  -d '{"gross_salary": 100000, "period": "2026-11"}'

{
  "net_pay": 70441.65,
  "paye": { "paye": 19308.35, "marginal_rate": 0.3 },
  "total_employer_cost": 107550.0,
  "rules": { "effective_from": "2026-02-01",
             "verified_on": "2026-11-20", "sources": [...] }
}

Try it now

This calls the real API through a rate-limited, keyless demo endpoint. Amounts are monthly, in local currency.

Your payslip appears here.

Built for people who ship payroll

Everything below is in the API today.

Rules that follow the calendar

Send period and get the NSSF limits, PAYE bands and levies in force that month. Re-run last year's payslips or next month's budget.

Show your working

Every response includes band-by-band tax, the rules version, a confidence level, notes and links to the sources behind the numbers.

Net to gross

Tell it the take-home you promised. It solves the gross salary to the cent, with every statutory deduction applied.

Employer cost

Employer NSSF, housing levy, NITA, SDL, WCF, RSSB: total cost to company on every call, so offers and budgets add up.

Batch

Up to 1,000 payslips per request, mixed countries. Failed items are reported per item and are never charged.

Your data stays yours

Salary figures in your requests are processed and returned. They are not written to our database or logs.

Coverage

Loaded live from GET /v1/countries. Full bands and caps are public at /v1/countries/{code}/rules.

CountryCurrencyHistory fromLatest rulesVerifiedConfidence

Not covered yet: Zanzibar and public-sector schemes in Tanzania, non-resident taxation outside Kenya, valuation of benefits in kind (pass the taxable value yourself), and Uganda Local Service Tax tables (pass the amount). The response warnings tell you when an option does not apply to a country.

Quick start

Create a key, then call any endpoint. The full interactive reference is in the API docs.


Pricing

One unit is one payslip calculation; a batch of 50 uses 50. Prices in USD per month.

Questions

How accurate are the numbers?

Rates come from the revenue authority and social security notices and from the big-four tax summaries. Each rules version carries its sources, the date it was verified and a confidence level, and the API warns you when rates are more than four months old. It is an estimate for planning and integration, so confirm against the authority before filing returns.

What happens when a law changes?

A new rules version is added with an effective date. Requests for earlier months keep using the old version, so historical payslips do not change.

Do you store salary data?

No. We store your email, a hash of your API key and a monthly call count. Request bodies are not saved.

Can I pay from outside Kenya?

Yes. Paid plans are billed online through a hosted checkout. Write to us for annual or invoice billing.

Get your free API key

100 calculations a month, no card. We email nothing but what you ask for.