Is there anyway you can add a line running total to a statement?

eg

Invoice Amount Total
...