Recurring Charges Billing: Hybrid Pricing - m3ter Documentation

Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

Suppose you run a SaaS company that provides a build-and-host application service to developers. You want to charge customers in the first instance on a user license basis and allow for the number of developer licenses to increase and decrease throughout a customer’s contract service period. Bills created for each billing period should correctly reflect any such changes in the number of developer licenses subscribed to. You also want to charge for any data storage developers make use of on a per gigabyte stored basis, which is an add-on service you offer. This amounts to a hybrid pricing model:

In m3ter, you can easily implement this kind of hybrid pricing model for your end-customer Accounts and set up pricing for an Account Plan that combines the rates you want to apply for both types of charge. At billing, all charge amounts due on the Account are combined in a single Bill. This topic offers a worked example for this hybrid pricing use case, taking you through:

Creating Product and Account

We’ll first set up a Product and Account for the hybrid pricing example. To set up a Product and an Account: First, create a Product:

  1. In the Console, select Product and then select Create product.
  2. Under Product details enter a Name and Code for the new Product and then select Create product:
  1. Select Accounts and then select Create account.
  2. Under Account details enter Name, Code, and Email address, and then select Create account:

Setting Up Pricing for Account

For our hybrid pricing example to set up pricing for the Account, we’ll need to

To set up pricing for the Account: First, create an Aggregation targeting a Meter field:

  1. Select Metering. The Meters page opens.
  2. For Product select Dev License and Store.
  3. Select Create meter. Here’s the Meter configuration:
  1. Select Create meter.
  2. Select Metering>Aggregations. The Aggregations page opens.
  3. For Product select Dev License and Store, and select Create aggregation. Here’s the Aggregation configuration:

Aggregation details:

Meter settings:

Aggregation settings:

  1. Select Create aggregation.

Second, create a Counter:

  1. Select Metering>Counters. The Counters page opens.
  2. For Product select Dev License and Store, and select Create counter. Here’s the Counter details configuration:
  1. Select Create counter.

Third, create a Plan Template and Plan for the Product:

  1. Open the Pricing>Plan templates page.
  2. For Product select Dev License and Store and select Create plan template. Here’s the Plan template details configuration:
  1. Open the Pricing>Plans page.
  2. For Product select Dev License and Store and select Create plan. Here’s the Plan details configuration:
  1. Select Create plan.

Fourth, price the Plan:

  1. Open Pricing details for Dev License n Store Plan 1.

  2. Scroll down the page and on Pricing panel select Add usage-based pricing. A Select aggregations modal appears.

  3. Select Dev Store Agg 1 and then select confirm. The modal closes and the selected Aggregation is now shown under Pricing:

  4. Select the create new pricing text link. You are taken to the Pricing editor with the Pricing>Create page open.

  5. Under Pricing details, create a pricing for the Plan using Dev Store Agg 1:

  1. Select Create pricing. You are taken back to the Plan details page where the new usage-based Pricing is shown:

  2. Under Pricing, select Add counter-based pricing. A Select counters modal appears.

  3. Select Dev License Counter and then select Confirm. The modal closes and the selected Counter is now shown under Pricing:

  4. Select the create new pricing text link. You are taken to the Pricing editor with the Counter pricing>Create page open.

  5. Under Pricing details, create a pricing for the Plan using Dev License Counter:

  1. Select Create counter pricing. You are taken back to the Plan details page where the new counter-based Pricing is shown:

Lastly, attach the priced Plan to the Account

  1. Open Dev License n Store Account 1, select the Attached plans tab, and select Create plan attachment. Here’s the Plan attachment details:
  1. Select Create plan attachment.

We now have a Product Plan set up for hybrid pricing and attached to our example Account.

Submitting Sample Product Consumption to Account

To be able to run billing against the Account, we’ll need to submit some sample Product consumption for the Account for a specific billing period:

To submit sample Product consumption for the Account: First, submit some sample measures for stored data volumes:

  1. Select Metering. The Meters page opens.
  2. For Product select Dev License and Store.
  3. Select Dev Store Meter 1 hotlink text to open the Meter’s Details page.
  4. Scroll down to the Submit measurements panel and select Submit usage data.
  5. For Account, select Dev License n Store Account 1 and submit two usage data measures using the Meter’s GigBytes Storage field:

Second, post a sample Counter Adjustment to the Account:

  1. Select Accounts and open the Dev License n Store Account 1 page.

  2. Select the Counter adjustments tab.

  3. For Counter, select the Dev License Counter and then Create counter adjustment.

  4. Create a single Counter Adjustment for July 1st 2024. Here’s the Counter adjustment details:

  5. Select Create counter adjustment.

We now have some sample product consumption entered for the Account for July 2025 - both data volume stored and number of Dev Licenses subscribed to for the month’s billing period.

Creating and Reviewing Bills on Account

We’ll run billing for the Dev License n Store Account 1 for the July 2025 billing period and review and check the Bill.To run billing for the Account:

  1. Open the Dev License n Store Account 1 page and select the Bills tab.
  2. Select Run billing and on the modal that appears enter:
  1. Select Run billing. The modal closes and the Bill job executes. When the Bill job completes the newly generated Bill is listed on the Bills tab.
  2. Select the Reference hotlink text for the Bill. The Bill opens in Bill management:

On review, we see that line item charges for the hybrid pricing for the Dev License and Store Product are combined in the single Bill: