added running total for invoice