Create Invoice
create_invoiceGenerate an invoice for a completed work order by providing line items with name, quantity, and unit price, plus billing and company details.
Instructions
Create an Invoice in Zoho FSM for a completed job. Line items are provided as an array of { name, quantity, rate } objects.
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": {
"company_id": "<company_id>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | Company being billed. | |
| contact_id | No | Billing contact ID. | |
| line_items | No | Invoice line items. | |
| work_order_id | No | Source Work Order ID. | |
| additional_fields | No | Any other FSM field API names → values (e.g. custom fields). |