wafeq_expenses_mark_as_draft_create
Moves a posted expense back to draft, removing its journal from the ledger. Reversible with mark-as-posted.
Instructions
🟠 STATE CHANGE · moves a document in or out of the ledger · Expenses · POST /expenses/{id}/mark-as-draft/
Mark expense as draft
Moves a posted expense back to draft (removes its journal from the ledger).
Changes posted/draft status, which adds or removes the document's journal from the ledger. Reversible: the opposite tool undoes it.
Removes the expense's journal from the ledger and returns it to draft. Undo with mark expense as posted.
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": "wafeq_expenses_mark_as_draft_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |