apply discount to vendor payment or invoice

How to Apply Vendor Discounts to Bills