> For the complete documentation index, see [llms.txt](https://docs.silverband.com.au/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.silverband.com.au/home/paradigm-knowledge-base/invoicing-and-receipting/workflows/agents-or-oshc-finances/pay-agent-commissions-complex.md).

# Pay Agent Commissions Complex

## Overview

After you have created an invoice of the Course Fee Plans paid for by the agents or students with net payment in the previous workflows, you can now then process a payment on agent commissions in the **Agents** **Finances** menu in Paradigm. This workflow allows editing of an invoice that requires more items than the already created payment invoice.

## Workflow

The instructions below assume that you have already performed either of the following net payment invoicing workflows of the Course Enrolment records that you want to pay the agents with:

* [Create an Invoice with Net Payment (Agent)](/home/paradigm-knowledge-base/invoicing-and-receipting/workflows/agents-or-oshc-finances/create-an-invoice-with-net-payment-agent.md)
* [Quick Payment Receipt Net Payment (From Agent)](/home/paradigm-knowledge-base/invoicing-and-receipting/workflows/agents-or-oshc-finances/quick-payment-receipt-net-payment-from-agent.md)

### Step (<mark style="color:green;">1</mark>) Create the Commission Payment Invoice

1. Load the agent record that you want to process the payment, *see* [Search an Agent Record](/home/paradigm-knowledge-base/providers-and-contacts/workflows/agents/search-an-agent-record.md)
2. With the agent record loaded, choose **Agents** > **Finances** menus on the side and click the **NEW INVOICE** button under the AGENT INVOICES section.

<figure><img src="https://1246578764-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC21t2SaV2eKaLxvtR27D%2Fuploads%2FCF1bZdRlAonYyOuHXjtC%2Fimage.png?alt=media&amp;token=96a09494-a4c0-4715-a8a0-8d36f1ece19a" alt=""><figcaption><p>creating a <strong>NEW INVOICE</strong> to pay the commission</p></figcaption></figure>

3. Go to the UNIT ENROLMENTS NOT INVOICED FOR AGENT section and select the items that you to include, by default, it will auto-select all non-invoiced items due to be paid to the currently loaded agent in the system.

{% hint style="info" %}
**NOTE**:

The **Total including Withheld** field auto-calculates the amount based on the **Commission Outstanding** value of the selected items. This will also be the value set in the **Invoice Total Amount** field when creating the invoice (in Step 4)
{% endhint %}

<figure><img src="https://1246578764-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC21t2SaV2eKaLxvtR27D%2Fuploads%2FGCkhQBdFQPZaGXdyNYST%2Fimage.png?alt=media&amp;token=c99b3ad6-4fbb-4d01-a540-a4ae03a03c8f" alt=""><figcaption><p>selecting the items to be added to the payment</p></figcaption></figure>

4. Fill out the required fields under the INVOICE section above, and click the **SAVE PAYMENT** button
5. After saving the agent commission payment invoice, to proceed refer to the following scenarios:
   * If you don't need to add more items to the invoice, proceed to [Step (3)](#step-3-pay-off-the-agent-commission-payment-invoice) Pay Off the Agent Commission Payment Invoice
   * If you need to add more items to the invoice, proceed to [Step (2)](#step-2-edit-and-add-more-items-to-the-agent-commission-payment-invoice) Edit and Add More Items to the Agent Commission Payment Invoice

### Step (<mark style="color:green;">2</mark>) Edit and Add More Items to the Agent Commission Payment Invoice

To edit the invoice that you have created and add more items to it, refer to the following steps:

1. In the **Agents** > **Finances** screen, under the AGENT INVOICES section, click the **ACTIONS** button against the **Sent** status invoice that you want to edit and select the **Edit Invoice** option.
2. In the ITEMS section below, click the **ADD INVOICE ITEM** button

<figure><img src="https://1246578764-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC21t2SaV2eKaLxvtR27D%2Fuploads%2FhYMKGaXfIAakZgLKbQXc%2Fimage.png?alt=media&amp;token=fd70ff29-346a-4b8a-a725-8024f37ae229" alt=""><figcaption><p>adding an invoice item to the already created agent commission payment invoice</p></figcaption></figure>

3. After clicking the **ADD INVOICE ITEM**, click the **SET TO IN-PROCESS AND DELETE PAYMENTS TO ITEMS** under the INVOICE HEADER section and just click **Yes** to confirm your action.
4. You can see the items that have been added so far under the INVOICE ITEMS section - edit as required
5. In the UNIT ENROLMENTS NOT INVOICED FOR AGENT section, select the items that you want to add and click the **ADD SELECTED AS ITEMS** button.

<figure><img src="https://1246578764-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC21t2SaV2eKaLxvtR27D%2Fuploads%2FPS3u9XNcKpWwJ1MpGm14%2Fimage.png?alt=media&amp;token=aa8bf25f-1fa6-411f-a316-066f8a4e5891" alt=""><figcaption><p>adding more items to the existing invoice</p></figcaption></figure>

6. In the INVOICE HEADER section, click the **EDIT INVOICE** button and then click the **STATUS TO SENT**. The new items have now been added to the invoice, proceed to Step 3 to pay off the invoice.

### Step (<mark style="color:green;">3</mark>) Pay Off the Agent Commission Payment Invoice

After you have set the agent commission invoice to **SENT** and adjusted or added the required items to the invoice, you can now proceed to pay off the invoice.

1. Navigate to the **Agents** > **Pay Commissions** menu, select the invoice that you want to pay off, click the amount to apply, and click the **APPLY PAYMENT** button.

{% hint style="success" %}
**SUCCESS**:

The commission amount is now being paid to the agent. You can print the payment invoice by navigating to the **Agents** > **Finances** > **Payments** screen against the **ACTIONS** button of the Payment Id
{% endhint %}

## Video Tutorial

{% embed url="<https://www.youtube.com/watch?index=6&list=PLyFT18wWbeJLpCSNtt3u8pzEA2fyVmCk_&v=LcjI4mnAxjI>" %}
