> ## Documentation Index
> Fetch the complete documentation index at: https://docs2.zenskar.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to edit an invoice

> 🚧 Prerequisite
>
> * Only a [draft invoice](https://docs.zenskar.com/docs/life-cycle-of-an-invoice#draft) can be edited.
> * Only [credit notes](https://docs.zenskar.com/docs/credit-notes) can be issued against approved, paid, and partially paid invoices.

## Edit a draft invoice

1. In the side panel, navigate to **Invoices**.
2. Click on the draft invoice you would like to scrutinize.

> 🔖 Note
>
> A draft invoice can be identified by the **DRAFT** suffix in the name or by its status tag in the **Status** column, as shown below.

<Image align="center" className="border" border={true} src="https://files.readme.io/c35388cdcce7f6faec61ca5571b567a5aa3bbbf50da8e33711dc09a390a2bc5e-Screenshot_from_2024-09-23_13-48-48.png" />

3. In the **Invoice Breakdown** section, click on the **Edit** link available for each [product](https://docs.zenskar.com/docs/products) in a contract.

<Image align="center" src="https://files.readme.io/67d2297351c750e2e90f6c54a0250953de8e8900ad3a4d5c0779951ba72d7873-Screenshot_from_2024-09-23_14-51-30.png" />

4. Edit the invoice. You may choose to edit one or more of the products. Further, there is no limit to the number of times you can edit a draft invoice.

<Image align="center" className="border" width="75% " border={true} src="https://files.readme.io/f0e25c49987ed3e4fd5ba20f7f4891a0fc97144df2c84fd5b48c8fd2df41e611-image.png" />

5. Click on the **SAVE** link.
6. Click on the **REGENERATE INVOICE** button to generate a preview of the latest invoice.

<Image align="center" className="border" border={true} src="https://files.readme.io/f222cfbae33baf74392626ef94f53121f6c9c09afd1bc413920194c4a18a0170-Screenshot_from_2024-09-23_16-10-44.png" />

## Issue credit notes against approved, paid, and partially paid invoices

1. In the side panel, navigate to **Invoices**.
2. Click on the approved invoice you would like to scrutinize.

> 🔖 Note
>
> An approved invoice can be identified by its status tag in the **Status** column, as shown below.

<Image align="center" src="https://files.readme.io/e32223a723faa1ad7e1bb2937a8ef8303d698d38f9e03aae961d856c5fe0ea8c-Screenshot_from_2024-09-23_17-42-07.png" />

3. Click on the **ISSUE CREDIT NOTE** button on the **Invoices** page.
4. A panel will emerge from the right side:

* Enter the credit note amount: any amount less than or equal to the invoice amount can be entered.

> 🔖 Note
>
> If you wish to issue a full refund, there are two conditions to be noted:
>
> 1. No credit notes were issues against the approved invoice earlier. In this case, enter an amount equal to the original invoice amount.
> 2. One or more credit notes not equaling in amount to the invoice amount were issued against the approved invoice earlier. In this case, enter an amount equal to the current invoice amount, which will be lesser than the original amount.

* Click on the **Submit** button.

<Image align="center" src="https://files.readme.io/3e6b641c6df92d3c1c47938e24524dc1d2a3f5f17af87aca9a29b0adfb2439a0-output.gif" />

5. The approved invoice will be marked as [void](https://docs.zenskar.com/docs/life-cycle-of-an-invoice#void). The credit notes will appear as invoice line items in the new invoice.

<Image align="center" className="border" border={true} src="https://files.readme.io/7d947c72da9b7ee17d6ebede253a65a9bcafc87f09f5f927061ba8a1552c6018-Screenshot_from_2024-09-23_19-26-56.png" />
