Extend your software with TaxBandits IRS E-file API Integration

Skip to main content
Version: 1.7.1

Update

Updates information of New Hire report records by Submission Id and Record Id.

PUT NewHireReport/Update

Request Body

FieldTypeDescription
SubmissionIdGuidUnique identifier of a submission
NHReportsobject[]Object to update New Hire reports.
    RecordIdGuidUnique Identifier of a record
    SequencestringA unique number given by an inbound application to identify failed records.
Size Range: ..60
    ReportingToStateCdstringState code of the New Hire Reporting State
Size Range: 2
    EmployerobjectEmployer details
        BusinessIdGuidUnique Identifier of the business
        BusinessNmstringName of the business
Size Range: ..75
        TradeNmstringOptional Name under which the business operates
Size Range: ..75
        IsEINBooleanWhen true, identifies the business with an EIN.
        EINorSSNstringWhen IsEIN is true, use Employer Identification Number (EIN). When IsEIN is false, use Social Security Number (SSN)
Size Range: 9
        EmailstringEmail address of the Business
Size Range: ..40
        ContactNmstringOptional Name of the person who can be contacted by the IRS
Size Range: ..27
        PhonestringContact number of the business with area code
Size Range: 10
        PhoneExtnstringOptional Extension of the business phone number
Size Range: ..5
        FaxstringOptional Fax number of the Business
Size Range: 10
        BusinessTypestringType of business. Optional for W-2/1099 and mandatory for 94X series
Size Range: ..4
Allowed values: "ESTE", "PART", "CORP", "EORG", "SPRO"
        KindOfEmployerstringIdentifies the kind of employer. Mandatory for W-2 and optional for 1099-MISC and 94X series.
Allowed values: "FEDERALGOVT", "STATEORLOCAL501C", "NONGOVT501C", "STATEORLOCALNON501C", "NONEAPPLY"
        KindOfPayerstringIdentifies the kind of payer. This field is mandatory in W-2 and optional in 1099-MISC and 94X series.
Allowed values: "REGULAR941", "REGULAR944", "AGRICULTURAL943", "HOUSEHOLD", "MILITARY", "MEDICAREQUALGOVEM", "RAILROADFORMCT1"
        IsBusinessTerminatedBooleanWhen true, identifies the business as terminated.
        IsForeignBooleanWhen true, identifies the business address with a foreign address.
        USAddressobjectif IsForeign is false, pass US address of the business
            Address1stringEmployer/Payer's US address (street address or post office box of that locality)
Size Range: ..35
            Address2stringOptional Employer/Payer's suite or apartment
Size Range: ..35
            CitystringEmployer/Payer's city
Size Range: ..27
            StatestringState code of the employer/payer. Refer Static values.
Size Range: 2
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"
            ZipCdstringEmployer/Payer's zip code
        ForeignAddressobjectif IsForeign is true, pass foreign address of the business
            Address1stringEmployer/Payer's foreign address (street address or post office box of that locality)
Size Range: ..35
            Address2stringOptional Employer/Payer's suite or apartment
Size Range: ..35
            CitystringEmployer/Payer's city
Size Range: ..27
            ProvinceOrStateNmstringEmployer/Payer's province or state name
Size Range: ..30
                CountrystringEmployer/Payer country code. Refer Static values.
Size Range: 2
Allowed values: "US", "CA", "MX", "AF", "AX", "XI", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "XA", "AT", "AS", "AU", "AJ", "XZ", "BF", "BA", "FQ", "BG", "BB", "BS", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "XY", "CV", "CJ", "CT", "CD", "XC", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "VP", "CS", "IV", "HR", "CU", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "UK", "EK", "ER", "EN", "ET", "EU", "FK", "FO", "FM", "FJ", "FI", "FR", "FG", "FP", "FS", "GB", "GA", "GZ", "GG", "GM", "GH", "GI", "GO", "GR", "GL", "GJ", "GP", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "JU", "KZ", "KE", "KQ", "KR", "KN", "KS", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MB", "MR", "MP", "MF", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "XM", "WA", "NR", "BQ", "NP", "NL", "NT", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "XN", "CQ", "NO", "MU", "OC", "PK", "LQ", "PS", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RE", "RO", "RS", "RW", "WS", "SM", "TP", "SA", "XS", "SG", "RI", "SE", "SL", "SN", "XR", "LO", "SI", "BP", "SO", "SF", "SX", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "XT", "TE", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UY", "UZ", "NH", "VT", "VE", "VM", "VQ", "WQ", "XW", "WF", "WE", "WI", "YM", "YI", "ZA", "ZI"
            PostalCdstringEmployer/Payer's postal code
    AddEmployeesobject[]Employee details
        SequencestringEmployee sequence number.
