Skip to main content
POST
Void invoice

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

invoiceId
integer
required

ID of the invoice to void

Body

application/json
delete_sales_order
boolean
default:false

Also delete the linked sales order. Only a sales order that Luminous created from the invoice is deleted; channel orders are always kept.

Response

Invoice voided; returns the updated invoice

data
object