The payment of principal is never a deductible expense. However, check the payoff information to see whether there were any fees paid in addition to principal; the fees may be considered a selling expense.
When debts are cancelled in bankruptcy cases, the cancelled amount is excluded from gross income. Tax attributes are certain losses, credits, and property basis that must be reduced to the extent of the exclusion.