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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |