Skip to main content
Version: 1.7.3

Get

Get

Use this endpoint to retrieve the information of a previously created NYS-45 form for the corresponding business. Your request JSON must include the corresponding SubmissionId and the RecordId (optional) for the forms.

GET StateFilings/NYWHUI/Get 

Request Params

FieldTypeDescription
SubmissionIdGuidUnique identifier created by TaxBandits for each submission. Not required when you are creating a return
RecordIdGuidA unique identifier generated by TaxBandits when a Form NYS-45 return is created.
Mention the return's Record ID that you want to get.

Response Body

FieldTypeDescription
SubmissionIdStringUnique identifier for the submission.
StateWhUIRecordsObject[]Object to create NYS-45
SequenceIdStringA unique number given by an inbound application to identify failed records.
Size Range: ..50
ReturnHeaderObjectIdentifies the supporting details of Form NYS-45.
QtrStringThe Quarter for which Form NYS-45 needs to be filed.
Allowed values

"Q1", "Q2", "Q3", "Q4"

TaxYrStringThe tax year for which Form NYS-45 needs to be filed.
Allowed values

2025,2026

BusinessObjectObject to identify the business details.
BusinessIdGuidOptional Use the unique identifier provided in the response from the Business CREATE endpoint.
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 the Employer Identification Number (EIN)
Note: IsEIN should always be set to true, as EIN is the only allowed TIN type for state payroll forms.
Size Range: 9-11
EmailstringOptional Email address of the business.
Size Range: ..100
ContactNmstringOptional Name of the person who can be contacted by the State Agency.
Size Range: ..27
PhonestringOptional Phone number of the business.
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.
Size Range: 5
Allowed values

"ESTE", "PART", "CORP", "EORG", "SPRO", "SLGOV"

SigningAuthorityobjectDetails of the person who is authorized to sign the return.
NamestringName of the signing authority.
Size Range: ..35
PhonestringPhone number of the signing authority.
Size Range: 10
BusinessMemberTypestringBusiness title of the signing authority
Size Range: 5..29
Allowed values

"CORPORATESECRETARY", "SECRETARYTREASURER", "PARTNER", "GENERALPARTNER", "LIMITEDPARTNER", "LLCMEMBER", "MANAGINGMEMBER", "MANAGER", "TAXMATTERPARTNER", "PRESIDENT", "VICEPRESIDENT", "CORPORATETREASURER", "TREASURER", "ASSISTANTTREASURER", "CHIEFACCOUNTINGOFFICER", "CHIEFEXECUTIVEOFFICER", "CHIEFFINANCIALOFFICER", "TAXOFFICER", "CHIEFOPERATINGOFFICER", "CORPORATEOFFICER", "EXECUTIVEDIRECTOR", "DIRECTOR", "CHAIRMAN", "EXECUTIVEADMINISTRATOR", "RECEIVER", "PASTOR", "ASSISTANTTORELIGIOUSLEADER", "REVEREND", "PRIEST", "MINISTER", "RABBI", "LEADEROFRELIGIOUSORGANIZATION", "SECRETARY", "DIRECTOROFTAXATION", "DIRECTOROFPERSONNEL", "ADMINISTRATOR", "EXECUTOR", "TRUSTEE", "FIDUCIARY", "OWNER", "SOLEPROPRIETOR", "MEMBER", "SOLEMEMBER", "REPORTINGAGENT"

KindOfEmployerstringOptional Identifies the kind of employer.
Allowed values

"FEDERALGOVT", "STATEORLOCAL501C", "NONGOVT501C", "STATEORLOCALNON501C", "NONEAPPLY"

KindOfPayerstringOptional Identifies the kind of payer.
Allowed values

"REGULAR941", "REGULAR944", "AGRICULTURAL943", "HOUSEHOLD", "MILITARY", "MEDICAREQUALGOVEM", "RAILROADFORMCT1"

