Billing Clients for their Usage

WHMCS allows you to bill clients according to the resources they consume (for example disk space, bandwidth, number of domains, or email addresses). For more information, seeUsage Billing.

We added this feature for cPanel and DirectAdmin in WHMCS 7.9 and for Plesk in WHMCS 8.5.


To configure usage billing:

1. Navigate to Configuration > System Settings > Products/Services (Setup > Products/Services > Products/Services in WHMCS 7.10 and earlier).

2. Choose Create a New Product or click Edit for an existing product. If creating a new product, specify the product type, group, and product name, and other information.

3. Click the Module Settings tab.

Click Module Settings tab

4. Choose the module to use with this product. In this example we will use cPanel.

5. Configure any module-specific information. For example, for the cPanel module, select the WHM Package Name to use with this product.

cPanel will typically prevent access to a website if the bandwidth limit on the assigned package is reached. We suggest configuring the package limits in WHM higher, so resources can be consumed.

6. If the module supports Usage Billing, a Metric Billing section will appear:

The Metric Billing Section

7. Toggle On the metric to bill for (for example, Bandwidth):

Toggle the Metric On

8. Click Configure Pricing to set the pricing for the Bandwidth that the client consumes. The Configure Pricing box will appear.

9. Configure the price that the client should be charged for the bandwidth they consume.

The available pricing options are flexible to suit your needs. Below are three common examples:

A. The client will be charged $1.00 for every GB of bandwidth consumed each month.

Per Unit is selected as there is only one unit price: $1.00 per GB:

Metric Pricing Example 1

B. The client wil be charged $1.00 for every GB of bandwidth they consume up to 10GB, and then $0.50 for every GB they consume above that (a bulk discount).

The Total Volume scheme is selected. This displays the Add Range button to create an additional range to specify the price for 10GB and above:

Metric Pricing Example 2

C. The client will be charged $1.00 for every GB of bandwidth they consume over 10 GB. This is because of the Quantity Included value.

The Per Unit scheme is selected as there is only one unit price: $1.00 per GB:

Metric Pricing Example 3

10. Click Save. The modal will close and you can finish the rest of the product configuration.

11.  Click Save Changes.

Invoicing Overview

  • When a client orders this product, WHMCS will track the bandwidth usage of the client
  • At the end of each calendar month the total volume of bandwidth consumed is recorded
  • The cost is then calculated based upon the current pricing schema
  • The cost will be added to the service's next renewal invoice as an individual line item.
  • The service's next renewal invoice will be generated in accordance with the Next Due Date.