Delete Draft Invoice
DELETE /invoices/{id}
DELETE
/invoices/{id}
Soft-delete an invoice. Requires the invoice:delete scope. Only invoices in draft state can be deleted. Deleted invoices are no longer returned in list results.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
uuid
required
string format: uuid
The UUID of the draft invoice to delete.
Responses
Section titled “ Responses ”Invoice deleted successfully.
object
message
required
string
Invoice not found or does not belong to your company.
object
message
required
string
Invoice is not in draft state or API key not associated with a company.
Server error during deletion.
object
success
required
boolean
message
required
string
data
required
null
errors
required
null