It's nice to have you here on the Community page, @kris24.
In addition to Rustler's answer, QuickBooks automatically identifies the existing credits of your vendor that matches the amount of your bill, if you make the payment from the Bill page.
On the other hand, if you'll be paying the bill from the Pay bill tab, you can select how much credits you want to apply for that specific bill.
For additional reference about vendor credits, read these articles:
Leave a comment below if you have any other questions. I'm a few clicks away to help. Have a good day!