Configure billing determinant
The custom stored procedure obtains the sum of intervals from the billing determinant. Therefore, the billing determinant needs to be configured to calculate the sum of intervals.
The Unit of Measure (UOM) needs to match the UOM that is configured for the channel.