N.Y. Comp. Codes R. & Regs. tit. 20, § 117.3
(k) The provisions of this section may be illustrated by the following:
Example:
A and B are equal partners under an agreement which contains no special provision for allocation of particular items of partnership income, gain, loss or deduction. During the taxable year, the partnership receives $2,000 interest income from obligations of the United States used as security for the performance of partnership contracts. It pays interest of $500 on money borrowed to purchase such obligations. In determining their respective New York adjusted gross incomes for the taxable year, A and B each subtracts from his Federal adjusted gross income $1,000 as his share of the New York State modification for interest income from obligations of the United States under section 112.3(a) of this Article, and each adds to his Federal adjusted gross income $250 as his share of the New York modification under section 112.2(d) of this Article for interest paid to carry securities the income from which is exempt from New York State personal income tax.
Tax Law, § 617(a)