# Deleting an existing Invoice

You can delete draft invoices with this endpoint. Active invoices cannot be
deleted. They must be cancelled instead.


The response will contain no content and an HTTP 204 status code if the request was
successful, or a standard Kantata OX error message explaining why the object could not be deleted.

Endpoint: DELETE /invoices/{id}
Version: 1.0.0

## Path parameters:

  - `id` (integer, required)
    The ID of the Model.

## Response 400 fields (application/json):

  - `errors` (array)

  - `errors.type` (string)

  - `errors.message` (string)


## Response 204 fields
