Calculate an invoice total from quantity, unit price and tax rate.
Subtotal = quantity × unit price. Total = subtotal × (1 + tax%).