Create Standalone Billing Schedules Action

Creates billing schedules for internal or external transaction records by calling the Create Standalone Billing Schedules API.

This action is available in API version 64.0 and later.

See Create Standalone Billing Schedules (POST) API to know more about the mandatory and optional tags, sample transaction details, and sample payloads for various types of transactions.

This action is available in Enterprise, Unlimited, and Developer Editions with the Revenue Cloud Billing license. To use this action, you need the Billing Operations permission set.

URI: /services/data/v68.0/actions/standard/createBillingSchedulesFromTrxn

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a placeholder for your OAuth access token.

InputTypeDescription
contextDefinitionNamestringRequired. Name of the context definition that contains the mappings for the transaction record and billing schedules.
readContextMappingNamestringRequired. Name of the context mapping with the mapping for the transaction.
saveContextMappingNamestringRequired. Name of the context mapping with the mapping for the billing schedule and billing schedule group. The save context mapping is used to save the billing schedule.
transactionDetailsstringRequired. A JSON string containing the ID of the transaction record that the billing schedule is created for and other additional transaction details.
OutputTypeDescription
requestIdstringUnique request identifier that you can use to poll the asynchronous request.
statusUrlstringStatus URL that’s used to track the operation.

POST

Here’s a sample request for the Create Billing Schedules From Transaction action.

Here’s a sample response for the Create Billing Schedules From Transaction action.