Allow your customers to define their own amounts and quantities on their usage records.
A customer-defined value overrides any rated value that Salesforce Billing would calculate.
Prerated usage is useful for tracking billing expenses, pass-through postage, and third-party
rating charges. (Salesforce Billing Managed Package)
Required Editions
Available in: Salesforce Billing Winter ’18 and later.
Define prerated values with the Prerated Quantity and Prerated Amount fields on the usage
record. If your usage record contains a prerated quantity and prerated amount, Salesforce Billing
doesn't calculate a usage subtotal based on the standard formula of (Unit Price) * (Quantity). Instead, the usage summary that consumes your usage
evaluates only the prerated amount when calculating the summary's subtotal. Salesforce Billing
displays an error if you save a usage record with values for a prerated field and rated
field.
When your usage summary evaluates its usage records, it calculates a price for your rated
records based on their quantity and unit price, then adds that to the prerated amounts of your
prerated records. For example, consider a usage summary with the following usage records.
Usage Record
Unit Price
Prerated Quantity
Prerated Amount
Quantity
Subtotal
1 (Prerated)
$0.04
20
$2.00
none
none
2 (Not Prerated)
$0.04
none
none
25
$1.00
In this case, Your usage summary bases its unbilled subtotal off the calculation $(.04 * 25) + $2 = $3.00. The summary also updates its Prerated
Quantity field to reflect the sum of all prerated quantities on its usage records — in
this case, 25.
An order product consumption schedule requires the following configuration to inherit usage
summaries with prerated quantities.
Only one order product consumption rate.
The consumption rate has only one price tier.
The price tier is per unit with a lower bound of 1 and null upper bound.
When you invoice a usage summary that contains prerated and rated usage, Salesforce Billing
evaluates only the summary’s total amount and total quantity. An invoice line for our usage
summary would have a total amount of $3.00 and quantity of 45.
Applying Tax to Invoice Lines Based on Usage Summaries
By default,
Salesforce Billing taxes invoice lines based on their amount. This process means that a usage
summary made of rated and prerated usage would create an invoice line that calculates tax based
on both types of usage. If you don’t want to tax the prerated usage for one of your usage
products, create a separate usage product to represent only your prerated usage and associate
that with a tax rule that
doesn’t
apply tax. You can then associate that order product with its own usage summary separate from the
usage summary and order product you’re using for your rated usage.
If you want a separate field
for prerated tax, we recommend adding a custom Prerated Tax field to your usage record. You can
then create a Prerated Tax field on your invoice that displays the total of prerated tax fields
across all usage records related to your invoice.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.