# Edit a charge item

## Overview

[Video: Edit a charge item](https://www.youtube.com/watch?v=bLNqR6Q0C-M)

This flow describes how to change the performer, unit price, quantity, discounts or note of a Billable [charge item](https://docs.ohc.network/concepts/billing/charge-item.md) from the account.

## Pre-requisites

* Someone added the charge item, and its status is Billable. For other statuses, Care disables **Edit**.
* If the charge item is on a draft invoice, its status is Billed. Change it from the invoice. See [Change the items of a draft invoice](https://docs.ohc.network/flows/billing/invoice/edit-invoice-items.md).
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Update Charge Item | Lets you save the changes to the charge item. Facility Admin holds it by default. |
| Can Read Account | Lets you open the account. Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist hold it by default. |
| Can Read Invoice | Lets you see the **Invoices** tab, which the account page opens first. You must hold it in the facility. Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer, and Pharmacist hold it by default. |
| Can Read Charge Item | Lets you see the charge items of the account. The same seven roles hold it by default. |

Care checks each permission through your role in any organization of the facility.

If you do not have Can Update Charge Item, Care shows **Failed to update invoice** when you save.

## Steps

### 1. Open the Charge Items tab of the account

In the facility sidebar, select **Billing**.

Select **Accounts**. Open the account of the patient. See [View an account](https://docs.ohc.network/flows/billing/account/view-account.md).

Select the **Charge Items** tab, or press `Shift+2`.

Note: For a charge item for a bed stay, you can also use the **Bed Charge Items** tab. Its row menu also has **Edit**.

![The Charge Items tab on the account page, selected and listing billable charge items, each with a more-options menu in the Actions column](/assets/images/edit-charge-item-1-c8d12267f0998b5b4ba5658282a2f1fb.webp)

### 2. Open the Edit Charge Item dialog

On the row of the charge item, open the more-options (**⋯**) menu.

Select **Edit**. Care opens the **Edit Charge Item** dialog.

Note: The **Create Invoice** page of the account has the same row menu.

![The open row menu of a charge item, with Edit at the top above Change Account and the Mark as Not Billable, Entered in Error and Aborted options](/assets/images/edit-charge-item-2-3dcef81039cdbb1fe6c5bdfb3af8a670.webp)

### 3. Change the details

Change the fields that you want to update.

| Components | What it captures |
| - | - |
| **Item** | The title of the charge item. You cannot change it. |
| **Performer** | The person who performed the service. Select a person in **Select performer**. |
| **Unit Price** | The base price of one unit. Enter 0 or more. |
| **Quantity** | The number of units. Enter 1 or more. |
| **Discounts** | The discounts on the charge item. Select **Add Discount**. Choose a discount in **Select Discount**. You can change the value and switch between an amount and a percentage. |
| **Note** | A free-text note about the charge item. |

Note: You can choose only the discounts that are set up for the facility and for the instance. If there are none, Care shows **No discounts**.

Note: If **Can Edit Charge Item** is cleared on the charge item definition, Care disables **Unit Price**, **Quantity**, **Discounts** and **Note**. You can still change the **Performer**.

![The row of Omeprazole 20mg Capsule in the Edit Charge Item dialog, with Select performer, Unit Price 10.00, Quantity 15, Add Discount and a filled-in note](/assets/images/edit-charge-item-3-cc87f129ec3974af68f89b0179d13220.webp)

### 4. Save the changes

Select **Save**, or press `Shift+Enter`.

![The edited Omeprazole 20mg Capsule row on the Charge Items tab with Quantity 15.00, and a toast that says Invoice updated successfully](/assets/images/edit-charge-item-4-8679445a0edd9999b287519fc76b3040.webp)

## Expected Outcome

* Care shows **Invoice updated successfully**.
* Care calculates the total of the charge item again. It refuses a total below zero.
* Care builds the new price from the **Unit Price**, the definition's taxes and the discounts in the dialog. Surcharges and informational amounts, such as MRP, are not kept.
* If **Can Edit Charge Item** is cleared on the charge item definition, Care keeps the old price and quantity.
* If the save fails, Care shows **Failed to update invoice**.
* Editing a charge item does not update the **Total Billable** of the account at once. Care updates it when someone rebalances the account, or when an invoice or a payment of the account changes. See [Rebalance an account](https://docs.ohc.network/flows/billing/account/rebalance-account.md).

## Related

Concepts:

* [Charge Item](https://docs.ohc.network/concepts/billing/charge-item.md)
* [Charge Item Definition](https://docs.ohc.network/concepts/definitions/charge-item-definition.md)

Flows:

* [Add charge items](https://docs.ohc.network/flows/billing/charge-item/add-charge-items.md)
* [Cancel a charge item](https://docs.ohc.network/flows/billing/charge-item/cancel-charge-item.md)
* [Move charge items to another account](https://docs.ohc.network/flows/billing/charge-item/move-charge-items.md)
* [Change the items of a draft invoice](https://docs.ohc.network/flows/billing/invoice/edit-invoice-items.md)
