Skip to main content
Calling fetchUnbilledRatedUnitsTotal calculates the number of Units and the currency amount billable for a given AutoBill (or AutoBills) at the moment of the call. This call returns a RatedUnitSummary object, which contains the totals for a single AutoBillItem. Note: This call returns the number of unbilled Units at the moment of the call. This call will not reflect the amount for which your customer will be billed if more Events are reported before the end of the current Billing Cycle. This example requests a report for all the unbilled Rated Units for a specified AutoBill, and returns an array of one Summary for each rated AutoBillItem included on the AutoBill. For example, if an AutoBill has two rated AutoBillItems, the call will return an array of two RatedUnitSummary objects.

Fetch a summary of unbilled Rated Unit Events

Fetch a summary of unbilled Events for a specified AutoBill and Product

This call returns two Summary objects, as shown below. Parent topic:Fetching and Reporting Rated Units