Form 1042 is an annual information return used to report income paid to nonresident aliens and foreign corporations. Form 1065, on the other hand, is the U.S. partnership income tax return. In Form 8865, Form 1042 is used to report income paid to foreign partners, while Form 1065 is used to report the income, deductions, gains, and losses of the partnership itself.