VoIP Calls Break down on Invoices

Is there any way to break down Call Types on the invoice based on Call Types. I see if i import the CDR it creates an invoice with a single line item that includes all calls. i would like it to have a line item for each type of call e.g Local Calls, Mobile Calls, National International and Other, This could be captured at time of import based on the either a Category or Type of call that the CDR file will include.