wafeq_expenses_mark_as_posted_create
Posts a draft expense to the ledger, generating its journal and changing status to posted. Use it to finalize an expense in accounting; mark as draft to undo.
Instructions
๐ STATE CHANGE ยท moves a document in or out of the ledger ยท Expenses ยท POST /expenses/{id}/mark-as-posted/
Mark expense as posted
Posts a draft expense to the ledger (generates its journal).
Changes posted/draft status, which adds or removes the document's journal from the ledger. Reversible: the opposite tool undoes it.
Generates the expense's journal and posts it to the ledger. Undo with mark expense as draft.
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_posted_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |