Apply charge definition lookup to subscriptions
This task explains how to apply charge definition lookup to subscriptions through the UI, ensuring accurate pricing based on attribute-based pricing.
Charge definition lookup is supported in API and UI. This article demonstrates how to apply charge definition lookup to subscriptions through UI. If you subscribe to the product rate plan through API as usual after defining the price lookup formula , the charge definition lookup is automatically processed. For more information, see Overview of Attribute-based Pricing .
The charge definition lookup is only available when the Attribute-based Pricing feature is enabled in the Orders Harmonization and Orders tenants.
By supporting this function, you can view the actual price of a charge based on the matching charge definition when subscribing this charge to a subscription through the Create Subscription or Add Product order action.
A price lookup formula must be created for a product rate plan charge in the product catalog to enable the charge definition lookup. The charge definitions are looked up based on attributes or custom fields defined in the formula. A successful charge definition lookup is based on the following rule: the values of the attributes or custom fields in the subscription and account during the Create Subscription or Add Product order action exactly match those values in charge definitions.
In this article, only one subscription custom field is used as a simple example to demonstrate how looking up charge definition works. For complex use cases using multiple fields for lookup, see Price lookup in Attribute-based Pricing .
To enable charge definition lookup, perform the following steps: