You made a loan to the company ... the company can deduct only the normal business deductions even if they were paid with the loan ( ie payroll taxes ) but it cannot deduct the loan amount. And sadly the IRA distribution is still taxable and subject to the early withdrawal penalty.