integrated calculations on the invoice, multiplying line items and then adding a running total of each purchase