# Rebalance an account

## Overview

[Video: Rebalance an account](https://www.youtube.com/watch?v=Y-sNFkePjnQ)

This flow describes how to make Care calculate the totals of an [account](https://docs.ohc.network/concepts/billing/account.md) again: **Amount Due**, **Total Paid**, **Billed (Gross)**, and **Total Billable**.

Adding, editing, or cancelling a charge item does not update the totals. Rebalance the account to bring **Total Billable** up to date.

## Pre-requisites

* You can open the account page. See [View an account](https://docs.ohc.network/flows/billing/account/view-account.md).
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Update Account | Shows **Rebalance** and lets Care calculate the totals again. You must hold it in the facility. Facility Admin holds it by default. |
| Can Read Account | Lets you open the account page. You must hold it in the facility. 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. |

## Steps

### 1. Open the account

Open the account page. See [View an account](https://docs.ohc.network/flows/billing/account/view-account.md).

![The account details at the top of the account page of an Active inpatient account with the Insurance Claim tag](/assets/images/rebalance-account-1-93617db63d812f384766e8b69152a04b.webp)

### 2. Find the totals

Find the totals of the account on the account page.

If Care has calculated the totals before, it shows when it last did so, next to **Rebalance**.

![The four total cards on the account page, with Rebalance and the time of the last calculation below them](/assets/images/rebalance-account-2-e817a895d9b9edc0440da1f059fbeae4.webp)

### 3. Rebalance the account

Select **Rebalance**. While Care calculates the totals, the link shows **Rebalancing**.

Note: Care also calculates the totals again when a payment or an invoice changes. It does this when charge items move to another account, too.

![The Rebalance link with Last calculated less than a minute ago, under an Account rebalanced successfully message, with Total Billable now at 14,950.00](/assets/images/rebalance-account-3-57feacdcdd91a44083e541fe31d029bf.webp)

## Expected Outcome

* Care shows **Account rebalanced successfully**.
* Care calculates the totals again from the charge items, the invoices, and the payments of the account.
* Care records the time of the calculation.
* If the calculation fails, Care shows **Failed to rebalance account**.

## Related

Concepts:

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

Flows:

* [View an account](https://docs.ohc.network/flows/billing/account/view-account.md)
* [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)
