set line quantity
set_line_quantityUpdate an invoice line item's quantity for billing; once an invoice is sealed, changed quantities are rejected until an approved adjustment is applied.
Instructions
Set the quantity on one line. After the invoice is sealed, a different quantity is refused until accept_invoice_change applies an adjust_quantity suggestion.
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": {
"invoiceId": "<invoiceId>",
"lineId": "<lineId>",
"quantity": "<quantity>"
},
"name": "set_line_quantity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lineId | Yes | ||
| quantity | Yes | ||
| invoiceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |