update_purchase
Update an existing purchase (expense) in KikoBooks by ID, changing its memo, reference number, or status (DRAFT, PENDING, VOIDED).
Instructions
Update an existing purchase (expense) in KikoBooks.
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": {
"purchase_id": "<purchase_id>",
"purchase": "<purchase>"
},
"name": "update_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purchase | Yes | ||
| purchase_id | Yes | The Purchase/Expense ID to update |