How to enable metered billing on PC 1.0?

Modified on: Thu, 25 May, 2023 at 5:25 PM

If you are a PC 2.0 user, Click here

To enable metered billing on your Chargebee site, follow these steps:

  1. Click Settings > Configure Chargebee > Billing LogIQ.

  2. In the Billing LogIQ settings, select Notify and wait to close Invoices.

  3. Select the Invoice date that you want to display to your customers. You can select either the Invoice closing date or the Invoice generation date.

    • Date of closing invoice: The date when you close the invoice(via API or UI) to add all the metered charges.
    • Date of invoice generation: The date when the subscription is renewed and the invoice gets generated in pending status.
  4. Click Update Billing LogIQ.

Metered Billing via API

When Metered Billing is enabled, Chargebee will create a pending invoice and a pending_invoice_created event will be triggered during one of these 2 conditions:

  1. Subscription Renewal

  2. Plan changes (upgrade/downgrade or quantity changes) in the subscription

You will receive generated invoices in your webhook handler, and after receiving the invoice, you can use the ID of the invoice resource to add the usage charges to the invoice received.

Note: 
The invoice number of a pending invoice will not be taken from the main sequence. A temporary invoice number in the ‘draft_inv_' format will be assigned to it.

 

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×