Add invoice items
add_invoice_itemsAdd priced line items to an invoice and return the saved items, new total, and balance due for accurate billing.
Instructions
Adds priced line items to an invoice.
Adds plain priced lines at the end of an invoice: name, type, quantity, unit, unit cost in dollars, markup percent. Items billed from an estimate, change order or schedule of values are added in the app. Returns the saved items, the new total and the balance due.
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>",
"items": "<items>"
},
"name": "add_invoice_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| invoice_id | Yes | From list_invoices or create_invoice. |