Cash Discount is a discount taken at time of payment, it will not show up (or post) as an invoice-based discount.
However it can be assigned to just one invoice and not to all invoices of a customer.
There is no "normal" discount functionality related to free text invoice.