Xero Approve Timesheet
xero_approve_timesheetApprove a Xero timesheet by ID after enabling write access and setting confirm=true.
Instructions
Approve a timesheet. Requires XERO_WRITE_ENABLED=true and confirm=true.
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": {
"timesheet_id": "<timesheet_id>"
},
"name": "xero_approve_timesheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to approve | |
| timesheet_id | Yes | Timesheet UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |