Products flagged as Discount Products can be added to AR Invoices to discount the line total of the product row above.
AR Invoice report shows the discount
I want to read the white paper about how to setup and use AR Invoice Discount Products (with much more detail, lots of screenshots, and plenty of examples).