Link time entries to an invoice
mark_time_invoicedMark one or more time reports as invoiced, optionally linking them to an existing invoice. Requires Manager role or above.
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": {
"time_report_ids": "<time_report_ids>"
},
"name": "mark_time_invoiced"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true to perform the action. Omit or false returns a preview only — nothing is written. | |
| invoice_id | No | Optional ID of an existing invoice to link these time reports to. | |
| idempotency_key | No | Optional caller-supplied key; retrying with the same key returns the original result instead of acting twice. | |
| time_report_ids | Yes | List of time report IDs to mark as invoiced (required, at least one). |