> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iterapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DELETE /merchants/{merchantID}/invoices/{invoiceID}

> Permanently delete an invoice and its associated data. This action is irreversible — consider archiving instead if you want to preserve the record.

Use this endpoint to permanently delete an invoice from your merchant account. Unlike archiving, deletion cannot be undone — the invoice record and associated metadata will be removed.

<Warning>
  Deleting an invoice is permanent and cannot be undone. If you only want to hide an invoice from active views while preserving the record, use the [archive endpoint](/api-reference/invoices/archive) instead.
</Warning>

## Path parameters

<ParamField path="merchantID" type="string" required>
  The UUID of the merchant account that owns the invoice.
</ParamField>

<ParamField path="invoiceID" type="string" required>
  The UUID of the invoice to delete.
</ParamField>

## Response

Returns `204 No Content` on success. No response body is returned.

<RequestExample>
  ```bash cURL theme={null}
  curl --request DELETE \
    --url https://api.iterapay.com/merchants/b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f/invoices/b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f \
    --header 'Authorization: Bearer <token>'
  ```
</RequestExample>

<ResponseExample>
  ```text 204 theme={null}
  (no content)
  ```
</ResponseExample>
