Loading
Prepare for Email to Become the Default Login ExperienceRead More
Generate Billing Schedules from Orders

Generate Billing Schedules from Orders

Generate billing schedules from orders by using a flow or an API. To automatically trigger the generation of billing schedules when the order is activated, use the Order to Billing Schedule flow. To generate billing schedules for orders by using API, use Create Billing Schedules for Orders API or Create Standalone Billing Schedules API.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Unlimited, and Developer Editions with Revenue Management
The Order To Billing Schedule flow template and Create Billing Schedules for Orders API are available with the Revenue Management Advanced license or the Revenue Management Billing license.
User Permissions Needed
To use Order To Billing Schedule flow template:

Billing Admin permission set

AND

Billing Operations User permission set

To use Create Billing Schedules for Orders API:

Create Billing Schedules From Billing Transactions API permission

AND

Context Service Runtime permission set

To generate billing schedules for usage-based charge types:

Product Catalog Management Viewer permission set

OR

Usage Management Runtime permission set

Important
Important

Use the Order to Billing Schedules API and Order to Billing Schedules flow for any new sale, amendments, renewals, or cancellations that originate from Revenue Management orders and assets.

Use Order to Billing Schedule Flow

Use the Order to Billing Schedule flow to automatically generate billing schedules and billing schedule groups from order items as soon as orders are activated.

Save a version of the out-of-the-box Order to Billing Schedule flow and activate it. When you clone the flow, we recommend that you include Custom in the name to distinguish it from out-of-the-box flows.

When an order is activated, two flows—Order to Asset and Order to Billing Schedule—are triggered. The Order to Billing Schedule flow then generates a billing schedule group and a billing schedule for the order.

Note
Note As a best practice, we recommend that you use only one active flow to generate billing schedules. If there are multiple active flows, duplicate billing schedules get generated for the same order.

Use Create Billing Schedules for Orders API

Use Create Billing Schedules for Orders API to generate billing schedules from orders.

Before using Create Billing Schedules for Orders API, select the context definition and the context mapping from the Billing settings page or create a custom procedure plan definition.

  1. Create a custom procedure plan definition with these values.
    1. Select Billing as the process type.
    2. Select the object that you want to generate billing schedules for as the primary object.
    3. Select the context definition extended from BillingContext as the context definition.
  2. Update and activate the procedure plan definition.
    1. Open the procedure plan definition and select a read context mapping for the primary object.
    2. Activate the procedure plan definition.
  3. To create billing schedules from orders, use Create Billing Schedules for Orders API.

    To automate this process for external transactions or Salesforce objects, design a custom flow and add the Create Billing Schedules From Billing Transaction action.

Use Create Standalone Billing Schedules API

For one-time, termed, and evergreen products, use Create Standalone Billing Schedules API to generate billing schedules from orders and order items.

In the request body of Create Standalone Billing Schedules API, specify the BillingContext standard context definition as the contextDefinitionName property value.

 
Loading
Salesforce Help | Article