apply cash discount on vendor payment

How to Apply Vendor Discounts to Bills