updateInvoice
Modify an existing Clockify invoice by updating its status, line items, dates, client, currency, or note. Use it to correct or revise invoice details in a workspace.
Instructions
Update an existing invoice (paid feature)
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": {
"workspaceId": "<workspaceId>",
"invoiceId": "<invoiceId>"
},
"name": "updateInvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | New invoice note (optional) | |
| items | No | New invoice line items (optional) | |
| status | No | New invoice status (optional) | |
| dueDate | No | New due date in ISO 8601 format (optional) | |
| clientId | No | New client ID (optional) | |
| currency | No | New currency code (optional) | |
| invoiceId | Yes | The invoice ID | |
| invoiceDate | No | New invoice date in ISO 8601 format (optional) | |
| workspaceId | Yes | The workspace ID | |
| invoiceNumber | No | New invoice number (optional) |