Deductions & credits

I figured it out. The outstanding mortgage principal is the loan amount remaining at the beginning of the tax year, not the end.