Create Billing Schedules From Billing Transaction Action
Create one or more billing schedules for a specified billing transaction ID.
This action calls the Create Billing Schedules for Orders (POST) API to retrieve the billing transaction items associated with the billing transaction ID. The API generates the corresponding billing schedules for each of the billing transaction items for operations such as transaction modifications, renewals, cancellations, and new sales.
This action is available in API version 62.0 and later.
The Create Billing Schedules From Billing Transaction action is available in Enterprise, Unlimited, and Developer Editions where Billing is enabled. To use this action, you need the Create Billing Schedules From Billing Transactions API permission set.
URI: /services/data/v68.0/actions/standard/createBillingSchedulesFromBillingTransaction
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a placeholder for your OAuth access token.
| Input | Type | Description |
|---|---|---|
billingTransactionId | string | Required. ID of the billing transaction record to create one or more billing schedules for. This action supports only one billing transaction ID in the input. |
When a flow, such as the Order To Billing Schedule flow, is triggered for multiple orders at the same time, Salesforce Flow bulkifies the action calls into a single invocation. Because this action accepts only one billing transaction ID per request, the call fails. To avoid this error, invoke this action separately for each order or billing transaction ID. For example, use a Loop element to iterate over the records before calling this action.
| Output | Type | Description |
|---|---|---|
requestId | string | Universally Unique Identifier (UUID) that’s used to track the status of the asynchronous action. |
statusUrl | string | URL that’s used to check the status of the API request. |
POST
This example shows a sample request for the Create Billing Schedules From Billing Transaction action.
This example shows a sample response for the Create Billing Schedules From Billing Transaction action.
See Also