update_abaninja_invoice
Update an existing AbaNinja invoice by uuid. Pass only what should change; positions replace the existing ones when given, and the total is then recomputed by AbaNinja. Does not send anything. A invoice that AbaNinja considers final may refuse the change — the API's error is passed through unchanged rather than swallowed.
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": {
"uuid": "<uuid>"
},
"name": "update_abaninja_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date (YYYY-MM-DD) | |
| uuid | Yes | AbaNinja uuid of the invoice to update | |
| title | No | Title of the AbaNinja invoice | |
| positions | No | If given, replaces all line items. | |
| reference | No | New reference text | |
| second_date | No | New due date (YYYY-MM-DD) | |
| public_notes | No | Notes printed on the invoice |