# Delete an invoice

## **Overview**

You can delete invoices that are in **Draft** status.\
Deleting an invoice permanently removes it from your records and **cannot be undone**.

If the invoice is linked to a calendar event (such as an appointment or activity), deleting it will unlink it and remove it from that event.\
Once deleted, you can create and attach a new invoice if needed.

***

## **Before you delete an invoice**

* Only **Draft** invoices can be deleted.
* Once deleted, an invoice **cannot be recovered**.
* If an invoice is Finalized (Open or Paid), you must first **revert it** **to Draft** before deleting.
* Deleting invoices is permanent and should only be used for records created in error or during testing.
* For issued invoices that need to be canceled, see [Void an invoice](/using-caspen/billing/invoices/void-an-invoice.md).

***

## **To delete an invoice**

1. Go to **Billing** → **Invoices**.
2. Open the invoice (**Actions** → **View**, or click the invoice number).&#x20;

<figure><img src="/files/5Sp6goY9xoelWrcM3ykR" alt=""><figcaption></figcaption></figure>

3. Ensure the invoice is in Draft status. If it has a status of finalized, you must revert it to Draft before deleting it (see Revert an invoice to Draft).
4. Click **Actions → Delete invoice**.

<figure><img src="/files/2mbHwmlJP32lPX6P6taD" alt=""><figcaption></figcaption></figure>

**What happens after you delete an invoice**

* The invoice is permanently removed from your billing records.
* If linked to a calendar event, it will be unlinked and removed from the event details.
* You can create a new invoice for the event or client if required.

***

## **Revert an invoice to Draft**

If an invoice is finalized, you can revert it to Draft before deleting it.

1. Go to **Billing** → **Invoices** and open the invoice (**Actions** → **View**, or click the invoice number).

<figure><img src="/files/N3sSCE0UsB2bGMXuXufQ" alt=""><figcaption></figcaption></figure>

2. Click **Actions → Revert to draft**.

<figure><img src="/files/LM7LJZIGhCWJEVHohHOY" alt=""><figcaption></figcaption></figure>

3. Once reverted, follow the steps under **To delete an invoice**.

> **Note:** If the invoice has payments or credit notes applied, you will need to unlink or void those transactions first before reverting. This ensures your financial records and reports remain accurate.

***

## Handling linked payments and credit notes

If the invoice has payments or credit notes applied, remove or void them before reverting an invoice to Draft.

#### **Payments**

1. Click the **payment allocation link** on the invoice.

<figure><img src="/files/TQfYeXfNlg4JXthFoekK" alt=""><figcaption></figcaption></figure>

2. Select **Delete** to unlink the payment.

<figure><img src="/files/r7v5ZO6R7KLhpJE5f94U" alt=""><figcaption></figcaption></figure>

You can then locate the payment record separately and choose to **refund, void, or reapply** it to another invoice if needed.&#x20;

#### **Credit notes**

If a credit note is attached, it must be **voided** before the invoice can be reverted or deleted.

1. Open the credit note by clicking the **credit note number**.
2. Click on **Actions** (top-right) → **Void credit note**, and confirm.

***

## FAQs

<details>

<summary>Can I delete a finalized invoice?</summary>

No. Only invoices in **Draft** status can be deleted.\
Your options include reverting the invoice to **Draft** (as outlined above) or voiding it instead. See **Void an invoice** guide.

</details>

<details>

<summary>What happens if I delete an invoice linked to a calendar event?</summary>

The invoice is unlinked and removed from the event. You’ll be able to add a new invoice to the event if needed.

</details>

<details>

<summary>Can I recover a deleted invoice?</summary>

No. Deleted invoices are permanently removed and cannot be restored.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.caspen.com/using-caspen/billing/invoices/delete-an-invoice.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
