Convert proforma
convert_proformaConverts an open proforma with items to a new invoice draft dated today; the proforma becomes INVOICED and can't be edited any more. The invoice draft gets no number and nothing is issued or sent.
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>",
"invoice_id": "<invoice_id>"
},
"name": "convert_proforma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | The id of the company, from list_companies. | |
| invoice_id | Yes | The id of the proforma, from list_invoices. |