Skip to main content
Version: 1.7.3

List

LIST endpoint lets you list the basic details of all the returns irrespective of their record status. List can be customized by sending values corresponding to its optional parameters, which gets applied as filters to the list.

GET FormW2/List  
Run in Postman

Request Params

FieldTypeDescription
SubmissionIdGuidUnique identifier of a submission
BusinessIdGuidUnique identifier of a business
EINstringEmployer Identification Number
TaxYearstringList the W2 records based on the given taxyear.
Allowed values: "2022","2023","2024"
PagenumberPulls the records listed in the page selected
PageSizenumberNumber of W-2 records to be listed in each page
EfileStatusstringList the W-2 records based on the status ("CREATED, UNDERPROCESS, SENTTOAGENCY, TRANSMITTED, ACCEPTED, REJECTED")
FromDatestringEnter a date from which the W-2 records need to be listed in MM/DD/YYYY format.
ToDatestringEnter a date till which the w-2 records created are to be listed in MM/DD/YYYY format.

Response Body

FieldTypeDescription
StatusCodenumberReturns the HTTP status codes like 200,300 etc.
StatusNamestringName of the status code
StatusMessagestringDetailed status message
FormW2RecordsobjectPulls the Form W-2 records with Success and Error statuses
    SubmissionIdGuidUnique identifier of a submission
    BusinessIdGuidUnique identifier of a Business.
    PayerRefstringUnique identifier of a Payer.
    BusinessNmstringName of the business
    EINorSSNstringEmployer Identification Number or Social Security Number
    ContactNamestringName of the person who can be contacted by the IRS.
    TaxYearstringTax year of W-2s to be filed.
    EmployeeobjectReturns the employee details.
        SequenceIdstringAn 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.
        RecordIdGuidAn unique identifier generated by TaxBandits when a W2 return is created.
        EmployeeIdGuidAn unique identifier generated by TaxBandits for a employee when a W2 return is created. You can use this id for your future reference to Update.
        PayeeRefstringA unique identifier for each payee completing their information.
        EmployeeNameBooleanName of the employee.
        FirstNmstringFirst Name of the Individual
        MiddleNmstringMiddle Name of the Individual
        LastNmstringLast Name of the Individual
        SuffixstringSuffix of the Individual
        FederalReturnobjectReturns the record status and StatusTs of federal return.
            StatusstringReturns the record status.
            StatusTsstringReturns date and time of return created.
            InfostringReturns information about the Federal Filing service.
            Errorsobject[]Shows detailed error information
            IdstringReturns the validation error Id
            NamestringName of the validation error
            MessagestringDescription of the validation error
        StateReturnsobject[]Returns collection of state returns information
            StateCdstringReturns the state code of the state for which the return is filed.
            StatusstringReturns the record status of the state return.
            StatusTsstringDate and time of the return created.
            InfostringReturns the information about the state for which we are not supporting state filing.
            Errorsobject[]Shows error information of state returns of Form W2
            IdstringReturns the validation error Id.
            NamestringName of the validation error.
            MessagestringDescription of the validation error.
        PostalobjectReturns the status and StatusTs of postal mailing service for Form W2.
            StatusstringReturns the status of postal order.
            StatusTsstringReturns the date and time of the postal order created.
            InfostringReturns the information about Postal mailing service.
        OnlineAccessobjectReturns the Email address for whom the online access to be given and Status of online access.
            StatusstringReturns the Status of the Online Access.
            EmailstringEmail address for whom the online access to be given.
            InfostringInformation about the online access service.
TotalRecordsnumberTotal number of records listed in the response.
TotalPagesnumberTotal number of pages
PagenumberReturns the page number in which the records are listed
PageSizenumberNumber of records listed in each page.
Errorsobject[]Shows detailed error information
IdstringReturns the validation error Id
NamestringName of the validation error
MessagestringDescription of the validation error

"Formw2/List?BusinessId=417be5c4-0a9a-46f1-ba41-69c39f3a90de"
Response Json

