# Charging Plans

## Charging Plan Overview

In order to ensure your Rebilling configured within the Partner Portal is providing the correct value you will need to configure the Charging Plans to add additional margin onto the outgoing calls for CTS (Call Termination Services) and inbound calls for Inbound Number System (INS).

This guide is specifically for CTS (Call Termination Services) and Inbound Number System (INS) for VoIPNow Charging plans see [configuring-charging-plans-to-add-margin-to-outbound-calls](https://kb.hostednetwork.com.au/support/services/voice-over-ip-voip/general/voipnow-guides/configuring-charging-plans-to-add-margin-to-outbound-calls "mention").

## Configuration Steps

{% hint style="warning" %}
Modifications to the Charging Plans will not update invoices that were previously generated automatically. Only the invoices generated after implementing the changes mentioned in this article will reflect the new rates.

If you require the new rates to be applied to a pre-existing invoice, you can regenerate the invoice to update it with the new rates immediately.
{% endhint %}

### Managing Charging Plans

#### Create Charging Plan

1. Login to the Partner Portal <https://partners.hostednetwork.com.au/&#x20>;
2. Once logged in, under the Settings Menu, click Charging Plans.
3. Click on "Create Charging Plan" to create a new plan.

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2Ft8NZNlJU4tuQcuNRExzy%2Ffirst.png?alt=media&#x26;token=e7418d84-c53a-4031-b440-3a2386cecdbf" alt=""><figcaption><p>Charging Plans</p></figcaption></figure>

{% hint style="info" %}
If you have either a CTS (Call Termination Services) or an Inbound Number System (INS) service, a charging plan will be automatically created by default.
{% endhint %}

4. Enter the Charging Plan name, choose the type (either CTS (Call Termination Services) or Inbound Number System), and then select the services you want the plan to apply to.&#x20;

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2FLYHxheqT0AFcu9Aya0Bc%2FCreatePlan.png?alt=media&#x26;token=0b380223-ccc8-4718-b9d5-17eb41b9fc7a" alt=""><figcaption><p>Create Charging Plan</p></figcaption></figure>

4. After saving the Charging Plan, you will be redirected to the new plan.&#x20;

#### Update Charging Plan

To set a charging plan to the default plan or update assigned services click on the edit icon next to the charging plan you wish to update.

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2Fn9eFj2jRQuvbsEpelI7D%2Fimage.png?alt=media&#x26;token=0277ff78-4836-4a8d-908e-bd3eadb5f818" alt=""><figcaption><p>Update Charging Plan</p></figcaption></figure>

#### Delete Charging Plan

To delete a charging plan, you click on trash icon and confirm that you wish to delete the charging plan.&#x20;

{% hint style="info" %}
Charging plans can only be deleted when they are not set to the default plan
{% endhint %}

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2FXSDG3BZ4HjDb8L7kUOcY%2Fimage.png?alt=media&#x26;token=a0f61c9c-fc23-4312-a0c5-cb351aa3df38" alt=""><figcaption><p>Delete Charging PLan</p></figcaption></figure>

### Setting Rates <a href="#updating-individual-call-type-in-the-charging-plan" id="updating-individual-call-type-in-the-charging-plan"></a>

By default you will have a set of call rates added which will pass the Reseller Price which is charged at a per minute rate. The end cu

1. From the list of charging plans, click on the name of the charging plan to update. For this example we will select "Default CTS (Call Termination Services)"

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2F9hkMJDdj4rrfqe9tQjRl%2FDefaultCTS.png?alt=media&#x26;token=abfb73c9-496b-471c-a940-ba8f5829b437" alt=""><figcaption></figcaption></figure>

2. Click the edit icon under the Actions column in the Call Destination Charges table.

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2F6IuzOGh4U7ZsOkTeDSn3%2Fcts_trunk_before.png?alt=media&#x26;token=c3a8db22-71a0-40ee-9c50-fc7e84058a35" alt=""><figcaption><p>Update Charging Plan</p></figcaption></figure>

3. The Rate Configuration form will appear above the Current Destination Charges table. From here you can now set your rates.

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2Fo0s1baCEJn7vAHrlUVP3%2Fconfigure_rate.png?alt=media&#x26;token=0aac9883-aa0f-4028-be6b-69c5218282c7" alt=""><figcaption><p>Configure Rate</p></figcaption></figure>

### Example Rates

To set a markup of 30%, enter 1.3 in the "Cost Multiplier" field in the Configure Rates section.

<br>

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2F1gNd1P9ZjuUbk9aZjyES%2Fimage.png?alt=media&#x26;token=33238199-0228-47f6-9323-7c0a380c62e2" alt=""><figcaption><p>30% markup example</p></figcaption></figure>

To configure a per interval charge of 10 cents for every 20 seconds, you would enter $0.10 in the charge field and then add 20 in the "Seconds" field.&#x20;

This will apply a charge of 10 cents for every 20-second interval of the call.

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2F03d5DsXQnKhZXrQjjb5N%2Fimage.png?alt=media&#x26;token=2b36651a-5954-4950-b8f3-6e9d666ead07" alt=""><figcaption><p>10c per 20 second's example</p></figcaption></figure>

After configuring and saving your cost and/or interval charges, the Current Destination Charges table will be automatically updated using the formula.

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2FPntbTWEEKzJXMtwre2sD%2Fimage.png?alt=media&#x26;token=cbcb171e-4536-41bc-8c3a-13dacaad38c0" alt=""><figcaption><p>Cost Algorithm updated</p></figcaption></figure>

### Bulk Rates update

To save time, you can bulk update your rates by using the template provided and editing the csv within your chosen editor.

1. Click "Export CSV" to download an export of your Current Destination Charges.

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2FpA6V3mAyLc8Ljt9J9JRV%2Fcsv_import.png?alt=media&#x26;token=25f6ea71-d311-4d56-a31e-f2f37e2e9cea" alt=""><figcaption><p>Export CSV</p></figcaption></figure>

2. Once you have opened the downloaded file in your chosen editor, any previously configured costs will be displayed.&#x20;

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2Fa88R6CJ9IZE9lpGh1CjP%2Fimage.png?alt=media&#x26;token=9a9b7b8c-866a-4859-a991-7471aff652cd" alt=""><figcaption><p>Cost Algorithm export</p></figcaption></figure>

3. To import the edited CSV file, click on "Import CSV", choose the file you have modified, and then upload it.

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2F1GwpRGYybi9hXnSTBYEG%2Fcsv_import.png?alt=media&#x26;token=5e67d2d7-e1a0-4280-b335-70c97225341b" alt=""><figcaption><p>Charging rate uploaded</p></figcaption></figure>

4. Once uploaded your new charging rate will be applied.
