list-payroll-employee-leave
Retrieve leave records for a specific Xero employee, showing approved, pending, and processed time off to track attendance and manage workforce planning.
Instructions
List all leave records for a specific employee in Xero. This shows all leave transactions including approved, pending, and processed time off. Provide an employee ID to see their leave history.
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-employee-leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| employeeId | Yes | The Xero employee ID to fetch leave records for |