Payrolls_GetEmployeePayrolls
Retrieve employee payroll records by specifying employee ID, tenant ID, and optional filters such as date range, status, and modification details through the ServiceTitan MCP Server API.
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": {
"employee": "<employee>",
"tenant": "<tenant>"
},
"name": "Payrolls_GetEmployeePayrolls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | What kind of items should be returned (only active items will be returned by default) Values: [True, Any, False] | |
| approvedOnOrAfter | No | Format - date-time (as date-time in RFC3339). Return items approved on or after certain date/time (in UTC) | |
| employee | Yes | Format - int64. The employee ID | |
| endedOnOrBefore | No | Format - date-time (as date-time in RFC3339). Return items having end date before certain date/time (in UTC) | |
| includeTotal | No | Whether total count should be returned | |
| modifiedBefore | No | Format - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC) | |
| modifiedOnOrAfter | No | Format - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC) | |
| page | No | Format - int32. The logical number of page to return, starting from 1 | |
| pageSize | No | Format - int32. How many records to return (50 by default) | |
| startedOnOrAfter | No | Format - date-time (as date-time in RFC3339). Return items having start date after certain date/time (in UTC) | |
| status | No | Return items of the specified payroll status Values: [Pending, Expired, Approved, Paid, Locked] | |
| tenant | Yes | Format - int64. Tenant ID |