Deductions & credits

You would deduct x/84ths where x is the number of payments you made in 2017.  If you closed June 30, and your first payment was August 1, then you would deduct 5/84ths of the up front amount, plus the total of your monthly premiums.