Update Line Item
productive_update_line_itemModify a draft invoice line item by updating its description, quantity, unit price, discount, or tax rate to correct billing details before finalizing.
Instructions
Update an existing line item on a draft invoice (description, quantity, unit_price, discount).
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": {
"id": "<id>"
},
"name": "productive_update_line_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The line item ID to update | |
| unit_id | No | Updated unit: 1=Hour, 2=Piece | |
| discount | No | Updated discount percentage | |
| quantity | No | Updated quantity | |
| unit_price | No | Updated unit price as string e.g. '150.00' | |
| description | No | Updated description | |
| tax_rate_id | No | Updated tax rate ID |