N.Y. Comp. Codes R. & Regs. tit. 20, § 4-4.1
(a) The percentage of the taxpayer's business receipts allocable to New York State is determined by:
(2) dividing the sum of the New York State business receipts by the taxpayer's total business receipts within and without New York State during such period.
For purposes of this section, the term business receipts means gross income received in the regular course of the taxpayer's business, provided such receipts are includible in the computation of the taxpayer's entire net income for the taxable year.
(b) All business receipts for the period covered by the report, computed on a cash or accrual basis according to the method of accounting used in the computation of its entire net income, must be taken into account. The following business receipts are allocable to New York State:
Tax Law, § 210(3)(a)(2) and (6)