Skip to main content
PATCH
Update invoice status

Authorizations

Authorization
string
header
required

Access token obtained from the /v1/auth/login endpoint

Path Parameters

invoiceId
string<uuid>
required

The ID of the invoice to update status

Body

application/json
status
enum<string>
required

The new status to set for the invoice

Available options:
DRAFT,
SENT,
VIEWED,
PAID,
PARTIAL,
CANCELED,
REFUNDED
Example:

"SENT"

Response

Invoice status updated successfully

success
boolean
Example:

true

message
string
Example:

"Invoice status updated successfully"

data
object