- now subtracting the paid amount from the invoice total to make sure the open amount is correct