You can either create a credit note from scratch by going to Accounting ‣ Vendors ‣ Refund, and by clicking on Create, or by opening the validated Vendor Bill, and clicking on Add Credit Note.
There are several reasons that can lead to a vendor credit note, such as: a mistake in the bill, a return of the goods, or a rejection of the services, the goods received are damaged