totals concepts and their meaning in the invoices: ------------------------------------------------- base the base amount. (sum over the items of qty*ucost) discount the summed (base*discount/100) specified for each item net the summed (base amount - discount) per item taxes the summed taxes applied after the discount (taxes*net/100) gross the summed amount, taxes included (net + taxes)