Skip to content

Delete Draft Invoice

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.

id
required
string
uuid
required
string format: uuid

The UUID of the draft invoice to delete.

Invoice deleted successfully.

object
message
required
string
Allowed value: Invoice deleted successfully.

Invoice not found or does not belong to your company.

object
message
required
string
Allowed value: Invoice not found.

Invoice is not in draft state or API key not associated with a company.

Any of:
object
message
required
string

Server error during deletion.

object
success
required
boolean
message
required
string
data
required
null
errors
required
null