Skip to Content
HelvetlyDocs
API referenceInvoices

Delete a draft invoice

Needs a token with the write:invoices scope. Authentication

Try in Playground sends a real request to app.helvetly.com with a token you paste. It stays in this browser tab only (session storage) and goes to no one else.

DELETE
/api/v1/invoices/{id}

Deletes a draft invoice for good; it never had a number, so no gap appears. Issued documents cannot be deleted (409 invoice_locked): void or credit them. A plan's source draft answers 409 planned. Answers 204. A repeat call answers 404.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A personal API token, hvt_…, with scopes such as read:* or write:invoices

Path Parameters

id*string

The invoice's id.

Response Body

Done; no content.

Example Request
curl -X DELETE 'https://app.helvetly.com/api/v1/invoices/string'
Example Response
Empty