createInvoice
Creates a new invoice in a Clockify workspace for a client, including optional line items, dates, currency, and notes.
Instructions
Create a new invoice in a workspace (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>",
"clientId": "<clientId>"
},
"name": "createInvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Invoice note (optional) | |
| items | No | Invoice line items (optional) | |
| dueDate | No | Due date in ISO 8601 format (optional) | |
| clientId | Yes | The client ID for the invoice | |
| currency | No | Currency code (optional) | |
| invoiceDate | No | Invoice date in ISO 8601 format (optional) | |
| workspaceId | Yes | The workspace ID | |
| invoiceNumber | No | Invoice number (optional) |