A repayment of principal is never deductible. Interest on the loan may be deductible, depending on what you used the proceeds for. If you purchased securities, the interest is treated as investment interest deductible as an itemized deduction to the extent of net investment income. If you used the proceeds to buy a principal residence or second home and you are not a key employee, you can usually obtain a full interest deduction if the loan is secured by the home. But if you used the proceeds for personal reasons (e.g., paying medical or college expenses), no interest deduction is allowed.
The difference between the face value of a bond and its original issue price. OID is reported on an annual basis as interest income.