IsBusinessTerminatedBooleanWhen true, indicates that the business is terminated.
IsForeignObjectWhen true, indicates that the business has a foreign address.
USAddressobjectIf IsForeign is false, pass the US address of the business.
Address1stringEmployer/Payer's US address (street or post office box of that locality).
Size Range: ..46
Address2stringOptional Employer/Payer's suite or apartment.
Size Range: ..46
CitystringEmployer/Payer's city.
Size Range: ..50
StatestringEmployer/Payer's state code. Refer to 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.
Size Range: 5..10
ForeignAddressObjectIf IsForeign is true, pass the foreign address of the business.
Address1stringEmployer/Payer's foreign address (street address or post office box of that locality).
Size Range: ..50
Address2stringOptional Employer/Payer's suite or apartment.
Size Range: ..50
CitystringEmployer/Payer's city.
Size Range: ..50
ProvinceOrStateNmstringEmployer/Payer's province or state name.
Size Range: ..50
CountrystringEmployer/Payer's country.
Size Range: 2
Allowed values

"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"

PostalCdstringEmployer/Payer's postal code.
Size Range: ..16
ReturnDataObject[]Identifies the Form A-1 data.
FormNYS45ObjectCalifornia withholding/UI tax return.
BusinessTransferredTypestringIndicates whether the filer sold or transferred all or part of the business.
Allowed values

"WHOLE", "PART"

IsBusinessTransferredBooleanWhen true, identifies the business as transferred.
BusinessTransferredDetailsobjectType of Transfer and Record Keeper details
NamestringName of the Record Keeper
BusinessChangeTypestringType of Transfer.
Allowed values

"SOLD", "TRANSFERRED"

DateOfChangeDateTimeDate of Sale / Transfer
NewBusinessTypestringNew Business Type of the transferred business
Allowed values

"ESTE", "PART", "CORP", "EORG", "SPRO"

NewBusinessNamestringNew Business Name of the transferred business
IsForeignBooleanWhen true, identifies if the business has 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: ..46
Address2stringOptional Employer/Payer's suite or apartment
Size Range: ..46
CitystringEmployer/Payer's city
Size Range: ..50
StatestringEmployer/Payer's state
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.
Size Range: 5..10
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: ..50
Address2stringOptional Employer/Payer's suite or apartment
Size Range: ..50
CitystringEmployer/Payer's city
Size Range: ..50
ProvinceOrStateNmstringEmployer/Payer's province or state name
Size Range: ..50
CountrystringEmployer/Payer's country
Size Range: 2
Allowed values

"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"

PostalCdstringEmployer/Payer's postal code
Size Range: ..16
IsDepHealthInsuranceBooleanWhen true, Indicates whether health insurance is provided to employee's dependent.
IsCloseWHAccBooleanWhen true, specifies that the account is to be cancelled.
LastPayrollDtstringEnter tha last payroll date
Allowed values

MM/DD/YYYY or MM-DD-YYYY

IsSeasonalBooleanWhen true, Indicates whether the business operates on a seasonal basis.
SPICodeNumber2 digit code to indicate employer impacted by a disaster
UIDetailsObjectObject Identifies the information regarding the Unemployment Insurance details
UIIdNumNumberEmployer's New York Unemployment Account Number
Size Range: 8 digits
Allowed values

##-#####-#

NumOfEmpObjectTotal number of employees for the quarter
Month1EmpNumberTotal number of employees reported for month 1 of the quarter.
Size Range: ..9999999
Month2EmpNumberTotal number of employees reported for month 2 of the quarter.
Size Range: ..9999999
Month3EmpNumberTotal number of employees reported for month 3 of the quarter.
Size Range: ..9999999
TotWagesNumberTotal remuneration paid to all employees during the quarter, including wages above the UI wage base.
Size Range: 0-999999999.99
TotExcessWagesNumberTotal wages paid in excess of the UI wage base for employees during the quarter.
Size Range: 0-999999999.99
TotTaxableWagesNumberWages subject to UI contributions, calculated as Gross Wages minus Excess Wages.
Size Range: 0-999999999.99
UITaxRateNumberApplicable Unemployment Insurance rate for the quarter
Size Range: 0-1
UITaxDueNumberTotal UI contributions due, calculated by applying the UI rate to taxable wages.
Size Range: 0-999999999.99
TotReEmpContribNumberRe-employment service fund contribution, calculated as 0.075% of taxable wages.
Size Range: 0-999999999.99
UISubTotalNumberSubtotal of contributions due, equal to UI contributions plus re-employment contributions.
Size Range: 0-999999999.99
UnderpaymentNumberAmount of UI contributions previously underpaid, including any outstanding balance.
Size Range: 0-999999999.99
BalanceDueNumberTotal amount due after adding previous underpayments to the current subtotal.
Size Range: 0-999999999.99
OverpaymentNumberAmount of UI contributions previously overpaid and available as credit.
Size Range: 0-999999999.99
UITotDueNumberFinal UI tax payable after adjusting subtotal with prior underpayments and overpayments.
Size Range: 0-999999999.99
IsLiabRefundBooleanWhen true identifies the UI overpaid amount applied to outstanding liabilities or refund, or both
WHDetailsObjectObject Identifies the information regarding the Withholding details
WHIdNumNumberNew York withholding account number.
Size Range: 12
Format : ##-#######-##-#
TotTaxWHNumberTotal New York State, New York City, and Yonkers tax withheld during the quarter
Size Range: 0-999999999.99
OverpaymentNumberWithholding tax overpayment carried forward from the previous quarter
Size Range: 0-999999999.99
TaxPaidNumberTotal withholding deposits made for the quarter, including all submitted payments
Size Range: 0-999999999.99
BalanceDueNumberWithholding tax amount due for the quarter after adjusting withheld tax with payments and prior overpayments.
Size Range: 0-999999999.99
OverPaymentRecoveryTypestringGets the overpayment recovery type, whether to have the IRS refund the excess amount or apply it to next return.
Allowed values

