Finance calculation based on traffic counting

Is it possible to charge a user based on traffic this user have used, for example: if this user used 10 GB traffics then in the end of month this user will be charged 10 GB * Price ?

I think auto top up covert this feature.

Yes, I thought that too. But the invoice will look ugly because hundreds of 1GB top up transactions.

2 ways of solution:

  1. Sell per 5,10,20,100 GB
  2. I think it is possible to aggregate these items in invoice without any problem.