Retrieve the current salary structure
The CTC or daily wage in force today, broken into the components the engine will value on the next run.
Path parameters
id requiredstring | Employee id, or your own identifier prefixed with ext: - /employees/ext:emp-1001. |
Query parameters
as_on string (date) | Read the structure in force on a past date. |
Responses
200The structure. EmployeeSalary404No such resource, or it belongs to an organization this key cannot reach. ErrorResponse
curl -X GET https://api.indpayroll.com/v1/employees/{id}/salary \
-H "Authorization: Bearer $INDP_API_KEY"{
"employee_id": "ext:emp-1001",
"basis": "monthly_ctc",
"monthly_ctc": 85000,
"annual_ctc": 1020000,
"daily_wage": null,
"salary_group_id": 3,
"effective_from": "2026-04-01",
"allow_generate_payroll": true,
"components": [
{
"code": "BASIC",
"name": "Basic",
"kind": "earning",
"monthly_amount": 42500,
"annual_amount": 510000
},
{
"code": "HRA",
"name": "House Rent Allowance",
"kind": "earning",
"monthly_amount": 17000,
"annual_amount": 204000
},
{
"code": "SPL",
"name": "Special Allowance",
"kind": "earning",
"monthly_amount": 21700,
"annual_amount": 260400
},
{
"code": "PF_EMPLOYER",
"name": "Employer PF",
"kind": "employer_contribution",
"monthly_amount": 1800,
"annual_amount": 21600
}
]
}