Delete a draft invoice
DELETE
https://app.speybooks.com/api/v1/invoices/{id}Permanently deletes a draft invoice and its line items. Only invoices with status draft can be deleted — attempting to delete a sent, paid, or other non-draft invoice returns a 400 error.
This action is irreversible. To remove a non-draft invoice from active use, update its status to cancelled instead.
Path parameters
id string requiredResponse
200 Default Response
Show response fields
deleted booleanError codes
400 Default Response
404 Invoice not found or not in draft status.