# Record a payment for an invoice

## Overview

[Video: Record a payment for an invoice](https://www.youtube.com/watch?v=M661KCtoZ5Q)

This flow describes how to record a [payment](https://docs.ohc.network/concepts/billing/payment-reconciliation.md) against an issued [invoice](https://docs.ohc.network/concepts/billing/invoice.md) in Care. Care adds the payment to the invoice and to the totals of its [account](https://docs.ohc.network/concepts/billing/account.md).

## Pre-requisites

* You are a member of the facility.
* The invoice has the status Issued.
* The invoice is not a refund invoice. For a refund invoice, see [Record a credit note](https://docs.ohc.network/flows/billing/payment-reconciliation/record-credit-note.md).
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Write Payment Reconciliation | Lets you save the payment. You need it through a role in any organization of the facility. Facility Admin, Staff, Doctor, Nurse and Pharmacist have it by default. |
| Can List Facility Locations | Lets you see locations in the location picker and save the payment with a location. You need it in an organization that the location is linked to. Facility Admin, Administrator, Staff, Doctor, Nurse and Pharmacist have it by default. |
| Can Write Invoice | Lets Care mark the invoice Balanced after your payment. Without it, Care keeps the payment and shows "Failed to mark invoice as balanced". Facility Admin, Staff, Doctor, Nurse and Pharmacist have it by default. |
| Can Read Invoice | Lets you open the invoice. You need it in the facility. Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist have it by default. |
| Can Manage Locked Invoice | Needed only for a locked invoice. Lets you open the locked invoice. Facility Admin has it by default. |
| Can Read Account | Needed only if you open the invoice from its account. Lets you open the account. Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist have it by default. |

Care shows **Record Payment** without a permission check. If you do not have Can Write Payment Reconciliation, Care shows an error when you save.

## Steps

### 1. Open the invoice

In the facility, select **Billing**. Select **Invoices**.

In the row of the invoice, select **See Invoice**.

Note: You can also open the invoice from the **Invoices** tab of its account. See [Find and open an invoice](https://docs.ohc.network/flows/billing/invoice/view-invoice.md).

![Invoice Management list with the See Invoice button on the first row highlighted.](/assets/images/record-payment-1-9fa07562b0a783dd5d1468bcf560e205.webp)

### 2. Open the payment form

Select **Record Payment**.

Note: Press `r` on the invoice page to open the payment form.

The form "Collect Payment" opens. It shows the Invoice Total and the Amount Due, which is the invoice total less the payments already recorded.

Note: When you select **Issue Invoice** on the invoice, Care opens this form by itself after the invoice is issued. See [Issue an invoice](https://docs.ohc.network/flows/billing/invoice/issue-invoice.md).

Note: In the pharmacy, a dispense order with an unsettled invoice shows **Collect Payment**. It opens the same form for that invoice. See [Dispense a medication](https://docs.ohc.network/flows/medications/medication-dispense/dispense-medication.md).

![Issued invoice page with the Record Payment button at the top right highlighted, next to Mark as balanced, and a Balance Due equal to the total.](/assets/images/record-payment-2-92c69da802dd1033bf4d0874279bd08a.webp)

### 3. Enter the payment details

Complete these fields.

| Components | What it captures |
| - | - |
| Payment Method | How the payer pays. Select Cash, Direct Deposit, Credit Card, Debit Card, Check or Credit Account. |
| Payment Type | Care selects Payment. You can select Advance instead. |
| Issuer Type | Who pays. Care selects Patient. You can select Insurer instead. |
| Location | A location of the facility. Select it in the location picker. Care fills in the location that you used last in this facility, on this browser. |
| Amount Paid | The amount of this payment. Care fills in the full invoice total, not the Amount Due. If the invoice already has payments, or if the payer pays part of the amount, change the amount. The amount must be more than 0. |
| Amount Received | Only for Cash. The cash that the payer gives you. It cannot be less than the Amount Paid. |
| Reference Number | Only for methods other than Cash. Optional. A transaction ID, check number or other reference. |
| Payment Date | The date and time of the payment. Care fills in the current time. It cannot be in the future. |
| Notes | Optional. More information about the payment. |

If the cash that the payer gives is more than the Amount Paid, Care shows the "Change to return".

Note: Your deployment decides if **Location** is required. By default, it is required.

Note: Your deployment can preselect a **Payment Method**.

Note: Your deployment can add more fields to this form. They appear after **Notes**.

![Collect Payment panel with Cash and Payment selected, the Location field highlighted, and Amount Paid and Amount Received both prefilled with the balance.](/assets/images/record-payment-3-39db38c3335d15eb09b998dd82a27c1a.webp)

![Collect Payment panel with Amount Received changed to 1000 and a yellow \&quot;Change to return\&quot; note highlighted below it.](/assets/images/record-payment-4-5ca8f0092a75aeeed5b201e04e82c9e9.webp)

### 4. Save the payment

Select **Record Payment**.

Note: Press `Shift+Enter` to save. To close the form without saving, select **Cancel** or press `Escape`.

Note: **Record Payment** stays disabled until the amount is more than 0.

Note: If Care shows "You do not have permission to given location", select another location. You need Can List Facility Locations in an organization of the location.

Care shows "Payment Recorded Successfully!" with the amount, the invoice number, the payment date and the method.

![Collect Payment panel with the Record Payment button at the bottom highlighted.](/assets/images/record-payment-5-e38a8acc469f40737661ef2beef63de2.webp)

![Collect Payment panel showing \&quot;Payment Recorded Successfully!\&quot; highlighted, the amount received, and a toast saying \&quot;Invoice marked as balanced\&quot;.](/assets/images/record-payment-6-414dbf13fa99abc6884377cfa318fc8c.webp)

### 5. Check the invoice status

Care marks the invoice Balanced by itself when both of these are true:

* The payments, less any credit notes, now equal the invoice total exactly.
* You have Can Write Invoice.

Care then shows "Invoice marked as balanced".

If the invoice is still Issued and fully paid, select **Mark as balanced**. You can also press `Enter`.

Note: **Print Receipt** in this view opens the print page of the invoice. To print the receipt of this payment, see [Print a payment receipt](https://docs.ohc.network/flows/billing/payment-reconciliation/print-payment-receipt.md).

![Collect Payment confirmation panel with the toast \&quot;Invoice marked as balanced\&quot; highlighted at the top.](/assets/images/record-payment-7-de773b876171d279b2fe7d4063682640.webp)

![Invoice page after payment with the Balanced badge in the Invoice Summary highlighted, and Balance Due shown as zero.](/assets/images/record-payment-8-c84e9cc2302dab88309b0c0e7864af19.webp)

## Expected Outcome

* Care saves the payment against the invoice.
* Care calculates the totals of the account again at once. The Total Paid goes up and the Amount Due goes down.
* The invoice page lists the payment under "Payments Received Against This Invoice".
* Care can mark the invoice Balanced. Step 5 gives the conditions.

## Related

Concepts:

* [Payment Reconciliation](https://docs.ohc.network/concepts/billing/payment-reconciliation.md)
* [Invoice](https://docs.ohc.network/concepts/billing/invoice.md)
* [Account](https://docs.ohc.network/concepts/billing/account.md)

Flows:

* [Record an advance payment](https://docs.ohc.network/flows/billing/payment-reconciliation/record-advance-payment.md)
* [Record a credit note](https://docs.ohc.network/flows/billing/payment-reconciliation/record-credit-note.md)
* [Print a payment receipt](https://docs.ohc.network/flows/billing/payment-reconciliation/print-payment-receipt.md)
* [Cancel a payment](https://docs.ohc.network/flows/billing/payment-reconciliation/cancel-payment.md)
* [Issue an invoice](https://docs.ohc.network/flows/billing/invoice/issue-invoice.md)
* [Mark an invoice as balanced](https://docs.ohc.network/flows/billing/invoice/mark-invoice-balanced.md)
