Skip to navigation

Configure a Rating processor

View as Markdown

Learn how to transform raw usage data into billable rated records by configuring a Rating processor.

1

Navigate to Mediation > Meters

2

Create a Custom meter.

3

Select and drag the Rating processor type on to the meter stream page.

4

In the Rating settings page, enter a Name for the processor.

5

Specify the field mappings.

Field mappings define the join logic, how event records should be matched to reference data.

FieldRequiredDescription
Subscription NumberNoIdentifier for the subscription.
Charge NumberNoUnique identifier of the charge.
QuantityYesThe amount of usage to be rated.
Price QuantityNoCumulative usage to determine the correct tier in tiered/volume pricing models. Mandatory for tiered/volume pricing models, otherwise optional.
Event TimeNoUse a field value from the event to accurately identify the applicable charge segment. If left blank, the latest timestamp will be used to determine the event time.
Date Time FormatNoDate time format corresponding to the Event Time.

Sample Date Time formats

Format PatternSample ValueNotes
yyyy-MM-dd2025-09-08ISO-like date, safest and most common
M/d/yyyy9/8/2025Allows single-digit month/day
dd-MM-yyyy08-09-2025Year/Month/Day with slashes
yyyyMMdd20250908Date + hour:minute (24h)
yyyy-MM-dd HH:mm2025-09-08 14:30Date + hour:minute (24h)
yyyy-MM-dd HH:mm:ss2025-09-08 14:30:59Date + time to seconds
yyyy-MM-dd’T’HH:mm:ss2025-09-08T14:30:59ISO-8601 style with T separator
yyyy-MM-dd HH:mm:ss.SSS2025-09-08 14:30:59.123Includes milliseconds
MM/dd/yyyy hh:mm a09/08/2025 02:30 PMUS-style date with 12h clock + AM/PM
6

Click Save.