> ## Documentation Index
> Fetch the complete documentation index at: https://doc-test-my.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel an Invoice

> Cancel an Invoice via Razorpay Dashboard or APIs.

You can cancel an unpaid invoice which is in `issued` state. A customer cannot make payments for the cancelled invoices. Know more about [invoice states](/docs/payments/invoices/states).

## Cancel an Invoice From Dashboard

To cancel an invoice:

1. Log in to the Dashboard.
2. Click **Invoices**.
3. Search for the invoice that you want to cancel using the [search criteria](/docs/payments/invoices/search). You can cancel invoices which are in `draft` or `issued` state.
4. Select the **Invoice Id**.
5. On the right-hand side panel, click the **Cancel Invoice** button.
6. On the **Cancel Invoice?** dialog box, click **Yes, Cancel** to confirm the cancellation.

<img class="click-zoom" src="https://curlec.com/docs/build/browser/assets/images/invoices-invoice-cancel.jpg" alt="cancel invoice dialog box" width="300" />

The cancelled invoices display a **Cancelled** status label.

## Cancel an Invoice Using APIs

You can cancel an unpaid invoice in `issued`state using [this](/docs/api/payments/invoices) API.

### Related Information

* [Invoices](/docs/payments/invoices)
* [How Invoices Work](/docs/payments/invoices/how-it-works)
* [Invoices States](/docs/payments/invoices/states)
* [Create an Invoice](/docs/payments/invoices/create)
* [Search an Invoice](/docs/payments/invoices/search)
* [Update an Invoice](/docs/payments/invoices/update)
* [Duplicate an Invoice](/docs/payments/invoices/duplicate)
* [Delete an Invoice](/docs/payments/invoices/delete)
* [Download and Print an Invoice](/docs/payments/invoices/download-print)
