To view customer or supplier ledger
Discount for balance due amount can be added for customer/supplier.
Click the add discount button on the customer/supplier ledger screen
On clicking the button it shows a popup, enter the details and click save.
The discounted amount will be accounted for in their ledger.
While adding a Ledger Discount it will not be reflected in Sale Discount because the invoice details are not added for the ledger discount. And it is not possible to find to which invoice the discount is added.