Mass. Gen. Laws ch. 63, § 32D
(ii) Any such business corporation which is an S corporation and has total receipts for the taxable year of $6,000,000 or more shall also include in the net income measure of the excise imposed under section 39 an amount determined by multiplying its net income determined to be taxable in accordance with this chapter by 1 of the following rates, in lieu of the rate provided in said section 39:—
(2) when the total receipts for the taxable year are $9,000,000 or more, the rate in any taxable year shall be calculated by subtracting the rate applicable to Part B taxable income for that year in subsection (b) of section 4 of chapter 62 from the rate applicable to business corporations in that taxable year under clause (2) of paragraph (a) of subsection (3) of section 39 of chapter 63.
For purposes of this subsection, net income determined to be taxable in accordance with this chapter shall be determined without taking into account subchapter S of said Code, and shall not include income that is taxed to the S corporation at the entity level under paragraph (i) of subsection (a). The term ''total receipts'' shall mean gross receipts or sales, less returns and allowances, and shall include dividends, interest, royalties, capital gain net income, rental income and all other income. The cost of goods sold or the cost of operations shall not be deductible in determining such total receipts. The commissioner shall, by regulation, apply such limits on an aggregate basis to S corporations engaged in a unitary business with majority direct or indirect ownership by common stockholders. Such aggregating shall also include any other type of entity, including any qualified subchapter S subsidiary, so engaged and so owned which the commissioner finds was established for the purpose of avoiding the foregoing limits.