The purpose of a vendor credit is to record returns to vendors or refunds from vendors. A vendor may supply you with a credit document that indicates you no longer owe the amount stated on the document.
Hubdoc allows you to create vendor credits in QBO. You can configure this from the Edit Data bar.
Hubdoc will create the credit with the desired vendor, date, amount, and automatically attach the source document.