Skip to main content
Version: 2.0

Get

Get

Use this endpoint to retrieve a W-2 submission and its records. Provide the SubmissionId to retrieve the whole submission, optionally narrowing to specific RecordIds.

POST formw2/get 

Request Params

FieldTypeDescription
SubmissionIdGuidAn unique identifier generated by TaxBandits when a W-2 return is created. Mention the Form W-2 return's Submission ID that you want to get.
RecordIdGuid[]An unique identifier generated by TaxBandits when a W-2 return is created. Mention the Form W-2 return's Record ID that you want to get.

Response Body

FieldTypeDescription
Form1099W2Recordsobject[]Contains information about Form W2 returns.
SubmissionManifestobject[]SubmissionManifest provides brief information about a particular submission on the whole.

It contains information like

  • Submission ID
  • Tax Year
  • IsScheduleFiling & ScheduleFiling service details
TaxYearstringTax year of Form W-2 to be filed.
Allowed values

"2025", "2026"

IsScheduleFilingBooleanWhen true, schedule filing services will be enabled for Form W-2 returns under this submission.
ScheduleFilingobject[]Optional Contains the preferred date to submit the returns to the IRS.
Required only when "IsScheduleFiling" is True.
EfileDatestringDate of Schedule Filing. Enter the date in the format: MM/DD/YYYY or MM-DD-YYYY.
Example: 01/25/2026 or 01-25-2026
ReturnHeaderobjectContains information about the Business details.
BusinessobjectObject to identify the Business Details.
BusinessIdGuidOptional Use the unique Business ID (Generated by TaxBandits) that you received in the response of the Business CREATE Endpoint. If you do not have a Business ID, ignore the field. By giving the Business ID, you do not have to provide all the business information again.
PayerRefstringOptional Your unique identifier for the payer. Can replace BusinessId in future requests.
Size Range: 50
IsDefaultBusinessBooleanWhen set to TRUE, this business will be set as the default across requests that do not specify a business.
TINDetailsobjectTIN information for the business.
FormatstringSpecifies how the TIN is passed.
Allowed values

"PLAIN_TIN" — Pass TIN directly.

TINTypestringSpecify the TIN type of the business.
Allowed values

"EIN", "SSN", "QI-EIN", "ITIN", "WP-EIN", "WT-EIN", "NQI-EIN", "IRSN"

TINstringThe TIN value according to the Format selected.
IndividualNmobjectRequired when TINType is SSN. Provide individual name fields instead of BusinessNm.
FirstNmstringThe first name of the individual.
Size Range: 20
MiddleNmstringOptional Middle name of the individual.
Size Range: 20
LastNmstringThe last name of the individual.
Size Range: 20
SuffixstringOptional Suffix of the individual's name.
Allowed values

"Jr", "Sr", "I", "II", "III", "IV", "V", "VI", "VII"

BusinessNmstringLegal name of the business. Required when TINType is EIN.
Size Range: 75
NameCtrlstringName control of the business as registered with the IRS.
Size Range: 3..4
DBADetailsobject[]Optional DBA (Doing Business As) information.
DBANmstringName of the DBA.
Size Range: 75
DBARefstringUnique identifier for the DBA.
Size Range: 1-50
DBAIdGuidTaxBandits-generated DBA identifier.
Addressobject[]Address information of the DBA.
Address1stringStreet address or PO Box.
Size Range: 46
Address2stringOptional Suite or apartment number.
Size Range: 46
CitystringDBA's city.
Size Range: 50
ProvinceOrStatestringDBA's province or state name.
Allowed values
When the country code is US:
Allowed values

"AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV", "WI", "WY", "AS", "FM", "GU", "MH", "MP", "PW", "PR", "VI", "AA", "AE", "AP"

When the country code is CA:
Allowed values

"AB", "BC", "MB", "NB", "NL", "NT", "NS", "NU", "ON", "PE", "QC", "SK", "YT"

Note: The size range is set to 50 for all countries except the United States and Canada.
ZipcdstringDBA's ZIP code.
Size Range: 5-16
CountrystringDBA's 2-character country code.
Allowed values

"US","AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "OD", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"

EmailstringOptional Email address of the Business.
Size Range: ..100
AddressobjectPrimary address of the business.
Address1stringStreet address or PO Box of the business.
Size Range: 46
Address2stringOptional Suite or apartment number of the business.
Size Range: 46
CitystringCity of the business.
Size Range: 50
ProvinceOrStatestringProvince or state name of the business.
Allowed values
When the country code is US:
Allowed values

"AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV", "WI", "WY", "AS", "FM", "GU", "MH", "MP", "PW", "PR", "VI", "AA", "AE", "AP"

When the country code is CA:
Allowed values

"AB", "BC", "MB", "NB", "NL", "NT", "NS", "NU", "ON", "PE", "QC", "SK", "YT"

Note: The size range is set to 50 for all countries except the United States and Canada.
ZipCdstringZIP code of the business.
Size Range: 5-16
Countrystring2-character country code of the business.
Allowed values

"US","AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "OD", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"

ContactDetailsobject[]Details of the person the IRS can contact regarding the given business.
FirstNmstringFirst name of the contact person.
Size Range: 20
MiddleNmstringOptional Middle name of the contact person.
Size Range: 20
LastNmstringLast name of the contact person.
Size Range: 20
SuffixstringOptional The suffix of the contact person.
Allowed values

"Jr", "Sr", "I", "II", "III", "IV", "V", "VI", "VII"

PhonestringOptional Phone number of the contact person.
Size Range: 10 digits
PhoneExtnstringOptional Phone extension number.
Size Range: 5
EmailstringOptional Email address of the contact person.
Size Range: ..100
FaxstringOptional Fax number of the contact person.
Size Range: 10 digits
ReturnDataobject[]Contains information about the recipient details and Form W-2 details.
SequenceIdstringA unique reference ID for the submission that can be used to identify a particular record. The Sequence ID will be returned in the Response for your reference.
Size Range: 50
ReturnManifestobject[]Filing options for this record.
IsFederalBooleanFederal Filing for the return will be enabled when the value is True. Form W-2 will be sent directly to the IRS.
IsStateBooleanState Filing for the return will be enabled when the value is True. Form W-2 will be directly filed with the respective recipient states.
Note: State Filing will not be created for the states that do not require State filing.
IsDistributionBooleanWhen TRUE, recipient distribution is enabled (postal mail / online access/email).
DistributionDetailsobject[]Distribution configuration. Required when IsDistribution is TRUE.
DistributionTypestringRecipient copy distribution type.
Allowed values

"POSTAL_ONLY", "ONLINE_ACCESS", "POSTAL_AND_ONLINE"

PostalTypestringPostal service type.
Allowed values

"USPS_FIRST_CLASS"

EmployeeobjectInformation about the Employee (Employee of the W-2).Required: Yes
EmployeeIdGuidUnique EmployeeId generated by TaxBandits when the Employee was first created. If supplied, takes precedence over other identifiers.Required: Optional
Size Range: 36
PayeeRefstringOptional Your unique identifier for the employee. Can replace EmployeeId in future requests.
Size Range: 50
TINDetailsobjectRecipient TIN information.
FormatstringSpecifies how the TIN is passed.
Allowed values

"PLAIN_TIN" — Pass TIN directly.

TINTypestringSpecify the TIN type of the recipient.
Allowed values

"EIN", "SSN", "QI-EIN", "ITIN", "WP-EIN", "WT-EIN", "NQI-EIN", "IRSN"

TINstringThe TIN value, formatted according to the Format field selected.
IndividualNmobjectRequired when TINType is SSN, ITIN, or ATIN. Provide individual name fields instead of BusinessNm.
FirstNmstringThe first name of the individual.
Size Range: 20
MiddleNmstringOptional The middle name of the individual.
Size Range: 20
LastNmstringThe last name of the individual.
Size Range: 20
SuffixstringOptional The suffix of the individual's name.
Allowed values

"Jr", "Sr", "I", "II", "III", "IV", "V", "VI", "VII"

