Hey! These docs are for version 1.0, which is no longer officially supported. Click here for the latest version, 5.0!

Subscription charges

Binding the product plan template with the current state

When the subscription has been created it uses the product plan as a reference, and reference each of the product plan charges. This reference is an object called subscription charge.

The Subscription Charges will automatically receive the default quantities and settings from the Product Plan, and depending on your Upodi setup this will often require that you set the appropriate quantities.

Billing cycle
As each billing cycle is run, a new set of subscription charges are created and the former set will be marked as processed. This keeps a reference over time to allow tracking of the subscription lifecycle. When a subscription charge is due, the billing cycle will mark the subscription charge as processed, by setting the field previous charge date, to the time of the billing process, and creates a new version of the subscription charge for future billing by setting the next charge date field; unless the subscription is ended.

The output of a subscription charge is an invoice line. Should a given billing cycle return multiple subscription charges, the generated invoice will include more lines.

What's Next


We're always happy to help with code or other questions you might have! Search our documentation or contact helpdesk. You can also chat live with us using the Intercom icon.