Calculate a Sri Lanka payslip
calculate_sri_lanka_payslipEstimate monthly APIT/PAYE, employee and employer EPF, ETF, stamp duty, net pay, and employer cost for regular primary employment in Sri Lanka.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"grossSalary": "<grossSalary>"
},
"name": "calculate_sri_lanka_payslip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grossSalary | Yes | Gross monthly employment income in Sri Lankan rupees | |
| epfEtfEarningsBase | No | EPF/ETF-eligible monthly earnings; defaults to gross salary | |
| otherEmployeeDeductions | No | Optional non-statutory employee deductions, such as a loan repayment |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apit | Yes | ||
| netPay | Yes | ||
| caution | Yes | ||
| sources | Yes | ||
| currency | Yes | ||
| stampDuty | Yes | ||
| employeeEpf | Yes | ||
| employerEpf | Yes | ||
| employerEtf | Yes | ||
| grossSalary | Yes | ||
| employerCost | Yes | ||
| methodologyUrl | Yes | ||
| sourceTableYear | Yes | ||
| yearOfAssessment | Yes | ||
| epfEtfEarningsBase | Yes | ||
| payslipGeneratorUrl | Yes | ||
| otherEmployeeDeductions | Yes | ||
| totalEmployeeDeductions | Yes |