GET
/api/v1/kenya/payrollPay & statutoryKenya Payroll (gross → net)
Turn a monthly gross salary into net pay the way KRA does it now: NSSF, SHIF and the Affordable Housing Levy come off first (all allowable deductions since the Tax Laws (Amendment) Act 2024), then PAYE is charged on the banded remainder and netted against the personal relief. Returns every line plus the per-band PAYE breakdown.
Try it live
Request
GET https://www.leadafrik.com/api/v1/kenya/payroll?gross=100000&helb=0Response
…Parameters
| Name | Type | Required | Description |
|---|---|---|---|
gross | number | yes | Monthly gross salary in KES |
helb | number | no | Monthly HELB loan repayment, if any |
Call it from code
curl
curl "https://www.leadafrik.com/api/v1/kenya/payroll?gross=100000"JavaScript
const res = await fetch("https://www.leadafrik.com/api/v1/kenya/payroll?gross=100000");
const { ok, data, meta } = await res.json();