Update invoice
invoices_updateСтатус и состав счёта. id из invoices_list или invoices_get. status: created, paid или partially_paid. items, если переданы, заменяют позиции целиком: [{description, unit_price, quantity, unit_type}]. Нужен status или items.
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>"
},
"name": "invoices_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| items | No | ||
| status | No |