To what account do I post the credit so that it does not affect this years Income or Assets account?

Not possible without affecting something.

If you are sure the loan was paid off in a previous year

debit loan
credit retained earnings

Resolution for 'affecting something issue: 'How does one write off liabilities from previous years that have already been paid but are still showing on the balance sheet? To what account do you post the credit?' available: Yes.

The affecting something issue or error code is a known issue in Quickbooks Online (QBO) and/or Quickbooks. Support for this issue is available either by self-service or paid support options. Experts are available to resolve your Quickbooks issue to ensure minimal downtime and continue running your business. First try to resolve the affecting something issue yourself by looking for a resolution described in the article. If it is a complex affecting something issue or you are unable to solve the issue, you may contact us by clicking here or by using other affecting something support options.

For more information about resolving issues related to affecting something in Quickbooks/QBO or to get support for the issue 'How does one write off liabilities from previous years that have already been paid but are still showing on the balance sheet? To what account do you post the credit?', click the link below: