You cannot deduct the whole interest amount.
If your partnership is on the cash basis, you can deduct only the interest you actually paid. If your business is under the accrual method, you can deduct only the interest amount that has accrued during the tax year.