Add Invoice Line Item
add_invoice_line_itemAdd a billable line item to a draft or sent invoice; totals are recomputed automatically. Blocked once paid/void. invoice_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": {
"invoice_id": "<invoice_id>",
"description": "<description>",
"unit_price": "<unit_price>"
},
"name": "add_invoice_line_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | Default 1. | |
| invoice_id | Yes | ||
| unit_price | Yes | ||
| description | Yes |