Standalone Billing Schedule Input
Input representation of the request to create a billing schedule based on transaction details. This representation includes the transaction and context service details.
The Create Standalone Billing Schedules (POST) API uses the StandaloneBillingContext context definition to hydrate the context of the transaction. The context definition includes these mappings.
- The TransactionMapping maps the fields of the transaction to the attributes of the Transaction node.
- The BSGEntitiesMapping maps the attributes of the Billing Schedule node, the Billing Schedule Group node, and Billing Schedule Group Relationship node to the fields of the corresponding Salesforce objects.
For the StandaloneBillingContext context definition to hydrate all the required data, transaction data for the mandatory context tags are required. Here are the topics that mention the mandatory and optional tags, sample transaction details, and sample payloads for various types of transactions.
- One-Time New Sale Transaction
- Term-Defined New Sale Transaction
- Evergreen New Sale Transaction
- New Sale Transaction With Bundled Products
- New Sale Transaction With Ramped Products
- New Sale Transaction With Usage Products
- Amended Transaction
- Renewal Transaction
- Early Renewal Transaction
- Canceled Transaction
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
transactionContextDetails | Standalone Billing Schedule Metadata Input[] | Details of the context definition and its mappings that are used to hydrate the transaction data and save it in the appropriate Billing fields. | Required | 64.0 |
transactionDetails | String | Input JSON data that includes the ID of the transaction record for which the billing schedule must be created and other additional transaction details. The API request supports a single mapping ID. You can send separate requests for line items and line details by using their respective mapping IDs. However, this approach can result in duplicate billing schedules for the same line items and line details. | Required | 64.0 |
-
Understand the required values and key considerations before you create a billing schedule for a new sale transaction with the OneTime selling model type.
-
Term-Defined New Sale Transaction
Understand the required values and key considerations before you create a billing schedule for a new sale transaction with the TermDefined selling model type.
-
Evergreen New Sale Transaction
Understand the required values and key considerations before you create a billing schedule for a new sale transaction with the Evergreen selling model type.
-
New Sale Transaction With Bundled Products
Understand the required values and key considerations before you create a billing schedule for a new sale transaction with bundled products.
-
New Sale Transaction With Ramped Products
Understand the required values and key considerations before you create a billing schedule for a new sale transaction with ramped products.
-
New Sale Transaction With Usage Products
Understand the required values and key considerations before you create a billing schedule for a new sale transaction with usage-based products.
-
Learn how amendments update quantity, price, and end date in billing schedules along with delta-only price transactions and billing-frequency changes at the billing schedule level.
-
Create a renewal billing schedule for termed subscriptions that continues without a gap, starting the day after the current billing schedule group ends and running for the same term length.
-
Early Renewal ends the current term at an effective date and starts a renewed term to a new end date, creating two billing schedules in one request. The request creates a negative segment for the remaining original term and a positive segment for the renewal term.
-
Cancel an entire billing schedule from a specified date. Specify only the cancellation date and billing schedule group identifier. The API computes the logic to split the cancellation across overlapping billing schedules and creates one cancel transaction per segment.