A dependent took out SallieMae loan to pay for school. A year after this expense, we paid off the loan with 529 money. How do I enter the loan as an educational expense?

The question is to retain the tax exempt part of using the 529 money to cover this educational expense.