add_invoice_line_item
Add a line item to an existing invoice by supplying description, quantity, unit price, and optional tax rate. Provide the invoice UUID to identify the target invoice.
Instructions
Add a line item to 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": {
"invoice_id": "<invoice_id>",
"description": "<description>",
"quantity": "<quantity>",
"unit_price": "<unit_price>"
},
"name": "add_invoice_line_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | Quantity | |
| tax_rate | No | Tax rate percentage (e.g. 19) | |
| invoice_id | Yes | The invoice UUID | |
| unit_price | Yes | Unit price in cents | |
| description | Yes | Line item description |