Update invoice item
update_invoice_itemChanges an item line of an invoice draft or an open proforma. Only the given fields of the line change. Nothing is issued. Issued documents can't be changed.
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>",
"item_id": "<item_id>",
"item": "<item>"
},
"name": "update_invoice_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | The fields of the item line to change. | |
| item_id | Yes | The id of the item line, from the items of the document. | |
| company_id | Yes | The id of the company, from list_companies. | |
| invoice_id | Yes | The id of the document, from list_invoices. |