How to manage discounts on commercial invoices