> ## 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.

# Update an Invoice

> Edit an Invoice.

<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 only update a `draft` invoice. Know more about [invoice states](/docs/payments/invoices/states).

## Update an Invoice From Dashboard

Watch this video to see how to update an invoice.

<iframe width="560" height="315" src="https://www.youtube.com/embed/mTtf9jlYXd4" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

To update an invoice:

1. Log in to the Dashboard.
2. Click on **Invoices**.
3. Search for the **Draft** invoice that you want to update using the [search criteria](/docs/payments/invoices/search).
4. Select the **Invoice Id**.
5. The following information can be edited:
   * Customer details
   * Description
   * Expiry date of the invoice
   * Notes
   * Billing Address
   * Shipping Address
   * Partial payments
   * Label
6. Click **Save Invoice**.

<Warning>
  **Watch Out!**

  When an item's attributes are modified at the time of invoice creation, the modified item cannot be reused. The item will then be referred as a **Line item**. In other words, a **Line Item** is created when an **Item** is used as a template, in order to customise its attributes.
</Warning>

The invoice now displays the updated details.

## Update an Invoice Using API

You can update a `draft` invoice using [this](/docs/api/payments/invoices/update) API.

### Related Information

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