Skip to main content
Version: 1.7.3

Get

Get

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

GET StateFilings/NYWH/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-1 return is created.

Response Body

FieldTypeDescription
SubmissionIdGuidUnique identifier created by TaxBandits for each submission. Not required when you are creating a return.
StateWHRecordsObject[]Object to create Form NYS-1
SequenceIdStringA unique number given by an inbound application to identify failed records.
Size Range: ..10
ReturnHeaderObjectIdentifies the supporting details of Form NYS-1
QtrStringThe quarter for which Form NYS-1 needs to be filed.
Allowed values

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

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

2025,2026

BusinessObjectThe details of the business you’re filing for.
BusinessNmStringName of the business.
Size Range: ..75
PayerRefstringOptional A unique identifier for each payer completing their information. This identifier can be used in future references to the payer in the API.
Size Range: ..50
TradeNmStringOptional Name under which the business operates.
Size Range: ..75
IsEINBooleanWhen true, it identifies the business with an EIN.
EINorSSNStringWhen IsEIN is true, use Employer Identification Number (EIN).
Size Range: 9-11
EmailStringEmail address of the business.
Size Range: ..100
IsForeignBooleanWhen true, it identifies the business as having a foreign address.
USAddressObjectIf IsForeign is false, pass the US address of the business.
Address1StringEmployer/Payer’s US address (street address or post office box).
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 the foreign address of the business.
Address1StringEmployer/Payer’s foreign address (street address or post office box).
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
ReturnDataObjectIdentifies the Form WH-10001
FormNYS1ObjectNew York State Return of Tax Withheld form data.
WHIdNumStringNew York withholding identification number.Note: Must begin with the employer's 9-digit EIN.
SPICodeStringOptional Special payroll indicator code.
Size Range: 2
LastPayrollDtStringLast date of payroll covered by this return.Sample Format: MM/DD/YYYY
IsAmendedReturnBooleanWhen true, it indicates this is an amended return.
PrevPayrollDtStringOptional Payroll date from the original return being amendedSample Format: MM/DD/YYYY.
L1TotNYWHAmtNumberNew York State tax withheld. Do not include the NYC or Yonkers tax.Size Range: 0-9999999999.99
L2TotNYCWHAmtNumberOptional New York City tax withheld. Leave blank if no NYC tax withheld.Size Range: 0-9999999999.99
L3YonkersWHAmtNumberOptional Yonkers tax withheld.
Size Range: 0-9999999999.99
L4TotWHAmtNumberTotal withheld
Size Range: 0-9999999999.99
L5CreditAmtNumberOptional Credit claimed from prior overpayment.
Size Range: 0-9999999999.99
L6PrevPaidAmtNumberOptional Amount previously paid (amended returns only).
Size Range: 0-9999999999.99
L7TotTaxDueNumberTotal amount due.
Size Range: 0-9999999999.99
NYTPRINStringNew York Tax Preparer Registration Identification Number.
NYTPRINExclCodeStringNYTPRIN exclusion code.
Allowed values

: "01"–"10"

Request Params

"StateFilings/A1QRTWH/Get?RecordId=01999580-9061-77d5-86be-bc5686a6a5a5&SubmissionId=0199c8cc-6d8a-77a7-b401-aed04901d431"

Response JSON

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

{
"StatusCode": "200",
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "019c7082-6a57-7559-a5e9-ae56a6c1f08a",
"StateWHRecords": [
{
"SequenceId": "001",
"RecordId": "01999580-9061-77d5-86be-bc5686a6a5a5",
"ReturnHeader": {
"Qtr": "Q1",
"TaxYr": "2026",
"Business": {
"BusinessId": "",
"BusinessNm": "QuickBooksLLC",
"TradeNm": null,
"IsEIN": true,
"EINorSSN": "72-7272727",
"Email": "saidineesha.s+001@spantechnologyservices.com",
"ContactNm": "EthanBrooks",
"Phone": "(444)123-3112",
"PhoneExtn": null,
"Fax": "(888)288-2828",
"BusinessType": "SCORP",
"KindOfEmployer": null,
"KindOfPayer": null,
"IsBusinessTerminated": false,
"IsForeign": false,
"USAddress": {
"Address1": "7900Sudley",
"Address2": "Rd",
"City": "Manassas",
"State": "VA",
"ZipCd": "20109"
},
"ForeignAddress": {
"Address1": null,
"Address2": null,
"City": null,
"ProvinceOrStateNm": null,
"Country": null,
"PostalCd": null
},
"SigningAuthority": {
"Name": "EthanBrooks",
"Phone": "(444)123-3112",
"BusinessMemberType": "VICEPRESIDENT"
}
}
},
"ReturnData": {
"FormNYS1": {
"WHIdNum": "72-7272727-12",
"SPICode": "23",
"LastPayrollDt": "7/21/2026",
"L1TotNYWHAmt": "1000.00",
"L2TotNYCWHAmt": "2000.00",
"L3YonkersWHAmt": "0.00",
"L4TotWHAmt": "3000.00",
"L5CreditAmt": "100.00",
"L6TaxPaid": "200.00",
"L7TotTaxDue": "2700.00",
"NYTPRIN": "dgd1223",
"NYTPRINExclCode": "10"
}
}
}
],
"Errors": null
}