Deductions & credits

Having an asset being paid for by a loan is immaterial.  The business use of the vehicle is handled by either using the standard mileage rate   or  the actual expenses + depreciation option.