A voice call or broadband internet session may span multiple rating periods. For example, only a part of the call may be covered by a bundle, with the pay-as-you-go rate applying to the remaining portion.
By default, to calculate the charge for this call, the system sees that the call lasts 8 minutes and that the customer has already used 98 out of 100 minutes, leaving 2 minutes available in the bundle. It subtracts these 2 minutes from the total call duration (since they are covered by the bundle), leaving 6 minutes to be charged at the standard pay-as-you-go rate of $0.10 per minute. The system then calculates the cost for these 6 minutes, which amounts to $0.60. The final HDR reflects the 8-minute call duration with a total charge of $0.60.
A single xDR record makes it a bit more difficult to understand how the charges are calculated, but it correctly reflects the fact that it was a single call.
To make charges more transparent, a service provider may choose to generate a separate xDR for each part of the call. To achieve this, enable the Split xDRs if a session spans over several rating periods option for a specific bundle item.
In our example, if the Split xDRs if a session spans over several rating periods option is enabled, the following xDRs will be created for the call:
- xDR #1: 2 minutes are covered by the bundle, charged amount is $0
- xDR #2: 6 minutes * $0.10 = $0.60
As you can see, the total amount charged is the same in both cases ($0.60). It is simply a matter of which xDR presentation in invoices or on the self-care portal is better for your customers.
