add total to invoice