Invoice Rounding
Invoice item amounts are calculated to 11 digits of precision. Before rounding takes place Invoice items are summed to produce an invoice total, and then the total is rounded to 2 decimal places.
This approach is used to ensure that invoice totals are accurate to 1 cent and to avoid revenue leakage, which can occur if each invoice item amount is rounded to 2 decimal places individually.
Charges below a cent can come from prorated charges and refunds, taxes, currency conversions, or percentage charges on contract penalties or late fees.
If an invoice is configured to show all invoice items rounded to 2 decimal places, this could result in a discrepancy between the sum of all invoice items and the invoice total. This difference would be due to the rounding on rendered charges and not an error in the billing calculations.
Usage Rating Rounding
Rounding amounts during rating is governed by the configuration on Rate Groups. The amount of decimal places to round the rated amount to is configured on the group using the ‘Amount Precision’ setting. The rounding behavior is configured by setting the ‘Amount Rounding Type’ value (Round Up or Round Half Up rounding).
Global usage precision and rounding types can be set on an Owner as well, under the Mediation & Rating section. These Owner settings are used in the event a rate group exists without an amount precision or rounding type set.