QuickBooks – how to enter a vendor credit due to wrong pricing without affecting the stock quantity

QuickBooks – how to enter a vendor credit due to wrong pricing without affecting the stock quantity