# Delete draft invoice

`DELETE /v1/invoices/{id}`

Deletes a draft. Drafts have no invoice number, so nothing is missing from the numbering. A booked invoice cannot be deleted; credit it in Numina instead. Deleting an invoice that is already gone returns 404.

**Scopes:** any of `invoices:write`, `write:draft`, `write:ledger`

## Request

```bash
curl -X DELETE https://api.numina.app/v1/invoices/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer numi_YOUR_API_KEY"
```

## Path parameters

- `id` (string (uuid), required): Invoice ID

## Response `204`

Deleted

```json
undefined
```

## Errors

- `401` Unauthorized - Invalid or missing authentication
- `403` Forbidden - Missing scope, or the company is archived
- `404` Not Found - The resource does not exist in this company
- `409` Conflict - The invoice is not a draft, or it is being booked right now
- `429` Too Many Requests - Rate limit exceeded
- `500` Internal Server Error

See https://developers.numina.app/errors.md for the error format.
