# Create an invoice

## Overview

[Video: Create an invoice](https://www.youtube.com/watch?v=Rs10IBVYGy8)

This flow describes how to create an [invoice](https://docs.ohc.network/concepts/billing/invoice.md) from the Billable charge items of an account. The new invoice is a draft, so you can change it before you issue it.

## Pre-requisites

* The account belongs to your facility.
* If you start from the account, the account Status is Active and its Billing Status is not closed.
* The account has Billable charge items that are on no other invoice. If it has none and you start from the account, you can add new charge items.
* If you start from an appointment or a service request, at least one of its charge items is Billable.
* If you start from an appointment or a service request, the patient has an Active account with Billing Status Open.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Write Invoice | Create the invoice when you save. Facility Admin, Staff, Doctor, Nurse and Pharmacist hold it. |
| Can Read Account | Open the account and the invoice form. Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist hold it. |
| Can Read Charge Item | See the Billable charge items in the invoice form. Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist hold it. |
| Can Read Invoice | Open the new invoice after you save. Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist hold it. |
| Can Create Charge Item | Only to add new charge items while you create the invoice. Facility Admin, Staff, Doctor, Nurse and Pharmacist hold it. |
| Can Read Charge Item Definition | Only to find a definition in **Select charge item definition**. Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist hold it. |

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

**Quick Add** and **Add Charge Items** need more permissions. See [Add a package of charge items](https://docs.ohc.network/flows/billing/charge-item/quick-add-charge-items.md) and [Add charge items](https://docs.ohc.network/flows/billing/charge-item/add-charge-items.md).

## Steps

### 1. Start the invoice

Start from the account, or from an appointment or a service request.

* From the account: select **Billing**. Select **Accounts**. Select **Go to account** on the row of the account. Select **Create Invoice** in the account header.
* From an appointment or a service request: open it. In its charge items section, select **Create Invoice**.

From the account, Care opens the **Create Invoice** page with a **Draft** badge. From an appointment or a service request, Care opens a **Create Invoice** form. The form lists only the Billable charge items of that appointment or service request.

Note: On a small screen, the button on the account is **Invoice**. If the account is not Active, or its Billing Status is closed, Care does not show the button.

Note: Press `i` on the account page or the appointment page to start the invoice.

For other ways to find the account, see [View an account](https://docs.ohc.network/flows/billing/account/view-account.md).

![Accounts list with the Go to account button of the first account highlighted.](/assets/images/create-invoice-1-5185c1dbe4709456ff7414e0755d6a3b.webp)

![Account page on the Invoices tab, showing \&quot;No invoices\&quot;, with the Create Invoice button at the top highlighted.](/assets/images/create-invoice-2-308741a7ceb88a5a51133d06710c21ce.webp)

### 2. Choose the charge items

Care lists the Billable charge items. All items are selected at the start.

Clear each item that you do not want on the invoice.

If the account has more items than the page shows, select **Load More**.

Care shows the number of selected items and their **Invoice Total**. The total includes all applicable taxes.

If there are no Billable charge items, Care shows **No Billable Items Found**.

![Create Invoice page with the items table highlighted: two charge items ticked, a third unticked, with quantity, unit price and amount.](/assets/images/create-invoice-3-aa2f31d50022d0d7cb7d5f551c9ff075.webp)

### 3. Add new charge items (optional)

Do this step only if an item that you need is not on the account. You can add items only when you start from the account.

* Select a definition in **Select charge item definition**. Enter the quantity. If necessary, select a performer.
* Select **Quick Add** to add a package of charge items.
* Select **Add Charge Items** to add items from charge item definitions.

The new items show in the list, selected.

Note: If the account has no Billable charge items, the **Select charge item definition** picker opens by itself.

### 4. Add the invoice details (optional)

Open the **Issue Date, Payment Terms & Note** section.

| Components | What it captures |
| - | - |
| Issue Date | The date of issue. You cannot select a date in the future. If you leave it empty, Care sets it when you issue the invoice. |
| Payment Terms | The conditions for payment. Your deployment can fill in a default text. |
| Note | More information about the invoice. |

![Create Invoice page with the optional section highlighted, showing Issue Date, Payment Terms and Note fields, the last two filled in.](/assets/images/create-invoice-4-53221cba34b547baea98f5f4ece9e1d9.webp)

### 5. Create the invoice

Select **Create Invoice**.

The button is available only when at least one item is selected.

If Care cannot create the invoice, it shows the reason. Some examples:

| Message | What it means |
| - | - |
| "Charge item must be billable to add it to an invoice" | One of the selected items is no longer Billable. |
| "Charge item already belongs to another invoice" | One of the selected items is on another invoice. |
| "One or more charge items were not found in this account" | One of the selected items is not on this account. |
| "Account is not associated with the facility" | The account belongs to another facility. |
| "The resource you are trying to access is locked" | Someone else is changing the same account at that moment. Try again. |

![Create Invoice page with the Create Invoice button at the bottom highlighted next to Cancel.](/assets/images/create-invoice-5-4cb759bb44e956f23c1ae059544e479c.webp)

![New invoice page: the toast \&quot;Invoice Created Successfully\&quot; shows and the invoice number with a Draft badge is highlighted, with Edit Details, Edit Items and Issue Invoice available.](/assets/images/create-invoice-6-09b255fb19bc08d992c24b5cbf693020.webp)

## Expected Outcome

* Care creates the invoice in Draft status and shows **Invoice Created Successfully**.
* Care opens the new invoice.
* The charge items on the invoice change from Billable to Billed.
* The account totals include the new invoice.

## Related

Concepts:

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

Flows:

* [Find and open an invoice](https://docs.ohc.network/flows/billing/invoice/view-invoice.md)
* [Edit the details of a draft invoice](https://docs.ohc.network/flows/billing/invoice/edit-invoice.md)
* [Change the items of a draft invoice](https://docs.ohc.network/flows/billing/invoice/edit-invoice-items.md)
* [Issue an invoice](https://docs.ohc.network/flows/billing/invoice/issue-invoice.md)
* [Add charge items](https://docs.ohc.network/flows/billing/charge-item/add-charge-items.md)
* [Add a package of charge items](https://docs.ohc.network/flows/billing/charge-item/quick-add-charge-items.md)
