Table of Contents
- Massachusetts Annual and Quarterly Reporting
- Set Up
- IDGV - State Registration
- IDGV - State SUI Registration
- State File Procedures
- Annual W2 Wage Reporting – EFW2 File Format
- State Media Magnetic Media Reporting – EFW2 File Format
- Record Name: Code RA – Transmitter Record (Required. Specific to the State of Massachusetts)
- Record Name: Code RE - Employer Record (Specific to the State of Massachusetts)
- Record Name: Code RW - Employee Wage Record (Same as the Federal Code RW)
- Record Name: Code RO - Employee Wage Record (Same as the Federal Code RO)
- Record Name: Code RS - State Wage Record (Specific to the State of Massachusetts)
- Record Name: Code RT - Total Record (Specific to the State of Massachusetts)
- Record Name: Code RU - Total Record (Same as the Federal Code RU)
- Record Name: Code RV - Total Record (Same as the Federal Code RV)
- Record Name: Code RU - Total Record (Same as the Federal Code RF)
- Quarterly UI Wage Magnetic Media Reporting - ICESA Format
- Quarterly UI Wage Reporting – ICESA Format
- Record Name: Code S – Employee Wage Record
- Notes
Massachusetts Annual and Quarterly Reporting#
Set Up#
This document contains abbreviated set up requirements for the State of Massachusetts only. Please refer to the general document (Tax Reporting - US General) for other setup procedures that may also be required.IDGV - State Registration#
- The IDGV Definition tab must be set up for ‘State Registration’ for State/Province: Massachusetts
- The IDGV Variables tab must be set up for ‘State Registration’ for State/Province: Massachusetts
- ‘W2 STATE MEDIA FILING’ - Must be set to ‘02’ to generate the Massachusetts state magnetic media file for State of Massachusetts only
IDGV - State SUI Registration#
- The IDGV Definition tab must be set up with ‘State SUI Registration’ for State/Province: Massachusetts
- The IDGV Variables tab must be set up with ‘State SUI Registration’ for State/Province: Massachusetts
- ‘W2 STATE MEDIA FILING’- Must be set to ‘02’ to generate the UI wage magnetic media file for State of Massachusetts
State File Procedures#
The Massachusetts Department of Revenue accepts filing of W-2s via magnetic media using the EFW2 format,- Records required for the W2 reporting are: Codes RA, RE, RS and RT. Optional records are: RW, RO, RU, RF and RV and follow the SSA Specifications for Filing Form W-2
The Massachusetts Division of Unemployment Assistance accepts the filing of Quarterly UI wages via magnetic media using the ICESA format.
- The only required record for UI wage reporting is Codes S.
The State of Massachusetts requires to file the Massachusetts State file by itself, therefore IDGV must be set up as follows:
- for State Registration of Massachusetts, the IDGV Variable ‘W2 STATE MEDIA FILING’ must be set to 02 – Massachusetts. The State of Massachusetts requires its own file, do not include other State information in the State file
Annual W2 Wage Reporting – EFW2 File Format#
RPYEU must be run with the following parameters and filters defined to generate the Massachusetts State file information:
RPYEU Report Parameters
Annual Form Code | Use standard form code, such as 'HL$US-W2-YYYY' |
Period Type | Mandatory. Defines the period type. Enter "Year" for Annual reporting and "Quarter" for quarterly reporting. |
Period End Date | Mandatory. Defines the end date of the reporting period. |
Media Format | Mandatory. Defines the Federal file format for SSA reporting (includes 'RW' and 'RS' records). |
Directory Name | Mandatory. Defines the name of the government Magnetic Media file. Must be defined or an output file will not be produced |
Media File Name | Mandatory. Defines the media file name of the data being uploaded. Must be defined or an output file will not be produced |
RPYEU Report Filters
Select State: Massachusetts, USA |
State Media Magnetic Media Reporting – EFW2 File Format#
Record Name: Code RA – Transmitter Record (Required. Specific to the State of Massachusetts)#
Column | Description | Source |
---|---|---|
1-2 | Record Identifier | Constant "RA" |
3-11 | Submitter’s Employer ID Number (EIN) | Required. Derived from the ‘SUB-ER-EIN’ IDFDV Field Identifier (seq 1000). Numeric only. |
12-19 | User Identification (User ID) | Required. Enter the eight-character BSO User ID assigned to the employee who is attesting to the accuracy of this file. |
20-23 | Software Vendor Code | Enter the numeric four-digit Software Vendor Identification Code assigned by the National Association of Computerized Tax Processors (NACTP). If "99 (Off-the-Shelf Software)" is entered in the Software Code field (positions 36-37) enter the Software Vendor Code. Otherwise, fill with blanks. |
24-28 | Blank | Fill with blanks. Reserved for SSA use. |
29 | Resub Indicator | Enter "1" if this file is being resubmitted. Otherwise, enter "0" (zero). |
30-37 MA | Blank | Fill with blanks |
38-94 | Company Name | Enter the Company Name. Left justify and fill with blanks. |
95-116 | Location Address | Enter the company's location address (Attention, Suite, Room Number, etc). Left justify and fill with blanks |
117-138 | Delivery Address | Enter the company's delivery address (Street or Post Office Box). Example: 123 Main Street. Left justify and fill with blanks |
139-160 | City | Enter the company's city. Left justify and fill with blanks |
161-162 | State Abbreviation | Enter the company's State abbreviation. Use a postal abbreviation. For a foreign address, fill with blanks |
163-167 | ZIP Code | Enter the company's ZIP code. For a foreign address, fill with blanks |
168-171 | ZIP Code Extension | Enter the company's four-digit extension of the ZIP code. If not applicable, fill with blanks |
172-176 | Blank | Fill with blanks. |
177-199 | Foreign State/Province | If applicable, enter the company's foreign State/Province. Left justify and fill with blanks. Otherwise, fill with blanks. |
200-214 | Foreign Postal Code | If applicable, enter the company's foreign postal code. Left justify and fill with blanks. Otherwise, fill with blanks. |
215-216 | Country Code | If one of the following applies, fill with blanks: * One of the 50 States of the U.S.A. * District of Columbia * Military Post Office (MPO) * American Samoa * Guam * Northern Mariana Islands * Puerto Rico * Virgin Islands Otherwise, enter the applicable Country Code. |
217-273 | Submitter Name | Required. Enter the name of the organization's submitter to receive notification if this file cannot be processed. Left Justify and fill with blanks. Derived from the ‘SUB-SUBM-NAME’ IDFDV Field Identifier (seq 1150). |
274-295 | Submitter Location Address | Enter the submitter's location address (Attention, Suite, Room Number, etc.) Left justify and fill with blanks. Derived from the ‘SUB-SUBM-LOCN’ IDFDV Field Identifier (seq 1160). |
296-317 | Submitter Delivery Address | Required. Enter the submitter's delivery address (Street or Post Office Box). Left justify and fill with blanks. Derived from the ‘SUB-SUBM-DELIV’ IDFDV Field Identifier (seq 1170). |
318-339 | Submitter City | Required. Enter the submitter's city. Left justify and fill with blanks. Derived from the ‘SUB-SUBM-CITY’ IDFDV Field Identifier (seq 1180). |
340-341 | Submitter State Abbreviation | Required. Enter the submitter's State or commonwealth/territory. Use a postal abbreviation. For a foreign address, fill with blanks. Derived from the ‘SUB-SUBM-STATE’ IDFDV Field Identifier (seq 1190). |
342-346 | Submitter ZIP Code | Required. Enter the submitter's ZIP Code. For a foreign address, fill with blanks. Derived from the ‘SUB-SUBM-ZIP’ IDFDV Field Identifier (seq 1200). |
347-350 | Submitter ZIP Code extension | Enter the submitter's four-digit extension of the ZIP code. If not applicable, fill with blanks. Derived from the ‘SUB-SUBM-ZIP-EXT’ IDFDV Field Identifier (seq 1210). |
351-355 | Blank | Fill with blanks. |
356-378 | Foreign State/Province | If applicable, enter the submitter's foreign State/Province. Left justify and fill with blanks. Otherwise, fill with blanks. |
379-393 | Foreign Postal Code | If applicable, enter the submitter's foreign Postal Code. Left justify and fill with blanks. Otherwise, fill with blanks. |
394-395 | Country Code | If one of the following applies, fill with blanks * One of the 50 States of the U.S.A. * District of Columbia * Military Post Office (MPO) * American Samoa * Guam * Northern Mariana Islands * Puerto Rico * Virgin Islands Otherwise, enter the applicable Country Code. |
396-422 | Contact Name | Required. Enter the name of the person to be contacted by SSA concerning processing problems. Left justify and fill with blanks. Derived from the ‘SUB-CONT-NAME’ IDFDV Field Identifier (seq 1250). |
423-437 | Contact Phone Number | Required. Enter the contact's phone number (including area code). Numeric values only . Do not use any special characters. Left justify and fill with blanks. NOTE: It is imperative that the contact's telephone number be entered in the appropriate positions. Failure to include correct and complete submitter contact information may, in some cases, delay the timely processing of your file. Derived from the ‘SUB-CONT-TEL’ IDFDV Field Identifier (seq 1260). |
438-442 | Contact Phone Extension | Enter the contact's telephone extension. Left justify and fill with blanks. Derived from the ‘SUB-CONT-TEL-EXT’ IDFDV Field Identifier (seq 1270). |
443-445 | Blank | Fill with blanks. |
446-485 | Contact E-mail | Enter the contact's e-mail address. Derived from the ‘SUB-CONT-EMAIL’ IDFDV Field Identifier (seq 1280). |
486-488 | Blank | Fill with blanks. |
489-498 | Contact Fax | If applicable, enter the contact's fax number (including area code). Otherwise, fill with blanks. Derived from the ‘SUB-CONT-FAX’ IDFDV Field Identifier (seq 1290). |
499 | Blank | Fill with blanks. Reserved for SSA use. |
500 | Preparer Code | Enter one of the following codes to indicate who prepared this file: * A = Accounting Firm * L = Self Prepared * S = Service Bureau * P = Parent Company * O = Other If more than one code applies, use the code that best describes who prepared this file. |
501-512 | Blank | Fill with blanks. Reserved for SSA use. |
Record Name: Code RE - Employer Record (Specific to the State of Massachusetts)#
Column | Description | Source |
---|---|---|
1-2 | Record Identifier | Constant "RE" |
3-6 | Tax Year | Required. Enter the tax year that is being reported, in YYYY formt. Derived from the user defined FROM-TO period, converted to YYYY. |
7 | Agent Indicator Code | If applicable, enter one of the following codes: * 1 = 2678 Agent * 2 = Common Paymaster * 3 = 3504 Agent If more than one code applies, use the one that best describes your status as an agent. Otherwise, fill with a blank. |
8-16 | Employer/Agent EIN | Required. Enter the employer's or agent's FEIN Derived from the applicable Federal reporting EIN, from IDGV or IDGR. |
17-25 | Agent for EIN | If "1" was entered in the Agent Indicator Code field (position 7), enter the client-employer's EIN for which you are an Agent. Otherwise, fill with blanks. |
26 | Terminating Business Indicator | Enter '1' if you have terminated your business during this tax year. Otherwise, enter '0' (zero). |
27-30 MA | Blank | Fill with blanks. |
31-39 | Other EIN | For this tax year, if you submitted w-2 data to the Department of Revenue and a different EIN was used from the positions 8-16, enter the other EIN. Otherwise, fill with blanks. |
40-96 MA | Employer Name | Required. If you entered a “1” in position 7, agent Indicator Code field, enter the Employer name associated with the EIN in position 17-25. If you entered a “2” in position 7, enter the employer name associated with the EIN in position 8-16. If you entered a “blank” in position 7, enter the employer name associated With the EIN in position 8-16. |
97-118 | Employer Location Address | Enter the employer's location address (Attention, Suite, Room Number, etc.) Left justify and fill with blanks. Derived from the 'W2-ER-LOCN-ADDR' IDFDV Field Identifier (seq 2020). |
119-140 | Employer Delivery Address | Enter the employer's delivery address (Street or Post Office Box). Left justify and fill with blanks. Derived from the 'W2-ER-DELIV-ADDR' IDFDV Field Identifier (seq 2030). |
141-162 | Employer City | Enter the employer's city. Left justify and fill with blanks. Derived from the 'W2-ER-CITY' IDFDV Field Identifier (seq 2040). |
163-164 | Employer State Abbreviation | Enter the employer's State. Use a postal abbreviation. For a foreign address, fill with blanks. Derived from the 'W2-ER-STATE' IDFDV Field Identifier (seq 2050). |
165-169 | Employer ZIP Code | Enter the employer's zip Code. For a foreign address, fill with blanks. Derived from the 'W2-ER-ZIP' IDFDV Field Identifier (seq 2060). |
170-173 | Employer ZIP Code Extension | Enter the employer's four-digit extension of the zip code, if applicable. If not applicable, fill with blanks. Derived from the 'W2-ER-ZIP-EXT' IDFDV Field Identifier (seq 2070). |
174 | Kind of Employer | Required. Enter the appropriate kind of employer. Options are: * F = Federal Government * State/Local non-501c * T = 501c non-government * Y = State/Local 501c * N = None apply NOTE: Leave blank if the tax jurisdiction Code in position 220 of the RE (Employer) Records is "P" (Puerto Rico). |
175-178 | Blank | Fill with blanks. Reserved for SSA use. |
179-201 | Foreign State/Province | Enter the employer's foreign State/Province, if applicable. Left justify and fill with blanks. Otherwise, fill with blanks. |
202-216 | Foreign Postal Code | If applicable, enter the company's foreign postal code. Left justify and fill with blanks. Otherwise, fill with blanks. |
217-218 | Country Code | If one of the following applies, fill with blanks: * One of the 50 States of the U.S.A. * District of Columbia * Military Post Office (MPO) * American Samoa * Guam * Northern Mariana Islands * Puerto Rico * Virgin Islands Otherwise, enter the applicable Country Code. |
219 | Employment Code | Required. Enter the appropriate employment code. Options are: * A = Agriculture (Form 943) * H = Household (Schedule H) * M = Military (Form 941) * Q = Medicare Qualified Government Employment (Form 941) * X = Railroad (CT-1) * F = Regular (Form 944) * R = Regular (all others) (Form 941). NOTE: Railroad reporting is not applicable for Puerto Rico and territorial employers. |
220 | Tax Jurisdiction Code | Required. Enter the code that identifies the type of income tax withheld from the employee's earnings. Options are: * Blank (W-2) * V = Virgin Islands (W-2VI) * G = Guam (W-2GU) * S = American Samoa (W-2AS) * N = Northern Mariana Islands (W-2CM) * P = Puerto Rico (W-2PR/499R-2) |
221 | Third Party Sick Pay Indicator | Enter "1" for a sick pay indicator. Otherwise, enter "0" (zero). |
222-248 | Employer Contact Name | Enter the name of the employer's contact name. Left justify and fill with blanks. |
249-263 | Employer Contact Phone Number | Enter the employer's contact telephone number (including area code). Numeric values only Do not use any special characters. Left justify and fill with blanks. |
264-268 | Employer Contact Phone Extension | Enter the employer's contact telephone extension number. Numeric values only Do not use any special characters. Left justify and fill with blanks. |
269-278 | Employer Contact Fax Number | Enter the employer's contact fax number (including area code), if applicable. Otherwise, fill with blanks. Numeric values only Do not use any special characters. For US and US Territories only |
279-318 | Employer Contact E-Mail | Enter the employer's contact e-mail address. |
319-512 | Blank | Fill with blanks. Reserved for SSA use. |
Record Name: Code RW - Employee Wage Record (Same as the Federal Code RW)#
State Media Magnetic Media Reporting - SSA EFW2 File Format for Annual and Quarterly Reporting#
Record Name: Code RW - Employee Wage Record #
Column | Description | Source |
---|---|---|
1-2 | Record Identifier | Constant "RW" |
3-11 | Social Security Number | Required. Enter the employee's SSN. If an invalid SSN is encountered, this field is filled with zeros. Derived from the ‘W2-EE-SSN’ (seq 2500) IDFDV Field Identifier. |
12-26 | Employee First Name | Required. Enter the employee's first name. Left justify and fill with blanks. Derived from the ‘W2-EE-FIRST-NAME’ (seq 2510) IDFDV Field Identifier. |
27-41 | Employee Middle Name or Initial | If applicable, enter the employee's middle name or initial. Left Justify and fill with blanks. Otherwise, fill with blanks. Derived from the ‘W2-EE-MIDDLE’ (seq 2520) IDFDV Field Identifier. |
42-61 | Employee Last Name | Required. Enter the employee's last name. Left justify and fill with blanks. Derived from the ‘W2-EE-LAST-NAME’ (seq 2530) IDFDV Field Identifier. |
62-65 | Employee Suffix | If applicable, enter the employee's alphabetic suffix. Left justify and fill with blanks. Otherwise, fill with blanks. Derived from the ‘W2-EE-SUFFIX’ (seq 2540) IDFDV Field Identifier. |
66-87 | Employee Location Address | Enter the employee's location address (Attention, Suite, Room Number, etc.) Left justify and fill with blanks. Derived from the ‘W2-EE-LOCN-ADDR’ (seq 2600) IDFDV Field Identifier. |
88-109 | Employee Delivery Address | Enter the employee's delivery address (Street or Post Office Box). Left justify and fill with blanks. Derived from the ‘W2-EE-DELIV-ADDR’ (seq 2610) IDFDV Field Identifier. |
110-131 | Employee City | Enter the employee's City. Left justify and fill with blanks. Derived from the ‘W2-EE-CITY’ (seq 2620) IDFDV Field Identifier. |
132-133 | Employee State Abbreviation | Enter the employee's State or commonwealth/territory. For a foreign address, fill with blanks. Derived from the ‘W2-EE-STATE’ (seq 2630) IDFDV Field Identifier. |
134-138 | Employee ZIP Code | Enter the employee's ZIP code. For a foreign address, fill with blanks. Derived from the ‘W2-EE-ZIP’ (seq 2640) IDFDV Field Identifier. |
139-142 | Employee ZIP Code Extension | Enter the employee's four-digit ZIP code extension. If not applicable, fill with blanks. Derived from the ‘W2-EE-ZIP-EXT’ (seq 2650) IDFDV Field Identifier. |
143-147 | Blank | Fill with blanks. Reserved for SSA use. |
148-170 | Employee Foreign State/Province | If applicable, enter the employee's foreign State/Province. Left justify and fill with blanks. Otherwise, fill with blanks. Derived from the ‘W2-EE-F-STATE’ (seq 2660) IDFDV Field Identifier. |
171-185 | Employee Foreign Postal Code | If applicable, enter the employee's foreign postal code. Left justify and fill with blanks. Otherwise, fill with blanks. Derived from the ‘W2-EE-F-POSTAL’ (seq 2670) IDFDV Field Identifier. |
186-187 | Employee Country Code | If one of the following applies, fill with blanks: * One of the 50 States of the U.S.A. * District of Columbia * Military Post Office (MPO) * American Samoa * Guam * Northern Mariana Islands * Puerto Rico * Virgin Islands Otherwise, enter the applicable Country Code. Derived from the ‘W2-EE-COUNTRY’ (seq 2680) IDFDV Field Identifier. |
188-198 | Wages, Tips and Other Compensation | No negative amounts. Right justify and zero fill. Derived from the ‘W2-FIT-WAGE’ (seq 3000) IDFDV Field Identifier. Does not apply to Puerto Rico, Virgin Islands, American Samoa, Guam or Northern Mariana Islands employees. |
199-209 | Federal Income Tax Withheld | No negative amounts. Right justify and zero fill. Derived from the ‘W2-FIT-TAX’ (seq 3010) IDFDV Field Identifier. Does not apply to Puerto Rico, Virgin Islands, American Samoa, Guam or Northern Mariana Islands employees. |
210-220 | Social Security Wages | Zero fill if the Employment Code reported in position 219 of the preceding RE (Employer) Record is 'Q-MGQE' or 'X-Railroad'. If Employment Code is 'H-Household' and the tax year is 1994 or later, the sum of this field and the Social Security Tips field must be equal to or greater than the annual Household minimum for the tax year being reported. Otherwise, reports zeros. The sum of this field and the Social Security Tips field should not exceed the annual maximum Social Security wage base for the tax year being reported. No negative amounts. Right justify and zero fill. Derived from the ‘W2-SSN-WAGE’ (seq 3020) IDFDV Field Identifier. |
221-231 | Social Security Tax Withheld | Zero fill if the Employment Code reported in position 219 of the preceeding RE (Employer_ Record is 'Q-MGQE' or 'X-Railroad'. If the Employement Code is not 'Q-MGQE' or 'X-Railroad' and the amount in this field is greater than zero, then the Social Security Wages field and/or the Social Security Tips field must be greater than zero. No negative amounts. Right justify and zero fill. Derived from the ‘W2-SSN-TAX’ (seq 3030) IDFDV Field Identifier. |
232-242 | Medicare Wages and Tips | Zero fill if the Employment Code reported in position 219 of the preceding RE (Employer) Record is 'X-Railroad'. If Employment Code is 'H-Household' and the tax year is 1994 or later, this field must be equal to or greater than the annual Household minimum for the tax year being reported. Otherwise, fill with zeros. No negative amounts. Right justify and zero fill. Derived from the ‘W2-MEDI-WAGE’ (seq 3040) IDFDV Field Identifier. |
243-253 | Medicare Tax Withheld | Zero fill if the Employment Code reported in position 219 of the preceding RE (Employer) Record is 'X-Railroad'. No negative amounts. Right justify and zero fill. Derived from the ‘W2-MEDI-TAX’ (seq 3050) IDFDV Field Identifier. |
254-264 | Social Security Tips | Zero fill if the Employment Code reported in position 219 of the preceding RE (Employer) Record is 'Q-MGQE' or 'X-Railroad'. The sum of this field and the Social Security Wages field should not exceed the annual maximum Social Security wage base for the tax year being reported. Otherwise, reports zeros. If Employment Code is 'H-Household' and the tax year is 1994 or later, the sum of this field and the Social Security Wages field must be equal to or greater than the annual Household minimum for the tax year being reported. Otherwise, report zeros. No negative amounts. Right justify and zero fill. Derived from the ‘W2-SSN-TIP’ (seq 3060) IDFDV Field Identifier. |
265-275 | Blank | Fill with blanks. Reserved for SSA use. |
276-286 | Dependent Care Benefits | No negative amounts. Right justify and zero fill. Derived from the ‘W2-DEP-CARE’ (seq 3090) IDFDV Field Identifier. Does not apply to Puerto Rico, Virgin Islands, American Samoa, Guam or Northern Mariana Islands employees. |
287-297 | Deferred Compensation Contributions to Section 401(k) (Code D) | No negative amounts. Right justify and zero fill. Derived from the ‘W2-CODE-D’ (seq 4030) IDFDV Field Identifier. Does not apply to Puerto Rico employees. |
298-308 | Deferred Compensation Contributions to Section 403(b) (Code E) | No negative amounts. Right justify and zero fill. Derived from the ‘W2-CODE-E’ (seq 4040) IDFDV Field Identifier. Does not apply to Puerto Rico employees. |
309-319 | Deferred Compensation Contributions to Section 408(k)(6) (Code F) | No negative amounts. Right justify and zero fill. Derived from the ‘W2-CODE-F’ (seq 4050) IDFDV Field Identifier. Does not apply to Puerto Rico employees. |
320-330 | Deferred Compensation Contributions to Section 457(b) (Code G) | No negative amounts. Right justify and zero fill. Derived from the ‘W2-CODE-G’ (seq 4060) IDFDV Field Identifier. Does not apply to Puerto Rico employees. |
331-341 | Deferred Compensation Contributions to Section 501(c)(18)(D) (Code H) | No negative amounts. Right justify and zero fill. Derived from the ‘W2-CODE-H’ (seq 4070) IDFDV Field Identifier. Does not apply to Puerto Rico employees. |
342-352 | Blank | Fill with blanks. Reserved for SSA use. |
353-363 | Nonqualified Plan Section 457 Distributions or Contributions | No negative amounts. Right justify and zero fill. Derived from the ‘W2-NQUAL-457’ (seq 3102) IDFDV Field Identifier. Does not apply to Puerto Rico employees. |
364-374 | Employer Contributions to a Health Savings Account (Code W) | No negative amounts. Right justify and zero fill. Derived from the ‘W2-CODE-W’ (seq 4190) IDFDV Field Identifier. Does not apply to Puerto Rico or Northern Mariana Islands employees. |
375-385 | Nonqualified Plan Not Section 457 Distributions or Contributions | No negative amounts. Right justify and zero fill. Derived from the ‘W2-NQUAL-N457’ (seq 3104) IDFDV Field Identifier. Does not apply to Puerto Rico employees. |
386-396 | Nontaxable Combat Pay (Code Q) | No negative amounts. Right justify and zero fill. Does not apply to Puerto Rico or Northern Mariana Islands employees. |
397-407 | Blank | Fill with blanks. Reserved for SSA use. |
408-418 | Employer Cost of Premiums for Group Term Life Insurance Over $50,000 (Code C) | No negative amounts. Right justify and zero fill. Derived from the ‘W2-CODE-C’ (seq 4020) IDFDV Field Identifier. Does not apply to Puerto Rico employees. |
419-429 | Income from the Exercise of Non-Statutory Stock Options (Code V) | No negative amounts. Right justify and zero fill. Derived from the ‘W2-CODE-V’ (seq 4180) IDFDV Field Identifier. Does not apply to Puerto Rico employees. |
430-440 | Deferrals Under a Section 409A Non-Qualified Deferred Compensation Plan (Code Y) | No negative amounts. Right justify and zero fill. Does not apply to Puerto Rico or Northern Mariana Islands employees. |
441-451 | Designated Roth Contributions to a Section 401 (k) Plan (Code AA) | No negative amounts. Right justify and zero fill. Does not apply to Puerto Rico employees. |
452-462 | Designated Roth Contributions to a Section 403 (b) Salary Reduction Agreement (Code BB) | No negative amounts. Right justify and zero fill. Does not apply to Puerto Rico employees. |
463-473 | Cost of Employer-Sponsored Health Coverage (Code DD) | No negative amounts. Right justify and zero fill. Does not apply to Puerto Rico or Northern Mariana Islands employees. |
474-484 | Permitted Benefits Under a Qualified Small Employer Health Reimbursement Arrangement (Code FF) | No negative amounts. Right justify and zero fill. |
485 | Blank | Fill with blanks. Reserved for SSA use. |
486 | Statutory Employee Indicator | Enter "1" for statutory employee. Otherwise, enter "0" (zero). Derived from the ‘W2-STAT-EE’ (seq 6000) IDFDV Field Identifier. |
487 | Blank | Fill with blanks. Reserved for SSA use. |
488 | Retirement Plan Indicator | Enter "1" for a retirement plan. Otherwise, enter "0" (zero). Derived from the ‘W2-RETIRE-PLAN’ (seq 6020) IDFDV Field Identifier. |
489 | Third-Party Sick Pay Indicator | Enter "1" for a sick pay indicator. Otherwise, enter "0" (zero). Derived from the ‘W2-3PARTY-SICK’ (seq 6060) IDFDV Field Identifier. |
490-512 | Blank | Fill with blanks. Reserved for SSA use. |
Record Name: Code RO - Employee Wage Record (Same as the Federal Code RO)#
State Media Magnetic Media Reporting - SSA EFW2 File Format for Annual and Quarterly Reporting#
Record Name: Code RO - Employee Wage Record #
Column | Description | Source |
---|---|---|
1-2 | Record Identifier | Constant ‘RO’ |
3-11 | Blank | Fill with blanks. Reserved for SSA use. |
12-22 | Allocated Tips | No negative amounts. Right justify and zero fill. Derived from IDFDV Field Identifier: ‘W2-ALLOC-TIP’ (seq 3070) |
23-33 | Uncollected Employee Tax on Tips (Codes A and B) | Combine the uncollected Social Security tax and the uncollected Medicare tax. No negative amounts. Right justify and zero fill. Derived from IDFDV Field Identifier: ‘W2-CODE-A’ + Field Identifier: ‘W2-CODE-B’ (seq 4010) |
34-44 | Medical Savings Account (Code R) | No negative amounts. Right justify and zero fill. Derived from IDFDV Field Identifier: ‘W2-CODE-R’ (seq 4150). Does not apply to Puerto Rico or Northern Mariana Islands employees. |
45-55 | Simple Retirement Account (Code S) | No negative amounts. Right justify and zero fill. Derived from IDFDV Field Identifier: ‘W2-CODE-S’ (seq 4160). Does not apply to Puerto Rico employees. |
56-66 | Qualified Adoption Expenses (Code T) | No negative amounts. Right justify and zero fill. Derived from IDFDV Field Identifier: ‘W2-CODE-T’ (seq 4170). Does not apply to Puerto Rico or Northern Mariana Islands employees. |
67-77 | Uncollected Social Security or RRTA Tax on Cost of Group Term Life Insurance over $50,000 (Code M) | No negative amounts. Right justify and zero fill. Derived from IDFDV Field Identifier: ‘W2-CODE-M’ (seq 4110). Does not apply to Puerto Rico employees. |
78-88 | Uncollected Medicare Tax on Cost of Group Term Life Insurance over $50,000 (Code N) | No negative amounts. Right justify and zero fill. Derived from IDFDV Field Identifier: ‘W2-CODE-N’ (seq 4120). Does not apply to Puerto Rico employees. |
89-99 | Income Under a Nonqualified Deferred Compensation Plan That Fails to Satisfy Section 409A (Code Z) | No negative amounts. Right justify and zero fill. Does not apply to Puerto Rico or Northern Mariana Islands employees. |
100-110 | Blank | Fill with blanks. Reserved for SSA use. |
111-121 | Designated Roth Contributions Under a Governmental Section 457(b) Plan )(Code EE) | No negative amounts. Right justify and zero fill. Does not apply to Puerto Rico or Northern Mariana Islands employees. |
122-132 | Income from Qualified Grants Under Section 83(i) (Code GG) | No negative amounts. Right justify and zero fill. |
133-143 | Aggregate Deferrals Under Section 83(i) Elections as of the Close of the Calendar Year (Code HH) | No negative amounts. Right justify and zero fill. |
144-274 | Blank | Fill with blanks. Reserved for SSA use. |
275-285 | Wages Subject to Puerto Rico Tax | No negative amounts. Right justify and zero fill. For Puerto Rico employees only. |
286-296 | Commissions Subject to Puerto Rico Tax | No negative amounts. Right justify and zero fill. For Puerto Rico employees only. |
297-307 | Allowances Subject to Puerto Rico Tax | No negative amounts. Right justify and zero fill. For Puerto Rico employees only. |
308-318 | Tips Subject to Puerto Rico Tax | SNo negative amounts. Right justify and zero fill. For Puerto Rico employees only. |
319-329 | Total Wages, Commissions, Tips, and Allowances Subject to Puerto Rico Tax | No negative amounts. Right justify and zero fill. For Puerto Rico employees only. |
330-340 | Puerto Rico Tax Withheld | No negative amounts. Right justify and zero fill. For Puerto Rico employees only. |
341-351 | Retirement Fund Annual Contributions | No negative amounts. Right justify and zero fill. For Puerto Rico employees only. |
352-362 | Blank | Fill with blanks. Reserved for SSA use. |
363-373 | Total Wages, Tips and Other Compensation Subject to Virgin Islands, Guam, American Samoa or Northern Mariana Islands Income Tax | No negative amounts. Right justify and zero fill. For Virgin Islands, American Samoa, Guam, or Northern Mariana Islands employees only. |
374-384 | Virgin Islands, American Samoa, Guam, or Northern Mariana Islands Income Tax Withheld | No negative amounts. Right justify and zero fill. For Virgin Islands, American Samoa, Guam, or Northern Mariana Islands employees only. |
385-512 | Blank | Fill with blanks. Reserved for SSA use. |
Record Name: Code RS - State Wage Record (Specific to the State of Massachusetts)#
Column | Description | Source |
---|---|---|
1-2 | Record Identifier | Constant "RS" |
3-4 | State Code | Enter the appropriate FIPS postal numeric code. Massachusetts numeric code is "25" Derived from the State being reported, from IDFDV sequence 7000 |
5-9 MA | Blank | Fill with blanks |
10-18 | Social Security Number | Enter the employee's SSN. If an invalid SSN is encountered, this field is filled with zeroes Omit hyphens Derived from the ‘W2-EE-SSN’ IDFDV Field Identifier. |
19-33 | Employee First Name | Enter the employee's first name. Left justify and fill with blanks. Derived from IDFDV W2-EE-FIRST-NAME Field Identifier |
34-48 | Employee Middle Name or Initial | Enter the employee's middle name or initial, if applicable. Left justify and fill with blanks. Derived from IDFDV Field Identifier: ‘W2-EE-MIDDLE’ |
49-68 | Employee Last Name | Enter the employee's last name. Left justify and fill with blanks. Derived from IDFDV Field Identifier: ‘W2-EE-LAST-NAME’ |
69-72 | Employee Suffix | Enter the employee's alphabetical suffix, if applicable. Left justify and fill with blanks. Derived from IDFDV Field Identifier: ‘W2-EE-SUFFIX’ |
73-94 | Employee Location Address | Enter the employee's location address. Include suite, room number, etc. Left justify and fill with blanks. Derived from IDFDV Field Identifier: ‘W2-EE-LOCN-ADDR’ |
95-116 | Employee Delivery Address | Enter the employee's delivery address. Left justify and fill with blanks. Derived from IDFDV Field Identifier: ‘W2-EE-DELIV-ADDR’ |
117-138 | Employee City | Enter the employee's city. Left justify and fill with blanks. Derived from IDFDV Field Identifier: ‘W2-EE-CITY’ |
139-140 | Employee State Abbreviation | Enter the employee's State postal abbreviation. Left justify and fill with blanks. For a foreign address, fill with blanks. Derived from IDFDV Field Identifier: ‘W2-EE-STATE’ |
141-145 | Employee ZIP Code | Enter the employee's zip code. For a foreign address, fill with blanks. Derived from IDFDV Field Identifier: ‘W2-EE-ZIP’ |
146-149 | Employee ZIP Code Extension | Enter the employee's four-digit zip code extension. If not applicable, fill with blanks. Derived from IDFDV Field Identifier: ‘W2-EE-ZIP-EXT’ |
150-273 MA | Blank | Fill with blanks |
274-275 | State code | Enter the appropriate FIPS postal numeric code. Massachusetts numeric code is "25". Derived from the State being reported. |
276-286 | State Taxable Wages | Enter the total State taxable wages Derived from IDFDV Field Identifier: ‘W2-ST-WAGE-HOME’(7020) and ‘W2-ST-WAGE-WORK’ (7030) |
287-297 | State Income Tax Withheld | Enter the total State income tax withheld Derived from IDFDV Field Identifier: ‘W2-ST-TAX-HOME’ (7040) and ‘W2-ST-TAX-WORK’ (7050) |
298-337 MA | Blank | Fill with blanks |
338-370 MA | Blank | Fill with blanks |
371-381 MA | MAPFML Employee Contribution for Paid Family and Medical Leave | Enter the employee's total contribution for PFML Right justifY and zero fill. |
382-512 MA | Blank | Fill with blanks |
- Multiple Code RS records
- Multiple code RS records are generated for an employee if there are applicable county, city or school district tax information to be reported for a state. In this case, the state wages and tax will be zero for the subsequent code RS records.
Record Name: Code RT - Total Record (Specific to the State of Massachusetts)#
Column | Description | Source |
---|---|---|
1-2 | Record Identifier | Constant "RT" |
3-9 | Number of RS Records | Total number of code "RS" records reported since last code "RE" record. Right justify and zero fill |
10-24 MA | Total State Taxable Wages | Enter the total State taxable wages Derived from the total for all employee records Code RS reported on Code RE records. Right justify and zero fill |
25-39 MA | Total State Income Tax Withheld | Enter the total State income tax withheld Derived from the total for all employee records Code RS reported since the last RE record. Right justify and zero fill |
40-512 MA | Blank |
Record Name: Code RU - Total Record (Same as the Federal Code RU)#
State Media Magnetic Media Reporting - SSA EFW2 File Format for Annual and Quarterly Reporting#
Record Name: Code RU - Total Record #
Column | Description | Source |
---|---|---|
1-2 | Record Identifier | Constant "RU" |
3-9 | Number of RO Records | Total number of "RO" records reported since last "RE" record. Right justify and zero fill. |
10-24 | Allocated Tips | Total of all "RO" records since last "RE" record. Right justify and zero fill. Does not apply to Puerto Rico, Virgin Islands, American Samoa, Guam or Northern Maraina Islands employees. Derived from IDFDV Field Identifier: ‘W2-ALLOC-TIP’ |
25-39 | Uncollected Employee Tax on Tips (Code A and B) | Total of all "RO" records since last "RE" record. Right justify and zero fill. Derived from IDFDV Field Identifier: ‘W2-CODE-A’ and ‘W2-CODE-B’ |
40-54 | Medical Savings Account (Code R) | Total of all "RO" records since last "RE" record. Right justify and zero fill. Does not apply to Puerto Rico or Northern Maraina Islands employees. Derived from IDFDV Field Identifier: ‘W2-CODE-R’ |
55-69 | Simple Retirement Account (Code S) | Total of all "RO" records since last "RE" record. Right justify and zero fill. Does not apply to Puerto Rico employees. Derived from IDFDV Field Identifier: ‘W2-CODE-S’ |
70-84 | Qualified Adoption Expenses (Code T) | Total of all "RO" records since last "RE" record. Right justify and zero fill. Does not apply to Puerto Rico or Northern Maraina Islands employees. Derived from IDFDV Field Identifier: ‘W2-CODE-T’ |
85-99 | Uncollected SSA tax or RRTA Tax on Cost of Group Term Life Insurance over $50,000 (Code M) | Total of all "RO" records since last "RE" record. Right justify and zero fill. Does not apply to Puerto Rico employees. Derived from IDFDV Field Identifier: ‘W2-CODE-M’ |
100-114 | Uncollected Medicare Tax on Cost of Group Term Life Insurance over $50,000 (Code N) | Total of all "RO" records since last "RE" record. Right justify and zero fill. Does not apply to Puerto Rico employees. Derived from IDFDV Field Identifier: ‘W2-CODE-N’ |
115-129 | Income Under a Nonqualified Deferred Compensation Plan That Fails to Satisfy Section 409A (Code Z) | Total of all "RO" records since last "RE" record. Right justify and zero fill. Does not apply to Puerto Rico or Northern Maraina Islands employees. |
130-144 | Blank | Fill with blanks. Reserved for SSA use. |
145-159 | Designated Roth Contributions Under a Governmental Section 457(b) Plan (Code EE) | Total of all "RO" records since last "RE" record. Right justify and zero fill. Does not apply to Puerto Rico or Northern Maraina Islands employees. |
160-174 | Income from Qualified Equity Grants Under Section 83(i) (Code GG) | Total of all "RO" records since last "RE" record. Right justify and zero fill. |
175-189 | Aggregate Deferrals Under Section 83(i) Elections as of the Close of the Calendar Year (Code HH) | Total of all "RO" records since last "RE" record. Right justify and zero fill. |
190-354 | Blank | Fill with blanks. Reserved for SSA use. |
355-369 | Wages Subject to Puerto Rico Tax | Total of all "RO" records since last "RE" record. Right justify and zero fill. For Puerto Rico employees only. |
370-384 | Commissions Subject to Puerto Rico Tax | Total of all "RO" records since last "RE" record. Right justify and zero fill. For Puerto Rico employees only. |
385-399 | Allowances Subject to Puerto Rico Tax | Total of all "RO" records since last "RE" record. Right justify and zero fill. For Puerto Rico employees only. |
400-414 | Tips Subject to Puerto Rico Tax | Total of all "RO" records since last "RE" record. Right justify and zero fill. For Puerto Rico employees only. |
415-429 | Total Wages, Commissions, Tips and Allowances Subject to Puerto Rico Tax | Total of all "RO" records since last "RE" record. Right justify and zero fill. For Puerto Rico employees only. |
430-444 | Puerto Rico Tax Withheld | Total of all "RO" records since last "RE" record. Right justify and zero fill. For Puerto Rico employees only. |
445-459 | Retirement Fund Annual Contributions | Total of all "RO" records since last "RE" record. Right justify and zero fill. For Puerto Rico employees only. |
460-474 | Total Wages, Tips and Other Compensation Subject to Virgin Islands, Guam, American Samoa or Northern Mariana Islands Income Tax | Total of all "RO" records since last "RE" record. Right justify and zero fill. For Virgin Islands, Guam, American Samoa or Northern Mariana Islands employees only. |
475-489 | Virgin Islands, Guam, American Samoa, or Northern Mariana Islands Income Tax Withheld | Total of all "RO" records since last "RE" record. Right justify and zero fill. For Virgin Islands, Guam, American Samoa or Northern Mariana Islands employees only. |
490-512 | Blank | Fill with blanks. Reserved for SSA use. |
Record Name: Code RV - Total Record (Same as the Federal Code RV)#
State Media Magnetic Media Reporting - SSA EFW2 File Format for Annual and Quarterly Reporting#
Record Name: Code RV - State Total Record#
Column | Description | Source |
---|---|---|
1-2 | Record Indentifier | Constant "RV" |
3-512 | Supplemental Data | To be Defined by user |
Record Name: Code RU - Total Record (Same as the Federal Code RF)#
State Media Magnetic Media Reporting - SSA EFW2 File Format for Annual and Quarterly Reporting#
Record Name: Code RF - Final Record#
Column | Description | Source |
---|---|---|
1-2 | Record Indentifier | Constant "RF" |
3-7 | Blank | Fill with blanks. Reserved for SSA use |
8-16 | Number of RW Records | Total number of RW (Employee) Records reported on the entire file. Right justify and zero fill |
17-512 | Blank | Fill with blanks. Reserved for SSA use |
Quarterly UI Wage Magnetic Media Reporting - ICESA Format#
The State of Massachusetts only reads the ‘S’ record for UI Wage Reporting.RPYEU must be run with the following parameters and filters defined to generate the Massachusetts State file information:
RPYEU Report Parameters
Quarterly Form Code | Mandatory. Quarterly Form Code HL$US-W2-20YY, defined on the IDFDV form. Must be entered in order to produce the UI wage file in ICESA format. NOTE: Always use the current year form code. DO NOT use a prior year form code as the Identifiers may be obsolete. |
Period Type | Mandatory. Defines the period type. Enter "Quarter" for quarterly reporting. |
Period End Date | Mandatory. Defines the end date of the reporting period. |
Media Format | Mandatory. Enter State SUI File Format. Defines the Federal file format for SSA reporting (includes 'RW' and 'RS' records). |
Directory Name | Mandatory. Defines the name of the government Magnetic Media file. Must be defined or an output file will not be produced |
Media File Name | Mandatory. Defines the media file name of the data being uploaded. Must be defined or an output file will not be produced |
RPYEU Report Filters
Select State: Massachusetts, USA |
Quarterly UI Wage Reporting – ICESA Format#
NOTE: The following ‘Not Required’ fields may or may not always contain blanks.Columns marked with MA indicates it is a Massachusetts specific requirement which is not the standard record format.
Record Name: Code S – Employee Wage Record #
Column | Description | Source |
---|---|---|
1-1 | Record Identifier | Constant ‘S’ |
2-10 | Social Security Number | Enter the employee's SSN. If an invalid SSN is encountered, this field is filled with zeroes Omit hyphens Derived from the ‘W2-EE-SSN’ IDFDV Field Identifier. |
11-30 MA | Employee Last Name | Enter the employee's last name Derived from IDFDV Field Identifier: ‘W2-EE-LAST-NAME’ |
31-42 MA | Employee First Name | Enter the employee's first name Derived from IDFDV Field Identifier: ‘W2-EE-FIRST-NAME’ |
43-43 MA | Employee Initial | Enter the employee's middle initial, if applicable. Leave blank if no middle initial Derived from IDFDV Field Identifier: ‘W2-EE-MIDDLE’ |
44-45 MA | State Code | Not Required by the State of Massachusetts. Fill with blanks |
46-46 MA | Adjustment Code | Enter the adjustment reason code. Valid codes are 1, 2, 3, 4, 5, 6, 7 or 8. |
47-49 MA | Blank | Fill with blanks |
50-63 MA | State Quarterly Total Gross Wages | Enter the total State quarterly gross wages No commas or decimals. Right justify and zero fill |
64-131 MA | Blank | Not required by the State of Massachusetts. Fill with blanks |
132-134 MA | Hours Worked | Enter the total hours worked during the reporting period. Decimals are not allowed Right justify and zero fill |
135-142 MA | Blank | Not required by the State of Massachusetts. Fill with blanks |
143-146 MA | Blank | Not required by the State of Massachusetts. Fill with blanks |
147-154 MA | State Unemployment Insurance Employer Account Number | Enter the employer's State UI account number |
155-161 MA | Blank | Not required by the State of Massachusetts. Fill with blanks |
162-165 MA | Unit/Division Location (plant code) | Enter the location code (reporting unit) where work is performed. Right justify and zero fill |
166-176 MA | Blank | Not required by the State of Massachusetts. Fill with blanks |
177-190 MA | Total State Taxable Wages | Enter the total State taxable wages No commas or decimals. Right justify and zero fill |
191-204 MA | State Income Tax Withheld | Enter the total State income tax withheld No commas or decimals. Right justify and zero fill |
205-209 MA | Various | Not required by the State of Massachusetts. Fill with blanks |
210-210 MA | Officer Code | Defines if the employee is an owner or officer of the organization. Enter '1' if Yes, otherwise enter '0' Default value is ‘0’ |
211-211 MA | Wage Plan Code | Not required by the State of Massachusetts. Fill with blanks |
212-212 MA | Employment Indicator - Month 1 | Enter ‘1’ if the employee covered by UI, worked or received pay for the pay period including the 12th day of the first reporting month Total of all ‘S’ records since the last ‘E’ record |
213-213 MA | Employment Indicator - Month 2 | Enter ‘1’ if the employee covered by UI, worked or received pay for the pay period including the 12th day of the second reporting month Total of all ‘S’ records since the last ‘E’ record |
214-214 MA | Employment Indicator - Month 3 | Enter ‘1’ if the employee covered by UI, worked or received pay for the pay period including the 12th day of the third reporting month Total of all ‘S’ records since the last ‘E’ record |
215-220 MA | Reporting Quarter and Year | Enter the last month of the quarter number and the year that is being reported, in QQYYYY Example: 0320YY for January-March 20YY |
221-232 MA | Blank | Not required by the State of Massachusetts. Fill with blanks |
233-275 MA | Blank | Not required by the State of Massachusetts. Fill with blanks |