> For the complete documentation index, see [llms.txt](https://support.caspen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.caspen.com/using-caspen/billing/payments/apply-an-existing-payment-to-an-invoice.md).

# Apply an existing payment to an invoice

Learn how to use an existing unallocated payment to pay a client’s invoice.

## **Overview**

If a client has made a payment that has not yet been used, you can apply it to an invoice once the invoice is **finalized**.

***

## **Apply an existing payment**

To apply an existing unallocated payment:

1. Go to **Billing** → **Invoices** and open the invoice (Actions → View, or click the invoice number).
2. Click **Pay invoice** → **Existing payment.**

<figure><img src="https://3848983471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8mHp6Xvui6hSl3fbco11%2Fuploads%2FjWOuOpYmIYKqxAOprPhh%2Fexisting_payment.png?alt=media&amp;token=01bf09f1-56a9-4984-a512-f27fde3ed1d6" alt=""><figcaption></figcaption></figure>

A list of the client's **unallocated payments** will appear.

3. Enter the amount you want to apply.
4. Click **Apply**.

<figure><img src="https://3848983471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8mHp6Xvui6hSl3fbco11%2Fuploads%2FOgp0ghuYi2vDGciSu4D5%2Fpay_exisiting_payment.png?alt=media&amp;token=ae48746f-9b1b-4e1c-af70-f30d7847d970" alt="" width="481"><figcaption></figcaption></figure>

The applied amount will appear under the **Payments** section of the invoice.

<figure><img src="https://3848983471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8mHp6Xvui6hSl3fbco11%2Fuploads%2FBEzVygki3GrqpWPMP8iu%2Fimage%20464.png?alt=media&amp;token=6ba95ae8-066d-49a3-916f-4dc3dc7095af" alt=""><figcaption><p>The invoice’s Payments section shows the applied payment and the allocation number.</p></figcaption></figure>

The **Payments** section shows the payment and the allocation number.

***

## How allocations work

When a payment is applied to an invoice:

* The invoice displays the payment with an allocation number
* Clicking the allocation number opens the **Allocation** screen
* From the Allocation screen, click **Allocated from payment** number to open the original payment record

The Allocation screen shows:

<figure><img src="https://3848983471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8mHp6Xvui6hSl3fbco11%2Fuploads%2FlmsqJ8N6hWGBFlRjhVDA%2Fimage%20473.png?alt=media&amp;token=af30e434-450c-4aef-9692-5d107c4e7065" alt=""><figcaption><p>The Allocation screen displays the allocated amount, allocated from payment, and allocated to invoice.</p></figcaption></figure>

* **Allocated amount** (how much was applied)
* **Allocated from payment** (the payment the money came from)
* **Allocated to invoice** (the invoice the money was applied to)

In the payment record:

<figure><img src="https://3848983471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8mHp6Xvui6hSl3fbco11%2Fuploads%2F1JFEiMyodzbwaM5n2zbg%2FGroup%20427318148.png?alt=media&amp;token=4e667f1b-f952-423a-a854-19d1338da060" alt=""><figcaption><p><em>The payment record shows the amount marked as <strong>Allocated</strong> and lists the invoices it was applied to.</em></p></figcaption></figure>

* The payment shows an **Allocated** amount
* The **invoices** that received the payment are listed
* The payment and invoice link to each other for easy tracking

This is especially useful when:

* One payment is split across multiple invoices
* Reviewing which invoices were paid using a prepayment or bulk payment

***

## **How to unlink an allocation**

Payment allocations can only be removed from the **Allocation** screen.

To unlink an allocation:

1. Click the **allocation number** on the invoice.
2. On the Allocation screen, click **Delete**.

The allocation will be removed, and the amount will return to **Unallocated** in the payment record.
