---
title: "Delete draft invoice"
method: DELETE
path: "/api/external/v2/customer_invoices/{id}"
tags: ["Customer Invoices"]
---

# Delete draft invoice

`DELETE /api/external/v2/customer_invoices/{id}`

Delete a draft customer invoice or draft credit note

> ℹ️
> This endpoint requires the following scope: `customer_invoices:all`

## Path parameters

- `id` integer, required

## Response `204`

Draft invoice deleted

## Other responses

- `400` — Bad request
- `401` — Access token is missing or invalid
- `403` — Access to this resource forbidden
- `404` — The resource was not found
- `422` — Unprocessable content

---

[API](https://skmtc.net/pennylane/apis/company-v2.md) · [All operations](https://skmtc.net/pennylane/apis/company-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pennylane/company-v2/revisions/a5b7236473c6/schema)
