Vendor terms discount calculation
You can create vendor terms, assign them to a vendor, and in the Bills screen the terms will display. The software does not calculate the discount for you.
To create a vendor term, go to Setup → Vendor Terms:
To assign the terms, go to Vendors.
In the example below, if you pay the vendor within 15 days of the invoice date you are entitled to a 2% discount. The software will set the due date based on the vendor terms, and you will see the description of the vendor's terms in the Bills screen.