
Sri Lanka Payslip
io.github.Buddhima-JD3v2026.27.2更新于 Sep 30, 2026
Source-backed Sri Lanka payslip tools for APIT/PAYE, EPF, ETF, stamp duty, and net pay.
安装
在 SourceWeft 中
- 打开 控制台中的 Sri Lanka Payslip,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"sri-lanka-payslip": {
"type": "http",
"url": "https://mypayslip.lk/api/mcp"
}
}
}README
Sri Lanka Salary Calculator and Payslip Reference
[sri-lanka-salary-calculator MCP server]
An inspectable reference implementation for estimating a regular primary employment payslip in Sri Lanka. It calculates monthly APIT (PAYE), employee EPF, employer EPF, employer ETF, stamp duty, net pay, and employer cost.
The current reference is maintained by MyPayslip.lk for the Sri Lanka 2026/27 year of assessment. The latest regular-employment APIT table published by the Inland Revenue Department is labelled 2025/26; the relief and rates effective from 1 April 2025 remain the basis used for 2026/27.
Try the calculator
- Developer reference
- Sri Lanka salary calculator
- Embeddable salary calculator widget
- Payslip generator
- How to read and check a Sri Lankan payslip
- Calculation methodology
No account is required. The hosted calculator runs in the browser, and the public calculation API does not store salary inputs.
Verified example
For a monthly gross salary and EPF/ETF contribution base of LKR 200,000:
Run the same case locally:
Or call the hosted read-only API:
Reference implementation
calculator.mjs is intentionally dependency-free. It
accepts a gross monthly salary and an optional EPF/ETF eligible earnings base.
The contribution base should come from payroll records when excluded or
unusual payments make it different from gross salary.
Install the package from npm after its first registry release, or directly from this public repository now:
Verify the published examples:
Use with an AI assistant
This repository includes a local Model Context Protocol server built with the official MCP SDK. It gives compatible AI assistants three read-only tools:
Use the no-auth Streamable HTTP endpoint when the client supports remote MCP servers:
The same tools can run locally over stdio. In that mode, salary inputs are not sent to MyPayslip.lk or another external service.
Official MCP Registry:
io.github.Buddhima-JD3/sri-lanka-payslip
Agent-oriented installation instructions are available in
llms-install.md.
The Registry package is a public AMD64/ARM64 container:
Add it to an MCP client configuration:
Or start it from this repository:
Machine-readable references
- OpenAPI 3.1 specification
- Calculation methodology and test cases
- Archived v2026.27.2 source
- Live OpenAPI: https://mypayslip.lk/openapi.json
- Live methodology: https://mypayslip.lk/calculation-methodology.json
- Agent guidance: https://mypayslip.lk/llms.txt
Primary sources
- Inland Revenue Department APIT tax tables
- Inland Revenue Department income tax
- Central Bank of Sri Lanka Employees' Provident Fund
- Employees' Trust Fund Board employer guidance
- Inland Revenue Department stamp duty
Scope
This reference covers regular profits from primary employment. Bonus, terminal-benefit, secondary-employment, non-resident, and unusual payroll cases may require a different APIT table or professional review. Results are estimates, not payroll, tax, or legal advice.
When citing a result, use:
MyPayslip.lk, Sri Lanka 2026/27 payslip calculation methodology, verified 17 July 2026.
来源:README.md,提交 fb2ebab
工具
0版本历史
1- v2026.27.2最新Sep 16, 2026

