Convert Deal To Invoice
convert_deal_to_invoiceCreate a draft invoice from one of the caller's deals: one line item for the deal's amount, client_name defaulted from the deal's company/title. deal_id is required.
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": {
"deal_id": "<deal_id>"
},
"name": "convert_deal_to_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| deal_id | Yes | ||
| due_date | No | ISO date YYYY-MM-DD. | |
| tax_rate | No | ||
| client_name | No | Defaults to the deal's company or title. | |
| client_email | No | ||
| payment_terms | No |