compute_payroll
PAID ($0.10). Gross-to-net take-home pay for Nigeria or Kenya: applies PAYE (on the verified brackets) plus the statutory employee deductions (Nigeria: pension/NHF/NHIS; Kenya: NSSF/SHIF/Affordable Housing Levy) and reliefs, returning net pay with full workings, per-contribution citations and DISCLOSED assumptions. Nigeria's pension base needs pay composition — pass basic/housing/transport for an exact figure, or a market-convention 40/30/10 split is assumed and disclosed. Pass api_key if you have one; otherwise the response explains how to pay via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basic | No | Nigeria: basic pay component | |
| gross | Yes | Gross pay in local currency | |
| period | No | Period the gross covers (default month) | |
| sector | No | Nigeria: public applies NHF; private (default) sets NHF 0 | |
| api_key | No | API key (bypasses x402; metered for invoicing) | |
| country | Yes | Payroll is supported for Nigeria (ng) and Kenya (ke) | |
| housing | No | Nigeria: housing allowance | |
| transport | No | Nigeria: transport allowance | |
| annual_rent | No | Nigeria: annual rent paid (unlocks rent relief) | |
| nhis_premium | No | Nigeria: NHIS employee premium if deducted | |
| pensionable_pay | No | Kenya: pensionable pay for NSSF tiers | |
| insurance_premium | No | Kenya: insurance premium for 15% relief |