# Edit the details of a draft invoice

## Overview

[Video: Edit the details of a draft invoice](https://www.youtube.com/watch?v=zz_908wf1Uk)

This flow describes how to change the issue date, the payment terms and the note of a draft [invoice](https://docs.ohc.network/concepts/billing/invoice.md) in Care. To add, remove or change the items of the invoice, see [Change the items of a draft invoice](https://docs.ohc.network/flows/billing/invoice/edit-invoice-items.md).

## Pre-requisites

* The invoice status is Draft. Care shows **Edit Details** only for a draft invoice.
* If the invoice is locked, you have Can Manage Locked Invoice, so that you can open it.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Write Invoice | Save the new details. Facility Admin, Staff, Doctor, Nurse and Pharmacist hold it. |
| Can Read Invoice | Open the invoice. Care also checks it when you save. Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist hold it. |
| Can Manage Locked Invoice | Only to open a locked invoice. Facility Admin holds it. |

You hold each permission through a role in any organization of the facility. The roles named are the default roles.

## Steps

### 1. Open the invoice

Open the draft invoice. See [Find and open an invoice](https://docs.ohc.network/flows/billing/invoice/view-invoice.md).

![The invoice number and its Draft badge on a draft invoice page, next to the Edit Details, Edit Items and Print buttons](/assets/images/edit-invoice-1-6af35ac637636528c4fda42e0b4afe14.webp)

### 2. Open the details form

Select **Edit Details**.

Care opens **Edit Invoice Details**.

![The Edit Details button on a draft invoice page, next to Edit Items and Print](/assets/images/edit-invoice-2-008ac264b10c239208f517f0eec5cc09.webp)

### 3. Change the details

Change the values that you need.

| Components | What it captures |
| - | - |
| Issue Date | The date of issue. You cannot select a date in the future. |
| Payment Terms | The conditions for payment. |
| Note | More information about the invoice. |

If the date is in the future, Care shows **Issue date cannot be in the future**.

![The Edit Invoice Details dialog, with Issue Date empty and Payment Terms and Note filled in](/assets/images/edit-invoice-3-a872a83ce209cec3a85f8231866c832d.webp)

### 4. Save the changes

Select **Save Changes**.

The button is available only after you change a value.

![The Save Changes button in the Edit Invoice Details dialog, next to Cancel](/assets/images/edit-invoice-4-229fb865bab2c6a731b9d7a1696fe9db.webp)

## Expected Outcome

* Care shows **Invoice updated successfully**.
* The invoice shows the new details.
* The invoice status stays Draft.

## Related

Concepts:

* [Invoice](https://docs.ohc.network/concepts/billing/invoice.md)

Flows:

* [Change the items of a draft invoice](https://docs.ohc.network/flows/billing/invoice/edit-invoice-items.md)
* [Find and open an invoice](https://docs.ohc.network/flows/billing/invoice/view-invoice.md)
* [Issue an invoice](https://docs.ohc.network/flows/billing/invoice/issue-invoice.md)
