add-timesheet-line
Add work hours to an existing payroll timesheet in Xero by specifying earnings rate, units, and date for accurate time tracking.
Instructions
Add a new timesheet line to an existing payroll timesheet in Xero.
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>",
"timesheetLine": "<timesheetLine>"
},
"name": "add-timesheet-line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timesheetID | Yes | The ID of the timesheet to update. | |
| timesheetLine | Yes | The details of the timesheet line to add. |