ResponseDescriptionAction
200
Success Response - This is a sample response for successful API requests.
Response: 200
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"FormW2Records": [
{
"SubmissionId": "b1c1fca0-41d4-4be1-bfd4-3b6756c22790",
"BusinessId": "417be5c4-0a9a-46f1-ba41-69c39f3a90de",
"PayerRef": "379946",
"BusinessNm": "Snowdaze LLC",
"EIN": "52-6672586",
"ContactName": "Chandler White",
"TaxYear": "2024",
"Employee": {
"SequenceId": "01",
"RecordId": "065d46f2-4b5e-49e6-a62a-4c9d2f2f0515",
"EmployeeId": "60f86bf9-a55a-4055-9eda-d7659b3c1b2b",
"PayeeRef": "Payee001",
"EmployeeName": "Mark Freek Linda Sr",
"FirstNm": "Mark",
"LastNm": "Linda",
"MiddleNm": "Freek",
"Suffix": "Sr",
"SSN": "266-87-3255",
"FederalReturn": {
"Status": "CREATED",
"StatusTs": "2024-06-29 03:42:26 -04:00",
"Info": null,
"Errors": null
},
"StateReturns": [
{
"StateCd": "DE",
"Status": "CREATED",
"StatusTs": "2024-06-29 03:32:31 -04:00",
"Info": null,
"Errors": null
},
{
"StateCd": "SC",
"Status": "CREATED",
"StatusTs": "2024-06-29 03:32:31 -04:00",
"Info": "You should take care of filing Form WH-1606, Fourth Quarter/Annual Withholding Tax Reconciliation Report, with the state of South Carolina. The due date to file Form WH-1606 is January 31,2024. https://dor.sc.gov/forms-site/Forms/WH1606.pdf",
"Errors": null
}
],
"Postal": {
"Status": "CREATED",
"StatusTs": "2024-06-29 03:42:26 -04:00",
"Info": null
},
"OnlineAccess": {
"Status": "CREATED",
"Email": "mark+13@sample.com",
"Info": null
}
}
},
{
"SubmissionId": "fbf4d042-0a23-42ba-9779-f9e30c4c20a4",
"BusinessId": "417be5c4-0a9a-46f1-ba41-69c39f3a90de",
"PayerRef": "379946",
"BusinessNm": "Snowdaze LLC",
"EIN": "52-6672486",
"ContactName": "Chandler White",
"TaxYear": "2024",
"Employee": {
"SequenceId": "01",
"RecordId": "a3c92259-e296-4147-8649-26ef7a68890c",
"EmployeeId": "ca383c44-22d1-4765-82de-1319b07fdba7",
"PayeeRef": "Payee002",
"EmployeeName": "Mark Freek Linda Sr",
"FirstNm": "Mark",
"LastNm": "Linda",
"MiddleNm": "Freek",
"Suffix": "Sr",
"SSN": "266-87-3245",
"FederalReturn": {
"Status": "CREATED",
"StatusTs": "2024-06-29 03:32:31 -04:00",
"Info": null,
"Errors": null
},
"StateReturns": [
{
"StateCd": "DE",
"Status": "CREATED",
"StatusTs": "2024-06-29 03:32:31 -04:00",
"Info": null,
"Errors": null
},
{
"StateCd": "SC",
"Status": "CREATED",
"StatusTs": "2024-06-29 03:32:31 -04:00",
"Info": "You should take care of filing Form WH-1606, Fourth Quarter/Annual Withholding Tax Reconciliation Report, with the state of South Carolina. The due date to file Form WH-1606 is January 31,2024. https://dor.sc.gov/forms-site/Forms/WH1606.pdf",
"Errors": null
}
],
"Postal": {
"Status": "CREATED",
"StatusTs": "2024-06-29 03:32:31 -04:00",
"Info": null
},
"OnlineAccess": {
"Status": "CREATED",
"Email": "mark+123@sample.com",
"Info": null
}
}
}
],
"TotalRecords": 2,
"TotalPages": 1,
"Page": 1,
"PageSize": 100,
"Errors": null
}