Creates a product rate plan charge for a specified rate plan charge.
Product rate plan charges can be of three types, one-time fees, recurring fees, and usage fees.
Idempotency-Key | string <= 255 characters Specify a unique idempotency key if you want to perform an idempotent POST or PATCH request. Do not use this header in other request types. With this header specified, the Zuora server can identify subsequent retries of the same request using this value, which prevents the same operation from being performed multiple times by accident. |
Accept-Encoding | string Include the If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a |
Content-Encoding | string Include the |
Authorization | string The value is in the |
Zuora-Entity-Ids | string An entity ID. If you have Zuora Multi-entity enabled and the OAuth token is valid for more than one entity, you must use this header to specify which entity to perform the operation in. If the OAuth token is only valid for a single entity, or you do not have Zuora Multi-entity enabled, you should not set this header. |
Zuora-Org-Ids | string Comma separated IDs. If you have Zuora Multi-Org enabled, you can use this header to specify which orgs to perform the operation in. If you do not have Zuora Multi-Org enabled, you should not set this header. The IDs must be a sub-set of the user's accessible orgs. If you specify an org that the user does not have access to, the operation fails. If the header is not set, the operation is performed in scope of the user's accessible orgs. |
Zuora-Track-Id | string <= 64 characters A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue. The value of this field must use the US-ASCII character set and must not include any of the following characters: colon ( |
X-Zuora-WSDL-Version | string Default: 79 Zuora WSDL version number. |
AccountingCode | string <= 100 characters The accounting code for the charge. Accounting codes group transactions that contain similar accounting attributes. |
ApplyDiscountTo | string Specifies the type of charges that you want a specific discount to apply to. All field values are case sensitive and in all-caps. |
BillCycleDay | integer <int32> Sets the bill cycle day (BCD) for the charge. The BCD determines which day of the month customer is billed. The BCD value in the account can override the BCD in this object. Character limit: 2 Values: a valid BCD integer, 1 - 31 |
BillCycleType required | string Specifies how to determine the billing day for the charge. Notes:
|
BillingPeriod required | string The billing period for the charge. The start day of the billing period is also called the bill cycle day (BCD). Notes:
|
BillingPeriodAlignment | string Aligns charges within the same subscription if multiple charges begin on different dates. Note: The |
BillingTiming | string The billing timing for the charge. You can choose to bill in advance or in arrears for recurring charge types. This field is not used in one-time or usage based charge types. This feature is in Limited Availability. If you wish to have access to the feature, submit a request at Zuora Global Support. |
ChargeFunction | string Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the This field defines what type of charge it is in Advanced Consumption Billing:
|
CommitmentType | string Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the This field defines the type of commitment. A prepaid charge can be
For drawdown(usage) charges, this field indicates what type of funds are drawdown from that created from topup charges. |
ChargeModel required | string Determines how to calculate charges. Charge models must be individually activated in Zuora Billing administration. Notes:
|
object (ChargeModelConfiguration) Container for charge model configuration data. Notes:
| |
ChargeType required | string Specifies the type of charge. |
CreditOption | string Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The way to calculate credit. See Credit Option for more information. |
DefaultQuantity | number <double> The default quantity of units, such as the number of authors in a hosted wiki service. This field is required if you use a per-unit pricing model. Character limit: 16 Values: a valid quantity value. Note: When the |
DeferredRevenueAccount | string <= 100 characters The name of the deferred revenue account for this charge. This feature is in Limited Availability. If you wish to have access to the feature, submit a request at Zuora Global Support. |
object (DeliverySchedule) | |
Description | string <= 500 characters A description of the charge. |
DiscountLevel | string Specifies if the discount applies to just the product rate plan, the entire subscription, or to any activity in the account. |
DrawdownRate | number Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The conversion rate between Usage UOM and Drawdown UOM for a drawdown charge. See Fields related to Prepaid with Drawdown for more information. |
DrawdownUom | string Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the Unit of measurement for a drawdown charge. |
EndDateCondition | string Default: "SubscriptionEnd" Defines when the charge ends after the charge trigger date. Values:
Note: If the subscription ends before the charge end date, the charge ends when the subscription ends. But if the subscription end date is subsequently changed through a Renewal, or Terms and Conditions amendment, the charge will end on the charge end date. |
ExcludeItemBillingFromRevenueAccounting | boolean Default: false The flag to exclude the related invoice items, invoice item adjustments, credit memo items, and debit memo items from revenue accounting. Notes:
|
ExcludeItemBookingFromRevenueAccounting | boolean Default: false The flag to exclude the related rate plan charges and order line items from revenue accounting. Notes:
|
IncludedUnits | number <double> Specifies the number of units in the base set of units. Character limit: 16 Values: a positive decimal value |
IsAllocationEligible | boolean Indicates whether the charge segment is allocation eligible in revenue recognition. The default value is Values: Notes:
|
IsPrepaid | boolean Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the Indicates whether this charge is a prepayment (topup) charge or a drawdown charge. Values: |
IsRollover | boolean Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The value is either "True" or "False". It determines whether the rollover fields are needed. |
IsStackedDiscount | boolean Note: This field is only applicable to the Discount - Percentage charge model. To use this field, you must set the This field indicates whether the discount is to be calculated as stacked discount. Possible values are as follows:
For more information, see Stacked discounts. |
IsUnbilled | boolean Specifies how to perform the accounting during revenue recognition. The default value is Values: Notes:
|
LegacyRevenueReporting | boolean |
ListPriceBase | string The list price base for the product rate plan charge. |
MaxQuantity | number <double> Specifies the maximum number of units for this charge. Use this field and the Character limit: 16 Values: a positive decimal value |
MinQuantity | number <double> Specifies the minimum number of units for this charge. Use this field and the Character limit: 16 Values: a positive decimal value |
Name required | string <= 100 characters The name of the product rate plan charge. |
NumberOfPeriod | integer <int64> Specifies the number of periods to use when calculating charges in an overage smoothing charge model. The valid value is a positive whole number. |
OverageCalculationOption | string Determines when to calculate overage charges. If the value of the SmoothingMode field is not specified, the value of this field is ignored. Values:
|
OverageUnusedUnitsCreditOption | string or null Determines whether to credit the customer with unused units of usage. |
PrepaidOperationType | string Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The type of this charge. It is either a prepayment (topup) charge or a drawdown charge. |
PrepaidQuantity | number Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The number of units included in a prepayment charge. Must be a positive number. |
PrepaidTotalQuantity | number Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The total amount of units that end customers can use during a validity period when they subscribe to a prepayment charge. |
PrepaidUom | string Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the Unit of measurement for a prepayment charge. |
PriceChangeOption | string Default: "NoChange" Applies an automatic price change when a termed subscription is renewed. |
PriceIncreaseOption | string Applies an automatic price change when a termed subscription is renewed. |
PriceIncreasePercentage | number or null <double> Specifies the percentage to increase or decrease the price of a termed subscription's renewal. Use this field if you set the value to Character limit: 16 Values: a decimal value between -100 and 100 |
ProductCategory | string This field is used to maintain the product category for integration with Zuora Revenue. Notes:
|
ProductClass | string This field is used to maintain the product class for integration with Zuora Revenue. Notes:
|
ProductFamily | string This field is used to maintain the product family for integration with Zuora Revenue. Notes:
|
ProductLine | string This field is used to maintain the product line for integration with Zuora Revenue. Notes:
|
ReflectDiscountInNetAmount | boolean Default: false When you apply percentage discounts to either of the following charges, you need to set the
Note the following:
|
RevenueRecognitionTiming | string <= 200 characters Specifies the type of revenue recognition timing. Predefined options are listed as enum values in this API Reference. Other options might also be avaliable depending on the revenue recognition policy configuration in the Zuora Billing UI. Note: This field is only available if you have the Order to Revenue feature enabled. |
RevenueAmortizationMethod | string <= 200 characters Specifies the type of revenue amortization method. Predefined options are listed as enum values in this API Reference. Other options might also be avaliable depending on the revenue recognition policy configuration in the Zuora Billing UI. Note: This field is only available if you have the Order to Revenue feature enabled. |
ProductRatePlanChargeNumber | string <= 100 characters The natural key of the product rate plan charge. Values:
Note: This field is only available if you set the |
required | object (productRatePlanChargeTierData) Container for pricing information associated with the product rate plan charge. |
ProductRatePlanId required | string <= 32 characters The ID of the product rate plan associated with this product rate plan charge. |
ProrationOption | string Note: This field is only available if you have the Charge Level Proration feature enabled. For more information, see Usage charge proration and Charge level proration option for a recurring charge. To use this field, you must set the You can use this field to specify the charge-level proration option for a usage charge or recurring charge. The tenant-level proration option will be overridden.
|
RatingGroup | string or null Default: "ByBillingPeriod" Specifies a rating group based on which usage records are rated. Possible values:
Notes:
|
RecognizedRevenueAccount | string <= 100 characters The name of the recognized revenue account for this charge.
This feature is in Limited Availability. If you wish to have access to the feature, submit a request at Zuora Global Support. |
RevRecCode | string or null <= 70 characters Associates this product rate plan charge with a specific revenue recognition code. |
RevRecTriggerCondition | string or null Specifies when revenue recognition begins. |
RevenueRecognitionRuleName | string Determines when to recognize the revenue for this charge. |
RolloverApply | string Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the This field defines the priority of rollover, which is either first or last. |
RolloverPeriods | number Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the This field defines the number of rollover periods, it is restricted to 3. |
SmoothingModel | string or null Specifies the smoothing model for an overage smoothing charge model. |
SpecificBillingPeriod | integer or null <int64> Customizes the number of months or weeks for the charges billing period. This field is required if you set the value of the BillingPeriod field to |
SpecificListPriceBase | integer or null <int32> [ 1 .. 200 ] The number of months for the list price base of the charge. This field is required if you set the value of the Notes:
|
TaxCode | string <= 64 characters Specifies the tax code for taxation rules. Required when the Taxable field is set to Note: This value affects the tax calculation of rate plan charges that come from the |
TaxMode | string or null Determines how to define taxation for the charge. Required when the Taxable field is set to Note: This value affects the tax calculation of rate plan charges that come from the |
Taxable | boolean Determines whether the charge is taxable. When set to Character limit: 5 Values: Note: This value affects the tax calculation of rate plan charges that come from the |
TriggerEvent required | string Specifies when to start billing the customer for the charge. Values:
|
UOM | string or null <= 25 characters Specifies a configured unit to measure usage. Note: You must specify this field when creating the following charge models:
|
UpToPeriods | integer or null <int64> Specifies the length of the period during which the charge is active. If this period ends before the subscription ends, the charge ends when this period ends. Character limit: 5 Values: a whole number between 0 and 65535, exclusive Notes:
|
UpToPeriodsType | string or null Default: "Billing Periods" The period type used to define when the charge ends. Notes:
|
UsageRecordRatingOption | string or null Default: "EndOfBillingPeriod" Determines how Zuora processes usage records for per-unit usage charges. |
UseDiscountSpecificAccountingCode required | boolean or null Determines whether to define a new accounting code for the new discount charge. Character limit: 5 Values: |
UseTenantDefaultForPriceChange | boolean Applies the tenant-level percentage uplift value for an automatic price change to a termed subscription's renewal. Character limit: 5 Values: |
ValidityPeriodType | string Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The period in which the prepayment units are valid to use as defined in a prepayment charge. |
WeeklyBillCycleDay | string Specifies which day of the week as the bill cycle day (BCD) for the charge. This feature is in Limited Availability. If you wish to have access to the feature, submit a request at Zuora Global Support. |
ApplyToBillingPeriodPartially | boolean Allow the discount duration to be aligned with the billing period partially. Note: You must enable the Enhanced Discount feature to access this field. |
RolloverPeriodLength | integer Default: null Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the Use this field when you want to set the rollover fund's period length shorter than the prepayment charge's validity period. In this case, you must set the |
Formula | string The price lookup formula defined for the product rate plan charge, which is used to identify the correct and relevant charge definition based on the context. For more information, see Price lookup in Attribute-based Pricing. Notes:
|
Class__NS | string <= 255 characters Class associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
DeferredRevAccount__NS | string <= 255 characters Deferrred revenue account associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
Department__NS | string <= 255 characters Department associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
IncludeChildren__NS | string Specifies whether the corresponding item in NetSuite is visible under child subsidiaries. Only available if you have installed the Zuora Connector for NetSuite. |
IntegrationId__NS | string <= 255 characters ID of the corresponding object in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
IntegrationStatus__NS | string <= 255 characters Status of the product rate plan charge's synchronization with NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
ItemType__NS | string Type of item that is created in NetSuite for the product rate plan charge. Only available if you have installed the Zuora Connector for NetSuite. |
Location__NS | string <= 255 characters Location associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
RecognizedRevAccount__NS | string <= 255 characters Recognized revenue account associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
RevRecEnd__NS | string End date condition of the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
RevRecStart__NS | string Start date condition of the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
RevRecTemplateType__NS | string <= 255 characters Only available if you have installed the Zuora Connector for NetSuite. |
Subsidiary__NS | string <= 255 characters Subsidiary associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
SyncDate__NS | string <= 255 characters Date when the product rate plan charge was synchronized with NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
property name* additional property | any Custom fields of the Product Rate Plan Charge object. The name of each custom field has the form |
{- "Name": "One-Time charge",
- "ProductRatePlanId": "8ad08ae290c4bb470190dedf752745af",
- "ChargeType": "OneTime",
- "ChargeModel": "Flat Fee Pricing",
- "ProductRatePlanChargeTierData": {
- "ProductRatePlanChargeTier": [
- {
- "Price": 10
}
]
}, - "TriggerEvent": "ContractEffective"
}
{- "Id": "2c93808457d787030157e03197714910",
- "Success": true
}