Deductions & credits

you can only deduct what you actually pay in the year. 

due to tax laws if you finance with the dentist, you can only deduct what you pay on the loan each year.

while if you put it on your personal credit card, you can deduct the full $40K