GET
/api/v1/tax/payeIncome Tax (PAYE / APIT) API
Calculate Sri Lankan personal income tax (APIT) on a gross monthly salary using the current IRD brackets.
Parameters
| Param | In | Required | Description |
|---|---|---|---|
| monthly | query | yes | Gross monthly salary in LKR. |
Request
curl "https://induwara.lk/api/v1/tax/paye?monthly=250000"JavaScript (SDK):
import { InduwaraLK } from "https://induwara.lk/sdk/induwaralk.js";
const api = new InduwaraLK();
const data = await api.tax(/* … */);Response
{
"ok": true,
"data": {
"grossMonthly": 250000, "grossAnnual": 3000000,
"monthlyTax": 8000, "annualTax": 96000,
"monthlyNet": 242000, "annualNet": 2904000, "currency": "LKR"
}
}Frequently asked questions
- Is there a Sri Lanka PAYE / income tax API?
- Yes. GET /api/v1/tax/paye?monthly=250000 returns the monthly and annual APIT (PAYE) and take-home pay using the current IRD tax tables.