Size Range: ..60
        SSNstringSocial Security Number (SSN).
Size Range: ..9
        FirstNmstringEmployee's First Name
Size Range: ..15
        MiddleNmstringEmployee's Middle Name
Size Range: ..15
        LastNmstringEmployee's Last Name
Size Range: ..20
        SuffixstringEmployee's Suffix.
Size Range: ..3
        EmailstringEmployee's email address.
Size Range: ..40
        FaxstringEmployee's Fax number, if applicable.
Size Range: 10
        PhonestringEmployee's phone number including area code.
Size Range: 10
        USAddressobjectObject to identify the employee's US address
            Address1stringEmployee's US address (street address or post office box of that locality)
Size Range: ..35
            Address2stringOptional Employee's suite or apartment
Size Range: ..35
            CitystringEmployer/Payer city.
Size Range: ..27
            StatestringState code of the employer/payer. Refer Static values.
Size Range: 2
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"
            ZipCdstringEmployer/Payer ZIP Code.
        StateSpecificsnumberState specified information for New Hire Reporting
            DOBDateTimeEmployee's Date of Birth
            DtOfRemunerationDateTimeEmployee's Date of Remuneration
        EmployeeUIdGuidUnique Identifier of an Employee
        HireTypestringHire type of an employee. Applicable only for New Hires.
    UpdateEmployeesobject[]Employee details
        SequencestringEmployer sequence number.
Size Range: ..60
        SSNstringSocial Security Number (SSN).
Size Range: ..9
        FirstNmstringEmployee's First Name
Size Range: ..15
        MiddleNmstringEmployee's Middle Name
Size Range: ..15
        LastNmstringEmployee's Last Name
Size Range: ..20
        SuffixstringEmployee's Suffix.
Size Range: ..3
        EmailstringEmployee's email address.
Size Range: ..40
        FaxstringEmployee's Fax number, if applicable.
Size Range: 10
        PhonestringEmployee's phone number including area code.
Size Range: 10
        USAddressobjectObject to identify the employee's US address
            Address1stringEmployee's US address (street address or post office box of that locality).
Size Range: ..35
            Address2stringOptional The suite, apartment, number of the employer/payer, if applicable.
Size Range: ..35
            CitystringEmployer/Payer city.
Size Range: ..27
            StatestringState code of the employer/payer. Refer Static values.
Size Range: 2
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"
            ZipCdstringEmployer/Payer ZIP Code.
        StateSpecificsnumberState specified information for New Hire Reporting
            DOBDateTimeEmployee's Date of Birth
            DtOfRemunerationDateTimeEmployee's Date of Remuneration
        EmployeeUIdGuidUnique Identifier of an Employee
        HireTypestringHire type of an employee. Applicable only for New Hires.
    DeleteEmployeesGuid[]Employee's Unique Identifier

Response Body

FieldTypeDescription
StatusCodenumberReturns the HTTP status codes like 200,300 etc.
StatusNamestringName of the status code.
StatusMessagestringDetailed status message.
SubmissionIdGuidUnique identifier of a submission.
NHReportsobjectPulls the New Hire report records with Success and Error statuses.
    SuccessRecordsobject[]It will show the detailed information about the success status of New Hire Report Records.
        SequencestringA unique number given by an inbound application to identify failed records.
        RecordIdGuidUnique identifier of a record.
        RecordStatusstringReturns the status of the records.
        EmployeeRecordsstringReturn status details like Created, Transmitted, Accepted, Rejected.
            SequencestringA unique number given by an inbound application to identify failed records.
            EmployeeUIdGuidUnique identifier of an Employee.
            StatusstringReturns the status of the Employee details.
        CreatedTsDateTimeDate and time of return created.
        UpdatedTsDateTimeDate and time of return updated.
    ErrorRecordsobject[]It will show the detailed information about the error status of New Hire Report Records.
        SequencestringA unique number given by an inbound application to identify failed records.
        RecordIdGuidUnique identifier of a record.
        Errorsobject[]Shows detailed error information.
            CodestringReturns the validation error code.
            NamestringName of the validation error.
            MessagestringDescription of the validation error.
            TypestringType of validation error.
        EmployeeErrorRecordsobject[]Return status details like Created, Transmitted, Accepted, Rejected.
            SequencestringA unique number given by an inbound application to identify failed records.
            EmployeeUIdGuidClient Record Identifier.
            Errorsobject[]Shows detailed error information.
                CodestringReturns the validation error code.
                NamestringName of the validation error.
                MessagestringDescription of the validation error.
                TypestringType of validation error.
