list-payroll-leave-periods
Retrieve detailed leave period information for a specific employee in Xero, including start and end dates, status, payment dates, and leave types.
Instructions
List all leave periods for a specific employee in Xero. This shows detailed time off periods including start and end dates, period status, payment dates, and leave types. Provide an employee ID to see their leave periods.
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": {
"employeeId": "<employeeId>"
},
"name": "list-payroll-leave-periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | Optional end date in YYYY-MM-DD format | |
| startDate | No | Optional start date in YYYY-MM-DD format | |
| employeeId | Yes | The Xero employee ID to fetch leave periods for |