"REFUND", "APPLYTORETURN"

TotTaxDueNumberTotal amount due, including withholding tax payable and any other applicable liabilities
Size Range: 0-999999999.99
EmployeeDetailsObjectObject that contains infromation of the employees for the business
EmpSequenceIdstringA unique reference ID for the submission that can be used to identify a particular employee. The Sequence ID will be returned in the Response for your reference.
EmployeeIdGuidA unique identifier generated by TaxBandits for an employee. You can use this ID for your future reference to Update.
SSNstringEnter the nine-digit SSN of the employee.
Size Range: 9-11 digits
FirstNmstringFirst Name of the employee
Size Range: ..20
MiddleNmstringMiddle Name of the employee
Size Range: ..20
LastNmstringLast Name of the employee
Size Range: ..20
SuffixstringSuffix of the Individual
Allowed values

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

USAddressobjectUS address of the employee
Address1stringAddress of the Employee (street address or post office box of that locality)
Size Range: ..46
Address2stringOptional Suite or apartment number of the Employee.
Size Range: ..46
CitystringCity where the Employer/Payer is based out of
Size Range: ..50
StatestringName of the state where the Employee is based out of
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"

ZipCdstringZip Code the State where the Employee is based out of.
Size Range: 5..10
WageTypestringIndicates the type of wages reported
Allowed values

"REGULAR", "OTHER"

UIGrossWagesNumberTotal unemployment insurance (UI) remuneration paid to the employee during the quarter, before deductions and without wage base limits.
Size Range: 0-999999999.99
UIExcessWagesNumberTotal unemployment insurance (UI) excess wages paid to the employee during the quarter
Size Range: 0-999999999.99
UITaxableWagesNumberTotal unemployment insurance (UI) taxable wages paid to the employee during the quarter
Size Range: 0-999999999.99
WHGrossWagesNumberFederal gross wages are subject to withholding tax for the employee during the quarter.
Size Range: 0-999999999.99
TotNYSWHNumberTotal New York State tax withheld from the employee's wages during the quarter.
Size Range: 0-999999999.99
TotNYCWHNumberTotal New York City tax withheld from the employee's wages during the quarter.
Size Range: 0-999999999.99
YonkersWHNumberTotal Yonkers tax withheld from the employee's wages during the quarter.
Size Range: 0-999999999.99
TotWHNumberTotal withholding tax for the quarter, calculated as the sum of New York State, New York City, and Yonkers taxes withheld across all employees.
Size Range: 0-999999999.99
NYTPRINstringNew York Tax Preparer Registration Identification Number of the paid preparer, required if the preparer is registered in New York.
NYTPRINExclCodestringTwo-digit code indicating the reason the preparer is exempt from NYTPRIN registration, used when a NYTPRIN is not required.

Request Params

"statefilings/NYWHUI/Get?RecordId=019c9d54-3412-737c-8a75-e75d39597914&SubmissionId=019c9d54-05cc-7249-82d1-580e441f9ace"

