Begin Main Content Area

File Import

PA W-2 Wage Records (EFW2)

myPATH - Pennsylvania Tax Hub

The file you upload must be in text (EFW2) format that follows SSA Publication No. 42-007 and contains the data elements specified for each record type below. Any data columns listed in the SSA Publication not listed in our specifications are ignored by Pennsylvania.

RA Record Specifications

Column Starting Position Ending Position Max Length Data Format Required
Record Identifier122Must be "RA".
Yes
Submitter Entity ID311
99-digit Entity ID number for submitter's business. Usually a Federal Employer Identification Number (FEIN) or Social Security Number (SSN), containing no dashes or spaces.Yes

RE Record Specifications

Column Starting Position Ending Position Max Length Data Format Required
Record Identifier122Must be "RE".Yes
Tax Year3644-digit value of the year reported.Yes
Agent Indicator Code77
1If applicable, enter one of the following codes:
1 = 2678 Agent
2 = Common Paymaster
3 = 3504 Agent
Otherwise, fill with blanks.
 
Employer Entity ID81699-digit Entity ID number for business being filed. Usually a Federal Employer Identification Number (FEIN) or Social Security Number (SSN), containing no dashes or spaces.Yes
Agent Entity ID17259
If you entered a "1" in the Agent Indicator Code field, enter the client-employer's Entity ID for which you are an Agent. 
Employer Name409657Name of the business for which taxes are being filed.Yes
Location Address9711822Employer Location Address
Delivery Address11914022Employer Delivery AddressYes
City14116222City, Town, etc. APO, FPO, DPO for U.S. Military Address.Yes
State Abbreviation1631642 U.S. States use 2 character abbreviation code.Yes
Zip Code165
1739 U.S. addresses use max 9-digit Zip Code. Required if the Country Code entered is "US".Yes

RS Record Specifications

Column Starting Position Ending Position Max Length Data Format Required
Record Identifier122Must be "RS".Yes
State Code342State Code "42" for PA.Yes
Employee SSN101899-digit number for employee Social Security Number (SSN). Enter it as "000000000" if the ITIN is entered.Yes
Employee First Name193315Employee First Name
Employee Middle Name/Initial344815Employee Middle Name/Initial
Employee Last Name49
6820Employee Last NameYes
Suffix69724Employee Name Suffix
Location Address739422Employee Location Address or Delivery Address is requiredYes
Delivery Address9511622Employee Location Address or Delivery Address is requiredYes
City11713822City, Town, etc. APO, FPO, DPO for U.S. Military Address.Yes
State Abbreviation1391402 U.S. States use 2 character abbreviation code. Required if the Contry Code entered is "US".Yes
Zip Code1411499 U.S. addresses use max 9-digit Zip Code. Required if the Country Code entered is "US".Yes
Foreign State/Province15517723 Canadian Providences use 2 character abbreviation, Mexico Federal Districts use 3 character abbreviation, U.K. County use county name etc., U.S. Military Addresses use AE, AP, or AA, 30 characters max. Required if the Country Code entered is other than "US".
Foreign Postal Code178192
15 Canadian/Mexico Postal Code, U.K. Postal Code, etc., use max 15 characters. Required if the Country Code entered is other than "US".
Country Code1931942
2 character country code as specified in EFW2 Publication 42-007.
Account Number
248255
8The 8-digit Withholding ID containing no dashes or spaces.
Yes
State Taxable Wages27628611Numeric only including 2 decimal places. Do not report negative figures.Yes
State Income Tax Withheld28729711Numeric only including 2 decimal places. Do not report negative figures.Yes
Employee ITIN3383469Employee Individual Tax Identification Number (ITIN). Enter Employee SSN as "000000000" if the Employee ITIN is entered.

RV Record Specifications

Column Starting Position Ending Position Max Length Data Format Required
Record Identifier122Must be "RV".Yes
State Code342State Code "42" for PA.Yes
Tax Year5844-digit value of year reported.Yes
Account Number
9168
The 8-digit Withholding ID containing no dashes or spaces. Must match with the Account Number in first RS Record.
Yes
Employer Entity ID172599-digit Entity ID number for submitter's business. Usually a Federal Employer Identification Number (FEIN) or Social Security Number (SSN), containing no dashes or spaces. Must match with Employer Entity ID in RE record.Yes
Total Records Count26327Total count of all RS records. Numeric only without decimals.Yes
Total PA Taxable Wages334715Total of "State Taxable Wages" from RS records. Numeric only including 2 decimal places. Do not include decimal "." character.Yes
Total PA Tax Withheld486215Total of "State Income Tax Withheld" from RS records. Numeric only including 2 decimal places. Do not include decimal "." character.Yes

RF Record Specifications

Column Starting Position Ending Position Max Length Data Format Required
Record Identifier122Must be "RF".Yes