A Payroll Software Solution for Eastern Africa
# Mikaju Payroll
**Professional offline-first payroll & HR software for Kenyan businesses.**
By Mikaju Software Solutions — a subsidiary of Afams Limited, Nairobi.
---
## What this is
Mikaju Payroll is a desktop application (Electron + React) that lets Kenyan businesses run statutory-compliant payroll **with or without internet**. All data lives locally in an encrypted SQLite database and syncs to Supabase cloud whenever the machine comes online.
It is the dedicated payroll & HR product that succeeds the payroll features previously offered by salarycalculator.co.ke, which will continue to serve lightweight, browser-based salary calculations.
---
## Statutory compliance (2026)
| Deduction | Rate / Rule |
|---|---|
| PAYE | Graduated bands 10% → 35%, personal relief KES 2,400/mo |
| NSSF | Tier I: 6% up to LEL (KES 9,000) · Tier II: 6% up to UEL (KES 108,000) |
| SHIF | 2.75% of gross, minimum KES 300 |
| Affordable Housing Levy | 1.5% employee + 1.5% employer |
All rates are stored in **versioned tables keyed by `effectiveFrom` date** so historical payroll runs stay reproducible after statutory changes.
---
## Pricing
| Plan | Monthly | Annual | Employees |
|---|---|---|---|
| Free | KES 0 | — | Up to 3 |
| Basic | KES 99 | KES 999 | Up to 25 |
| Enterprise | KES 399 | KES 3,999 | Unlimited |
Subscriptions run on Paystack recurring billing. Offline license tokens allow the app to enforce entitlements without requiring internet on every launch.
---
## Repo structure
```
mikaju-payroll/
├── apps/
│ ├── landing/ # mikaju.com static site (plain HTML/CSS/JS)
│ └── desktop/ # Electron + Vite + React desktop app
│ ├── electron/
│ │ ├── main.js # Main process entry point
│ │ ├── preload.js # contextBridge IPC surface
│ │ ├── db/ # SQLite schema + writeRecord()
│ │ ├── sync/ # Sync engine (push outbox → pull remote)
│ │ └── license/ # Offline ECDS …