do a credit memo for the vendor, enter the total amount, and use other income as the account
when debt is forgiven, or in this case not available to be paid, it is your income. There are some exceptions but they mostly deal with real estate, not normal business operations