Update transaction status
PATCH
https://app.speybooks.com/api/v1/transactions/{id}/statusTransitions a transaction between draft and posted status. Posting a transaction includes it in balance calculations and reports. Reverting to draft excludes it.
Reconciled transactions cannot be reverted to draft — unreconcile first using the reconcile endpoint.
Path parameters
id string requiredTransaction ID (e.g. txn_42). Must use the transaction prefix.
Body parameters
status string requiredNew status. Cannot revert reconciled transactions to draft.
draftpostedResponse
200 Transaction status updated.
Show response fields
status stringError codes
400 Invalid ID, or cannot revert a reconciled transaction to draft.
404 Transaction not found.