Errorsobject[]Shows detailed error information.
    CodestringReturns the validation error code.
    NamestringName of the validation error.
    MessagestringDescription of the validation error.
    TypestringType of validation error.

Request JSON

{
"NHReports": [
{
"RecordId": "53a64158-6333-44ef-8e26-1cd20ba79f78",
"Sequence": null,
"ReportingToStateCd": "SC",
"Employer": {
"BusinessId": null,
"BusinessNm": "Eastman Kodak Company",
"TradeNm": null,
"IsEIN": true,
"EINorSSN": "003333333",
"Email": "john@gmail.com",
"ContactNm": "John",
"Phone": "1234567890",
"PhoneExtn": "12345",
"Fax": "1234567890",
"BusinessType": null,
"SigningAuthority": null,
"KindOfEmployer": null,
"KindOfPayer": null,
"IsBusinessTerminated": false,
"IsForeign": false,
"USAddress": {
"Address1": "1751 Kinsey Rd",
"Address2": "Main St",
"City": "Dothan",
"State": "AL",
"ZipCd": "36303"
},
"ForeignAddress": {
"Address1": null,
"Address2": null,
"City": null,
"ProvinceOrStateNm": null,
"Country": null,
"PostalCd": null
}
},
"AddEmployees": [
{
"Sequence": "3",
"SSN": "393848038",
"FirstNm": "John",
"MiddleNm": "F",
"LastNm": "Kennedy",
"Suffix": "Sr",
"Email": "john@gmail.com",
"Fax": "1234567890",
"Phone": "1234567890",
"USAddress": {
"Address1": "1751 Kinsey Rd",
"Address2": "Main St",
"City": "Dothan",
"State": "AL",
"ZipCd": "36303"
},
"StateSpecifics": {
"DOB": "1990-07-01T00:00:00",
"DtOfRemuneration": "2019-08-01T00:00:00"
},
"EmployeeUId": null,
"HireType": "NEWHIRE"
}
],
"UpdateEmployees": [
{
"Sequence": "1",
"SSN": "393848035",
"FirstNm": "John",
"MiddleNm": "F",
"LastNm": "Kennedy",
"Suffix": "Jr",
"Email": "john@gmail.com",
"Fax": "1234567899",
"Phone": "1234567899",
"USAddress": {
"Address1": "12 main st",
"Address2": null,
"City": "Rock HIll",
"State": "SC",
"ZipCd": "29730"
},
"StateSpecifics": {
"DOB": "1991-07-31T00:00:00",
"DtOfRemuneration": "2019-07-10T00:00:00"
},
"EmployeeUId": "bc88cd09-f537-4395-b54f-ccee2d4d6997",
"HireType": "NEWHIRE"
}
],
"DeleteEmployees": [
"44fd0c52-0216-4731-b088-f8faa84e0de5"
]
}
],
"SubmissionId": "931f8057-fe2e-4dcd-babd-5527ef098a6c"
}

Response JSON

{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "931f8057-fe2e-4dcd-babd-5527ef098a6c",
"NHRecords": {
"SuccessRecords": [
{
"Sequence": null,
"RecordId": "53a64158-6333-44ef-8e26-1cd20ba79f78",
"RecordStatus": "Created",
"EmployeeRecords": [
{
"Sequence": "3",
"EmployeeUId": "0be8f3cf-b78c-4f5b-9ee6-e4a5089d2f4a",
"Status": "ADDED"
},
{
"Sequence": "1",
"EmployeeUId": "bc88cd09-f537-4395-b54f-ccee2d4d6997",
"Status": "UPDATED"
},
{
"Sequence": null,
"EmployeeUId": "44fd0c52-0216-4731-b088-f8faa84e0de5",
"Status": "DELETED"
}
],
"CreatedTs": "2019-08-06 22:02:48 -04:00",
"UpdatedTs": "2019-08-06 22:06:07 -04:00"
}
],
"ErrorRecords": null
},
"Errors": null
}