invoices_update_line_item
Update a line item on an invoice by modifying its item name, quantity, price, cost, discount percent, or taxable status.
Instructions
Update a line item on an invoice
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>",
"line_item_id": "<line_item_id>"
},
"name": "invoices_update_line_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice ID | |
| cost | No | Cost | |
| item | No | Item name | |
| name | No | Display name | |
| price | No | Price | |
| taxable | No | Whether taxable | |
| quantity | No | Quantity | |
| line_item_id | Yes | Line item ID | |
| discount_percent | No | Discount % |