You can create an account under the accounts database called Debt and put the debt as the starting balance. Then, you can use the transfer feature to transfer money from another account to the Debt account to pay off the debt.
\Here’s how most people have done this:
Add an account called “Credit Card” and log expenses under that account.
Then add an account that is your bank account, and use the transfer database to move money from your bank account to the credit card account to “pay off” your credit card bills.