BusinessNmstringLegal name of the recipient business. Required when TINType is EIN.
Size Range: 75
NameCtrlstringName control of the business as registered with the IRS.
Size Range: 3..4
DBADetailsobjectOptional DBA (Doing Business As) information.
DBAIdGuidTaxBandits-generated DBA identifier. Returned in the response.
DBANmstringName of the DBA.
Size Range: 75
DBARefstringYour unique identifier for this DBA.
Size Range: 1–50
AddressobjectAddress information of the DBA.
Address1stringStreet address or PO Box.
Size Range: 46
Address2stringOptional Suite or apartment number.
Size Range: 46
CitystringDBA's city.
Size Range: 50
ProvinceOrStatestringDBA's province or state name.
Allowed values
When the country code is US:
Allowed values

"AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV", "WI", "WY", "AS", "FM", "GU", "MH", "MP", "PW", "PR", "VI", "AA", "AE", "AP"

When the country code is CA:
Allowed values

"AB", "BC", "MB", "NB", "NL", "NT", "NS", "NU", "ON", "PE", "QC", "SK", "YT"

Note: The size range is set to 50 for all countries except the United States and Canada.
ZipCdstringDBA's ZIP code.
Size Range: 5–16
CountrystringDBA's 2-character country code.
Allowed values

"US","AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "OD", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"

DOBstringOptional Date of Birth of the recipient.
Format: MM/DD/YYYY
AddressobjectPrimary address of the recipient.
Address1stringStreet address or PO Box of the recipient.
Size Range: 46
Address2stringOptional Suite or apartment number of the recipient.
Size Range: 46
CitystringCity of the recipient.
Size Range: 50
ProvinceOrStatestringProvince or state name of the recipient.
Allowed values
When the country code is US:
Allowed values

"AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV", "WI", "WY", "AS", "FM", "GU", "MH", "MP", "PW", "PR", "VI", "AA", "AE", "AP"

When the country code is CA:
Allowed values

"AB", "BC", "MB", "NB", "NL", "NT", "NS", "NU", "ON", "PE", "QC", "SK", "YT"

Note: The size range is set to 50 for all countries except the United States and Canada.
ZipCdstringZIP code of the recipient.
Size Range: 5 – 16
Countrystring2-character country code of the recipient.
Allowed values

"US","AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "OD", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"

EmailstringEmail address of the recipient.
Size Range: 100
Note: Required if DistributionType is ONLINE_ACCESS.
FaxstringOptional Fax number of the recipient.
Size Range: 10
PhonestringOptional Phone number of the recipient.
Size Range: 10
W2FormDataobjectForm W-2 line-item data for this Employee.
Required: Yes
WagesnumberBox 1 — Wages, Tips, Other Compensation.
Required: Yes
Size Range: 0 – 999999999.99
Format: Decimal (up to 2 dp)
FedTaxWHnumberBox 2 — Federal Income Tax Withheld.
Required: Optional
Size Range: 0 – 999999999.99
SocSecWagesnumberBox 3 — Social Security Wages.
Required: Optional
Size Range: 0 – 999999999.99
SocSecTaxWHnumberBox 4 — Social Security Tax Withheld.
Required: Optional
Size Range: 0 – 999999999.99
MediWagesnumberBox 5 — Medicare Wages and Tips.
Required: Optional
Size Range: 0 – 999999999.99
MediTaxWHnumberBox 6 — Medicare Tax Withheld.
Required: Optional
Size Range: 0 – 999999999.99
SocSecTipsnumberBox 7 — Social Security Tips.
Required: Optional
Size Range: 0 – 999999999.99
AllocatedTipsnumberBox 8 — Allocated Tips.
Required: Optional
Size Range: 0 – 999999999.99
DependtCareBenefitsnumberBox 10 — Dependent Care Benefits.
Required: Optional
Size Range: 0 – 999999999.99
Sec457PlannumberBox 11 — Nonqualified Plans, Section 457 portion.
Required: Optional
Size Range: 0 – 999999999.99
NonSec457PlannumberBox 11 — Nonqualified Plans, Non-Section 457 portion.
Required: Optional
Size Range: 0 – 999999999.99
CompCode1stringBox 12 — Code #1 (e.g., A, B, C, D, DD, TT, TP, TA, …).
Required: Optional
Size Range: 1–2
Note: Codes TT, TP and TA were introduced for TY 2026 to support OBBBA tip / overtime reporting.
CompAmt1numberBox 12 — Amount for Code #1.
Required: Conditional
Size Range: 0 – 999999999.99
CompCode2stringBox 12 — Code #2.
Required: Optional
Size Range: 1–2
CompAmt2numberBox 12 — Amount for Code #2.
Required: Conditional
Size Range: 0 – 999999999.99
CompCode3stringBox 12 — Code #3.
Required: Optional
Size Range: 1–2
CompAmt3numberBox 12 — Amount for Code #3.
Required: Conditional
Size Range: 0 – 999999999.99
CompCode4stringBox 12 — Code #4.
Required: Optional
Size Range: 1–2
CompAmt4numberBox 12 — Amount for Code #4.
Required: Conditional
Size Range: 0 – 999999999.99
IsStatEmpbooleanBox 13 — Statutory Employee indicator.
Required: Optional
Allowed values

