create_invoice
Create an invoice for a client with line items, due date, and optional details such as purchase order and notes.
Instructions
Create a new invoice
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": {
"client_id": "<client_id>",
"line_items": "<line_items>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | Client ID (hashed string) | |
| line_items | Yes | Invoice line items | |
| due_date | No | Due date (YYYY-MM-DD) | |
| date | No | Invoice date (YYYY-MM-DD), defaults to today | |
| po_number | No | Purchase order number | |
| public_notes | No | Notes visible to client | |
| private_notes | No | Internal notes | |
| discount | No | Invoice-level discount percentage | |
| partial | No | Partial/deposit amount | |
| partial_due_date | No | Partial payment due date |