get-timesheet
Retrieve a specific payroll timesheet from Xero using its unique identifier to access employee hours, dates, and update information.
Instructions
Retrieve a single payroll timesheet from Xero by its ID. This provides details such as the timesheet ID, employee ID, start and end dates, total hours, and the last updated date.
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": {
"timesheetID": "<timesheetID>"
},
"name": "get-timesheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timesheetID | Yes | The ID of the timesheet to retrieve. |