---
title: "Delete an invoice"
method: DELETE
path: "/contracts/{contractId}/invoices/{id}"
tags: ["Invoices"]
---

# Delete an invoice

`DELETE /contracts/{contractId}/invoices/{id}`

## Request

- Base URL: `https://connect.clever.gy`
- URL: `https://connect.clever.gy/contracts/{contractId}/invoices/{id}`
- Auth: API key in header `clevergy-api-key`

Deletes a specific invoice by its ID

## Path parameters

- `contractId` string, required
- `id` string, required

## Response `204`

Invoice deleted successfully

## Other responses

- `401`: Unauthorized
- `404`: Invoice not found
- `default`: Unexpected error

---

[API](https://skmtc.dev/clevergy/apis/clevergy-connect-api.md) - [All operations](https://skmtc.dev/clevergy/apis/clevergy-connect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clevergy/apis/clevergy-connect-api/revisions/d333c5eecb5b?raw)
