Deductions & credits

I would only add that the S-corp requirement to pay interest is not a mere technicality, you can run into issues with the IRS if the corporation doesn't pay at least the minimum rate.  That rate is pretty low though.