---
title: "Delete Invoice"
method: DELETE
path: "/api/autopilot/invoices/{invoice_id}"
tags: ["autopilot"]
---

# Delete Invoice

`DELETE /api/autopilot/invoices/{invoice_id}`

## Request

- Base URL: `https://api.taxcompass.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.taxcompass.it/api/autopilot/invoices/{invoice_id}`
- Auth: HTTP bearer

Soft-delete one **draft**. 404 when there is no draft of the caller's there.

An issued invoice is a fiscal record and stays whatever the client asks for —
same predicate as the edit, same 404.

## Path parameters

- `invoice_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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