true, false

IsRetPlanbooleanBox 13 — Retirement Plan indicator.
Required: Optional
Allowed values

true, false

Is3rdPartySickPaybooleanBox 13 — Third-Party Sick Pay indicator.
Required: Optional
Allowed values

true, false

B14OtherstringBox 14 — Other. Free-form text used to report items such as state PFL / PML, union dues, etc.
Required: Optional
Size Range: 1–100
TTOC1stringTreasury Tipped Occupation Code #1 — identifies the Employee's qualifying tipped occupation. New for TY 2026 — supports OBBBA No-Tax-on-Tips reporting.
Required: Conditional (TY 2026 only)
Size Range: 1–3
Note: Required when Box 12 Code TT (Cash Tips) is reported.
TTOC2stringTreasury Tipped Occupation Code #2 — secondary qualifying tipped occupation, if applicable. New for TY 2026.
Required: Optional (TY 2026 only)
Size Range: 1–3
ControlNumstringBox D — Control Number assigned by the Employer to uniquely identify the W-2.
Required: Optional
Size Range: 1–14
Stateobject []State filing data — Boxes 15–20.
Required: Conditional
Note: Required when ReturnManifest.IsState is true.
StateCdstringBox 15 — Two-letter State Code.
Required: Yes (if State present)
Size Range: 2
StateIdNumstringBox 15 — Employer's State ID Number.
Required: Conditional
Size Range: 1–20
StateWagesnumberBox 16 — State Wages, Tips, etc.
Required: Conditional
Size Range: 0 – 999999999.99
StateTaxnumberBox 17 — State Income Tax.
Required: Optional
Size Range: 0 – 999999999.99
LocalityDataobjectBoxes 18–20 — Local income / locality information.
Required: Optional
LocalWagesnumberBox 18 — Local Wages, Tips, etc.
Required: Conditional
Size Range: 0 – 999999999.99
LocalTaxnumberBox 19 — Local Income Tax.
Required: Optional
Size Range: 0 – 999999999.99
LocalityNmstringBox 20 — Locality Name.
Required: Conditional
Size Range: 1–50
CountystringCounty name (used in states where county-level reporting is required).
Required: Optional
Size Range: 1–50
TaxTypeCdstringTax Type Code identifying the type of local tax being reported.
Required: Optional
Size Range: 1–2
Allowed values

"C", "D", "E", "F", "H", "I", "K", "N"

SchoolDistrictNumstringSchool District Number (required for certain Ohio / Pennsylvania filings).
Required: Conditional
Size Range: 1–10
EmployeeStateSpecificDataobjectState-specific reporting fields keyed by state code. Only the states relevant to the Employee need to be supplied.
Required: Optional
MDobjectMaryland-specific W-2 fields.
Required: Optional
W4ExemptionCountnumberMaryland — number of exemptions claimed on Form MW-507.
Required: Optional
Size Range: 0 – 99
NJobjectNew Jersey-specific W-2 fields.
Required: Optional
PvtFmlLeaveInsuranceNumstringNJ — Private Family Leave Insurance Plan Number.
Required: Optional
Size Range: 1–20
FmlLeaveInsuranceWHnumberNJ — Family Leave Insurance Withheld.
Required: Optional
Size Range: 0 – 999999999.99
PvtDisabilityPlanNumstringNJ — Private Disability Plan Number.
Required: Optional
Size Range: 1–20
DisabilityInsuranceWHnumberNJ — Disability Insurance Withheld.
Required: Optional
Size Range: 0 – 999999999.99
CombNJUnempInsWrkFrceDevProgHCSubWHnumberNJ — Combined withholding for Unemployment Insurance, Workforce Development Program and Health Care Subsidy.
Required: Optional
Size Range: 0 – 999999999.99
DeffCompAmtnumberNJ — Deferred Compensation amount.
Required: Optional
Size Range: 0 – 999999999.99
IsRetirementPlanbooleanNJ — Indicates whether the Employee was an active participant in a retirement plan.
Required: Optional
Allowed values

true, false

ORobjectOregon-specific W-2 fields.
Required: Optional
DateFirstEmployedstringOregon — Date the Employee was first employed.
Required: Optional
Format: MM/DD/YYYY
DateOfSeparationstringOregon — Date of Separation, if applicable.
Required: Optional
Format: MM/DD/YYYY
TaxableWagesForStateTransitTaxnumberOregon — Taxable Wages for the Statewide Transit Tax (STT).
Required: Optional
Size Range: 0 – 999999999.99
StateTransitTaxWHnumberOregon — State Transit Tax Withheld.
Required: Optional
Size Range: 0 – 999999999.99
MEobjectMaine-specific W-2 fields.
Required: Optional
MEPERScontributionnumberMaine — Maine Public Employees Retirement System (MEPERS) contribution.
Required: Optional
Size Range: 0 – 999999999.99
Request Params
"FormW2/get?submissionId=519a84f4-5e56-496a-82f3-18f51fdf3d75&recordIds=519a84f4-5e56-496a-82f3-18f51fdf3d75,519a84f4-5e56-496a-82f3-18f51fdf3d75"
Response Json
ResponseDescriptionAction
200
Success Response - This is a sample response for successful API requests.
Response: 200
{
"SubmissionManifest": {
"TaxYear": "2026",
"IsScheduleFiling": false,
"ScheduleFiling": {
"EfileDate": "01/25/2026"
}
},
"ReturnHeader": {
"Business": {
"PayerRef": null,
"BusinessId": null,
"IsDefaultBusiness": false,
"TINDetails": {
"Format": "PLAIN_TIN",
"TINType": "EIN",
"TIN": "567892733"
},
"IndividualNm": {
"FirstNm": "James",
"MiddleNm": "A",
"LastNm": "Anderson",
"Suffix": "Jr"
},
"BusinessNm": "Snowdaze LLC",
"NameCtrl": "SNOW",
"DBADetails": {
"DBANm": "Iceberg Icecreams",
"DBARef": "DBA1001",
"DBAId": null,
"IsDefaultDBA": true,
"Address": {
"Address1": "123 Main St",
"Address2": "Suite 1001",
"City": "Rock Hill",
"ProvinceOrState": "SC",
"ZipCd": "29730",
"Country": "US"
}
},
"Email": "james@sample.com",
"Address": {
"Address1": "123 Main St",
"Address2": "Suite 1001",
"City": "Rock Hill",
"ProvinceOrState": "SC",
"ZipCd": "29730",
"Country": "US"
},
"ContactDetails": {
"FirstNm": "James",
"MiddleNm": "A",
"LastNm": "Anderson",
"Suffix": "Jr",
"Phone": "8035551234",
"PhoneExtn": "101",
"Email": "contact@snowdaze.com",
"Fax": "8035555678"
},
"W2Specific": {
"KindOfEmployer": "NONEAPPLY",
"KindOfPayer": "REGULAR941"
}
}
},
"ReturnData": [
{
"SequenceId": "1",
"ReturnManifest": {
"IsFederal": true,
"IsState": true,
"IsDistribution": true,
"DistributionDetails": {
"DistributionType": "POSTAL_AND_ONLINE",
"PostalType": "USPS_FIRST_CLASS"
},
},
"Employee": {
"EmployeeId": null,
"PayeeRef": "PayeeRef00111",
"TINDetails": {
"Format": "PLAIN_TIN",
"TINType": "SSN",
"TIN": "467834332"
},
"NameCtrl": null,
"BusinessNm": "Dairy Delights LLC",
"DBADetails": {
"DBAId": null,
"DBANm": "Iceberg Icecreams",
"DBARef": "DBA1001",
"Address": {
"Address1": "630 Coonial Promenade Pkwy",
"Address2": "Mian 789",
"City": "Alabaster ",
"ProvinceOrState": "AL",
"ZipCd": "35007",
"Country": "US"
}
},
"IndividualNm": {
"FirstNm": "Jacqueline",
"MiddleNm": "Heather",
"LastNm": "Tammy",
"Suffix": "Jr"
},
"DOB": null,
"Address": {
"Address1": "630 Coonial Promenade Pkwy",
"Address2": "Mian 789",
"City": "Alabaster ",
"ProvinceOrState": "AL",
"ZipCd": "35007",
"Country": "US"
},
"Email": "shawn@sample.com",
"Fax": "6634567890",
"Phone": "9634567890"
},
"W2FormData": {
"Wages": 580450,
"FedTaxWH": 36820,
"SocSecWages": 18400,
"SocSecTaxWH": 11439,
"MediWages": 184501,
"MediTaxWH": 0,
"SocSecTips": 501,
"AllocatedTips": 45.89,
"DependtCareBenefits": 78,
"Sec457Plan": 100,
"NonSec457Plan": 0,
"CompCode1": "TA",
"CompAmt1": 100,
"CompCode2": "TT",
"CompAmt2": 100,
"CompCode3": "TP",
"CompAmt3": 100,
"CompCode4": "A",
"CompAmt4": 100,
"IsStatEmp": true,
"IsRetPlan": true,
"Is3rdPartySickPay": true,
"B14Other": "MA PFL 316.96, MA PML 493.10",
"TTOC1": "407",
"TTOC2": "409",
"ControlNum": "35231",
"States": [
{
"StateCd": "IN",
"StateIdNum": "9999999999-999",
"StateWages": 100.64,
"StateTax": 2.85,
"LocalityData": [
{
"LocalWages": 300.23,
"LocalTax": 100.45,
"LocalityNm": "Pristine",
"County": "adams",
"TaxTypeCd": "D ",
"SchoolDistrictNum": null
}
]
},
{
"StateCd": "KS",
"StateIdNum": "036-123456789F-01",
"StateWages": 100.64,
"StateTax": 2.85,
"LocalityData": [
{
"LocalWages": 300.23,
"LocalTax": 100.45,
"LocalityNm": "Pristine",
"County": "adams",
"TaxTypeCd": "D ",
"SchoolDistrictNum": null
}
]
},
{
"StateCd": "MA",
"StateIdNum": "WTH-99999999-999",
"StateWages": 100.64,
"StateTax": 2.85,
"LocalityData": [
{
"LocalWages": 300.23,
"LocalTax": 100.45,
"LocalityNm": "Pristine",
"County": "adams",
"TaxTypeCd": "D ",
"SchoolDistrictNum": null
}
]
},
{
"StateCd": "KY",
"StateIdNum": "999999",
"StateWages": 100.64,
"StateTax": 2.85,
"LocalityData": [
{
"LocalWages": 300.23,
"LocalTax": 100.45,
"LocalityNm": "Pristine",
"County": "adams",
"TaxTypeCd": "D ",
"SchoolDistrictNum": null
}
]
}
],
"EmployeeStateSpecificData": null
}
}
]
}