change_order_confirmation_status
Update an order confirmation's status to draft, sent, billed, or deleted to manage its lifecycle in smallinvoice.
Instructions
Changes status of specified order confirmation
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": {
"order_confirmation_id": "<order_confirmation_id>",
"status": "<status>"
},
"name": "change_order_confirmation_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_confirmation_id | Yes | order confirmation ID | |
| status | Yes | status of order confirmation, possible values: DR - draft, S - sent, B - billed, D - deleted (but still visible) | |
| date_time | No | optional date time of a change in Y-m-d H:i:s format (if none specified current date time will be taken) |