Getting the Total amount including strature values and item(charges)

Hi,

How can i get the total Line wise value against an invoice if structure and Item(charges) are included in that.

I checked with Customer Ledger Entry , there i found the total amount , not line wise value. I want the values distributed line wise.

Expecting your valuable replies