Update invoice status
PATCH
https://app.speybooks.com/api/v1/invoices/{id}/statusTransitions an invoice to a new status. Not all transitions are valid — the API enforces a state machine.
Valid transitions:
draft→sent,cancelledsent→paid,partial,overdue,cancelled,written_offpartial→paid,overdue,cancelled,written_offoverdue→paid,partial,cancelled,written_off
Terminal states (paid, cancelled, written_off) cannot be transitioned further.
For payment-driven transitions, use the Record Payment endpoint instead — it automatically sets the status to paid or partial based on the cumulative amount.
Path parameters
id string requiredBody parameters
status string requireddraftsentpaidpartialoverduecancelledwritten_offResponse
200 Default Response
Show response fields
status stringError codes
400 Default Response
404 Invoice not found.