> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-881012b3.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.

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
</div>

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 that 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://razorpay.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)
