How to apply Vendor Credit in a bill in Zoho Books?

How to apply Vendor Credit in a bill in Zoho Books?

Go to Purchase module > vendor credit > select vendor credit > apply to bill > select bill