Mass. Gen. Laws ch. 62, § 3
A. In determining the Part A taxable income, the Part A adjusted gross income shall be reduced by the following deductions and exemptions.
(a) There shall be deducted from the Part A adjusted gross income in determining the Part A taxable income:—
(b) An exemption shall be allowed under this section equal to the amount by which the total exemptions allowable under Part B of section three exceed the Part B adjusted gross income less the deductions allowable under paragraph (a) of Part B of section three. No exemption shall be allowed hereunder to any married person, other than a married person who qualifies as head of household under section two (b) of the Code, unless a joint return is filed.
(a) There shall be deducted from the Part B adjusted gross income in determining the Part B taxable income:
(4) All sums deducted from wages as contributions to any annuity, pension, endowment or retirement fund of the United States government, the commonwealth or any political subdivision thereof including the optional retirement system established by section forty of chapter fifteen A, provided, that the deduction for such contributions and the deductions otherwise allowable under subparagraph (3) hereof attributable to any one taxpayer shall not in the aggregate exceed two thousand dollars, and any income from any contributory annuity, pension, endowment or retirement fund of the United States government or the commonwealth or any political subdivision thereof, to which the employee has contributed, or any income from a contributory annuity, pension, endowment or retirement fund of any other state or any political subdivision thereof, to the extent that income from any such similar fund established under the laws of the commonwealth is not subject to taxation in such other state or political subdivision.
[There is no subparagraph (5) to (8).]
B. In determining the Part B taxable income, the Part B adjusted gross income shall be reduced by the following deductions and exemptions: