Skip to main content
Version: 2.0.0

List

List

This endpoint retrieves a list of Form W-2 returns that have been created, submitted, or transmitted in TaxBandits, filtered by submission or business identifiers. For example, passing a BusinessId returns all returns created under that business.

You can also filter results by status type (Federal Filing, State Filing, Online Access, or Postal Mailing) and retrieve returns with a specific status (e.g., Accepted, Rejected, Pending).

POST formw2/list 

Request Body

FieldTypeDescription
TaxYearstringTax year for which the W-2 returns should be listed.
FormTypesObject[]List of form types to filter the returns.
Allowed values
Allowed values

Allowed Values: "FORMW2"

BusinessobjectBusiness details used to identify the payer.
BusinessIdGUIDUnique Business ID generated by TaxBandits. If provided, you do not need to send the business details again.
PayerRefStringOptional Your unique reference for the payer. Can be used instead of BusinessId.
Size Range: 50
BusinessNmStringLegal name of the business.
Size Range: 75
TINTypeStringTIN type of the business.
Allowed values
Allowed values

Allowed Values: "EIN"

PayerTINStringLast four digits of the business TIN.
EmployeeobjectEmployee details used to identify the Employee.
EmployeeIdGUIDUnique Employee ID generated by TaxBandits.
EmployeeRefStringOptional Your unique reference for the Employee.
Size Range: 50
EmployeeNmStringName of the Employee.
Size Range: 75
EmployeeTINTypeStringTIN type of the Employee.
Allowed values
Allowed values

Allowed Values: "SSN"

EmployeeLast4TINStringLast four digits of the Employee's TIN.
SubmissionIdGUIDUnique ID assigned by TaxBandits to the submission.
FederalobjectFilters returns based on the federal filing status.
StatusObject[]One or more federal return statuses to filter the results.
Allowed values
Allowed values

Allowed Values: "CREATED", "TRANSMITTED", "SENT TO AGENCY", "ACCEPTED", "REJECTED"

StateobjectFilters returns based on the state filing status.
StatusObject[]One or more state return statuses to filter the results.
Allowed values
Allowed values

Allowed Values: "CREATED", "NOTCREATED", "TRANSMITTED", "SENTTOAGENCY", "ACCEPTED", "REJECTED"

DistributionobjectFilters returns based on online access or postal distribution status.
OAStatusObject[]One or more online access statuses to filter the results.
Allowed values
Allowed values

Allowed Values: "CREATED", "ORDER_CREATED", "EMAIL_SENT", "DOWNLOADED_FORM", "VIEWED_FORM"

PostalStatusObject[]One or more postal distribution statuses to filter the results.
Allowed Values: "CREATED", "SENT", "RECEIVED", "NOTCREATED"
FromDatestringStart date for listing returns (MM/DD/YYYY).
ToDatestringEnd date for listing returns (MM/DD/YYYY).
PageNumberPage number of the results to retrieve.
PageSizeNumberNumber of records to return per page (maximum 100).
Errorsobject[]List of validation errors for state returns.
IdstringUnique ID of the validation error.
NamestringName of the validation error.
MessagestringDescription of the validation error.

Response Body

FieldTypeDescription
FormW2EmployeeRecordsObject[]List of W-2 return records.
TaxYearstringTax year of the listed returns.
FormTypestringForm type of the listed W-2 returns.
SubmissionIdGUIDUnique ID of the submission.
RecordIdGUIDUnique ID of the return record.
BusinessIdGUIDUnique ID of the business.
BusinessNmstringName of the business.
PayerRefstringYour unique reference for the business.
EmployeeIdGUIDUnique ID of the Employee.
EmployeeRefstringYour unique reference for the Employee.
IndividualNmstringReturns name of the Employee.
FirstNmStringFirst name of the Employee.
MiddleNmStringMiddle name of the Employee.
LastNmStringLast name of the Employee.
SuffixStringSuffix of the Employee's name
FederalStatusobjectFederal filing status details for the return.
StatusstringCurrent status of the return.
InfostringAdditional information about the federal filing service.
StatusTsstringDate and time when the federal status was updated.
StatesStatusobjectState filing status details for the return.
StatusstringCurrent state filing status.
InfostringAdditional information about the state filing service.
StatusTsstringDate and time the state status was updated.
DistributionobjectDistribution status details for postal or online access.
DistributionTypestringDistribution method selected for the return.
PostalStatusobjectPostal mailing status details.
PostalTypeStringPostal mailing method selected for the return.
StatusStringCurrent postal mailing status.
InfoStringAdditional information about the postal mailing service.
StatusTsStringDate and time when the return was processed for postal mailing.
OnlineAccessStatusObjectOnline access status details.
EmailStringEmail address used for online access.
StatusStringCurrent online access status.
InfoStringAdditional information about the online access service.
StatusTsStringDate and time when the return was processed for online access.
AttachmentURLStringURL to download the PDF of any additional attachments.
CreatedTsStringDate and time when the return was created.
LastUpdatedTsStringDate and time when the return was last updated.
PagenumberPage number containing the listed records.
PageSizenumberNumber of records returned per page.
Errorsobject[]Error details if validation errors.
IdstringUnique ID of the validation error.
NamestringName of the validation error.
MessagestringDescription of the validation error.
Request Json
SampleDescriptionAction
Sample 1
List Form W2 returns using payer, submission, filing status, state status, and distribution filters.
Sample 1
{
"TaxYear": "2026",
"FormTypes": [
"FORMW2"
],
"Business": {
"BusinessId": null,
"PayerRef": "Payer132",
"BusinessNm": "Steven LLC",
"TINType": "EIN",
"PayerTIN": null
},
"Employee": {
"EmployeeId": null,
"EmployeeRef": "Payee123",
"EmployeeNm": null,
"EmployeeTINType": "SSN",
"EmployeeLast4TIN": null
},
"SubmissionId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"Federal": {
"Status": [
"CREATED",
"TRANSMITTED",
"SCHEDULED"
]
},
"State": {
"StateCd": [
"SC",
"MD"
],
"Status": [
"CREATED",
"SCHEDULED "
]
},
"Distribution": {
"OAStatus": [
"OPENED",
"VIEWED"
],
"PostalStatus": [
"SENT"
]
},
"FromDate": null,
"ToDate": null,
"Page": 1,
"PageSize": 100
}
Response JSON
ResponseDescriptionAction
200
Success Response - This is a sample response for successful API requests.
Response: 200
{
"FormW2EmployeeRecords": [
{
"TaxYear": "2026",
"FormType": "FormW2",
"SubmissionId": "e50c27b8-631c-45f0-be19-f786fc69ba60",
"RecordId": "cfd6fe66-ac9f-49f7-b8a3-2d064abeeb9b",
"BusinessId": "bbd57dc2-d948-40cd-b67b-9fe06cc62218",
"BusinessNm": "",
"PayerRef": "Snow123",
"EmployeeId": "4fb305b7-f0d7-4093-9152-93f07313b606",
"EmployeeRef": "DAI001",
"IndividualNm": {
"FirstNm": "Tim",
"MiddleNm": null,
"LastNm": "Jude",
"Suffix": null
},
"FederalStatus": {
"StatusCd": "FED-002",
"Status": "TRANSMITTED",
"Info": "Transmitted to SSA",
"StatusTs": "2026-01-25T09:00:00-05:00"
},
"StatesStatus": [
{
"StateCd": "AZ",
"StatusCd": "ST-002",
"Status": "TRANSMITTED",
"Info": "Transmitted to AZ",
"StatusTs": "2026-01-25T09:01:12-05:00"
}
],
"Distribution": {
"DistributionType": "POSTAL_AND_ONLINE",
"PostalStatus": {
"PostalType": "USPS_FIRST_CLASS",
"Code": "POS-004",
"Status": "HANDED_OVER_TO_USPS",
"Info": "Handed off to USPS",
"StatusTs": "2026-01-26T14:30:00-05:00"
},
"OnlineAccessStatus": {
"Email": "shawn@sample.com",
"Code": "OA-003",
"Status": "EMAIL_SENT",
"Info": "Notification email sent",
"StatusTs": "2026-01-25T09:05:00-05:00"
}
},
"AttachmentURL": "https://amazonaws.com/pdfs/a570efbd-740f-4ae2-bfe7-26356cd85148.pdf",
"CreatedTs": "2026-01-02T02:17:04-05:00",
"LastUpdatedTs": "2026-01-26T14:30:00-05:00"
}
],
"Page": 1,
"PageSize": 100,
"TotalRecords": 1,
"TotalPages": 1,
"Errors": null
}