Skip to Content
HelvetlyDocs
API referenceExpenses

Delete a draft expense

Needs a token with the write:expenses 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/expenses/{id}

Soft-deletes a draft expense; it disappears from lists and cannot be restored through the API. Only drafts: a booked expense answers 409 invalid_state, void it instead (void_expense). Receipts stay attached to the deleted record. Answers 204; a retry answers 404.

Authorization

bearerAuth
headerAuthorizationBearer <token>

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

Path Parameters

id*string

The expense's id.

Response Body

Deleted.

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