Create Invoice
create_invoiceDraft an invoice for a client using line items with quantity and unit price. Due date defaults to 30 days; currency, language, and VAT auto-detected from your profile.
Instructions
Create a draft invoice. Currency, language, and VAT/tax rate are auto-detected from the user's EZ@Work profile — no need to specify.
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>",
"items": "<items>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of line items, each {"description": str, "quantity": float, "unitPrice": float} | |
| client_id | Yes | The client to invoice | |
| due_in_days | No | Payment terms in days (default 30) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||