Can I show the amount before discount then discount the total in a sales invoice or quote
No. As stated in the Guide about discounts, you must either discount individual line items or include a line item that is itself a discount (for the entire invoice). Either way, however, the discount is subtracted before the total is computed.
Thanks will show on separate line