Response JSON

Success Response - This is a sample response for successful API requests.


{
"StatusCode": "200",
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "019e4a50-e660-74f8-9955-3cdd1aef7a95",
"StateWhUIRecords": [
{
"SequenceId": "001",
"RecordId": "019e4a50-ed29-7136-b6b2-2e73897126dc",
"ReturnHeader": {
"Qtr": "Q1",
"TaxYr": "2026",
"Business": {
"BusinessId": "808850c1-d4a1-4ad1-86d0-f58e23f50502",
"BusinessNm": "Snowdaze LLC",
"PayerRef": null,
"FirstNm": null,
"MiddleNm": null,
"LastNm": null,
"Suffix": null,
"TradeNm": "Vertex Builders",
"IsEIN": true,
"EINorSSN": "45-1154828",
"Email": "natalie.zimmerman@vertexconstruction.com",
"ContactNm": "Natalie Zimmerman",
"Phone": "(803) 555-1234",
"PhoneExtn": null,
"Fax": null,
"BusinessType": "PART",
"SigningAuthority": {
"Name": "John",
"Phone": "(853) 123-1232",
"BusinessMemberType": "OWNER"
},
"KindOfEmployer": null,
"KindOfPayer": null,
"IsBusinessTerminated": false,
"IsForeign": false,
"USAddress": {
"Address1": "350 5th Ave",
"Address2": "Floor 59",
"City": "New York",
"State": "NY",
"ZipCd": "10118"
},
"ForeignAddress": null,
"ACADetails": null
}
},
"ReturnData": {
"FormNYS45": {
"BusinessTransferredType": "PART",
"IsBusinessTransferred": true,
"BusinessTransferredDetails": {
"DateOfChange": "04/30/2026",
"NewBusinessName": "Baseline Enterprises",
"NewBusinessEIN": "12-3456780",
"USAddress": {
"Address1": "6910, Main St",
"Address2": "87th-Cordinal Avenue",
"City": "RokHill",
"State": "NC",
"ZipCd": "27201"
}
},
"IsDepHealthInsurance": false,
"IsCloseWHAcc": false,
"LastPayrollDt": null,
"IsSeasonal": false,
"SPICode": "12",
"UIDetails": {
"UIIdNum": "85-41257 3",
"NumOfEmp": {
"Month1Emp": 1,
"Month2Emp": 1,
"Month3Emp": 1
},
"TotWages": 4000,
"TotExcessWages": 2000,
"TotTaxableWages": 2000,
"UITaxRate": 1,
"UITaxDue": 2000,
"TotReEmpContrib": 1.5,
"UISubTotal": 2001.5,
"Underpayment": 2000,
"BalanceDue": 4001.5,
"Overpayment": 750,
"UITotDue": 3251.5,
"IsLiabRefund": false
},
"WHDetails": {
"WHIdNum": "12-3456789-01-2",
"TotTaxWH": 6000,
"Overpayment": 10000,
"TaxPaid": 10000,
"TotPayment": 20000,
"BalanceDue": "-14000",
"OverPaymentRecoveryType": "REFUND"
},
"TotTaxDue": 3251.5,
"EmployeeDetails": [
{
"EmpSequenceId": "12",
"EmployeeId": "14aa75b2-dc8b-48bf-8e6d-550c7b491336",
"EmpRef": "Payref002",
"SSN": "321-52-2023",
"FirstNm": "kelly",
"MiddleNm": "A",
"LastNm": "roger",
"Suffix": "Sr",
"WageType": "REGULAR",
"UIGrossWages": 4000,
"FedGrossWages": 2000,
"UIExcessWages": 2000,
"UITaxableWages": 2000,
"NYSWH": 2000,
"NYCWH": 2000,
"YonkersWH": 2000,
"USAddress": {
"Address1": "12 Main St",
"Address2": "CC avenue",
"City": "Rock Hill",
"State": "SC",
"ZipCd": "29730"
}
}
],
"TotFedGrossWages": 2000,
"TotNYSTaxWH": 2000,
"TotNYCTaxWH": 2000,
"TotYonkersWH": 2000,
"TotTaxWH": 6000,
"NYTPRIN": "",
"NYTPRINExclCode": ""
}
}
}
],
"Errors": null
}