Based on the information you've provided, you can use the Supplier credit option in QuickBooks Online (QBO). This allows you to create a debit note for a specific supplier.
In QBO, go to the + New option at the top left to create a Supplier Credit.
Select the supplier's name, then choose the appropriate account to be credited in the Account details section.
Enter the other necessary information.
Hit Save and close.
If the supplier pays back, enter a deposit entry. Then, select the supplier name in received from and Accounts Payable in the Account drop-down. Or this debit note entry can be adjusted/added in the future bill payment.