Get
Get
Use this endpoint to retrieve the information of a previously created Massachusetts Form M-941 for the corresponding employer (payer). Your request JSON must include the corresponding SubmissionId and the RecordId (optional) for the forms.
POST StateFilings/MAWH/Get Request Body
| Field | Type | Description |
|---|---|---|
| SubmissionId | Guid | Unique identifier of a submission. |
| RecordId | Guid | An unique identifier generated by TaxBandits when a M-941 return is created. Mention the return's Record ID that you want to get. |
Response Body
| Field | Type | Description |
|---|---|---|
| SubmissionId | String | Unique identifier for the submission. |
| StateWHRecords | Object[] | Object to identify the records. |
| SequenceId | String | A unique identifier for this record. |
| RecordId | Guid | A unique identifier generated by TaxBandits when a M-941 return is created. |
| ReturnHeader | Object | Contains business information. |
| TaxYear | String | The tax year for which the Form M-941 is to be filed. |
| Qtr | String | The quarter for which the Form M-941 is to be filed. |
| Business | object | Object to identify the Business Details. |
| BusinessId | Guid | The unique Business ID (Generated by TaxBandits) that you received in the response of the Business CREATE Endpoint. |
| PayerRef | string | The unique identifier for the payer. |
| IsDefaultBusiness | Boolean | When set to TRUE, this business will be set as the default across requests that do not specify a business. |
| TINDetails | object | TIN information for the business. |
| Format | string | Specifies how the TIN is passed. |
| TINType | string | Specify the TIN type of the business. |
| TIN | string | The TIN value according to the Format selected. |
| IndividualNm | object | Required when TINType is SSN. Provide individual name fields instead of BusinessNm. |
| FirstNm | string | The first name of the individual. |
| MiddleNm | string | Middle name of the individual. |
| LastNm | string | The last name of the individual. |
| Suffix | string | Suffix of the individual's name. |
| BusinessNm | string | Legal name of the business. Required when TINType is EIN. |
| NameCtrl | string | Name control of the business as registered with the IRS. |
| DBADetails | object[] | DBA (Doing Business As) information. |
| DBANm | string | Name of the DBA. |
| DBARef | string | Unique identifier for the DBA. |
| DBAId | Guid | TaxBandits-generated DBA identifier. |
| Address | object[] | Address information of the DBA. |
| Address1 | string | Street address or PO Box. |
| Address2 | string | Suite or apartment number. |
| City | string | DBA's city. |
| ProvinceOrState | string | DBA's province or state name. |
| Zipcd | string | DBA's ZIP code. |
| Country | string | DBA's 2-character country code. |
| string | Email address of the Business. | |
| Address | object | Primary address of the business. |
| Address1 | string | Street address or PO Box of the business. |
| Address2 | string | Suite or apartment number of the business. |
| City | string | City of the business. |
| ProvinceOrState | string | Province or state name of the business. |
| ZipCd | string | ZIP code of the business. |
| Country | string | 2-character country code of the business. |
| ContactDetails | object[] | Details of the person the IRS can contact regarding the given business. |
| FirstNm | string | First name of the contact person. |
| MiddleNm | string | Middle name of the contact person. |
| LastNm | string | Last name of the contact person. |
| Suffix | string | The suffix of the contact person. |
| Phone | string | Phone number of the contact person. |
| PhoneExtn | string | Phone extension number. |
| string | Email address of the contact person. | |
| Fax | string | Fax number of the contact person. |
| SigningAuthority | Object | Details of the person authorized to sign the return. |
| FirstNm | String | First name of the signatory. |
| MiddleNm | String | Middle name of the signatory. |
| LastNm | String | Last name of the signatory. |
| Suffix | String | The suffix of the signatory. |
| Phone | String | Phone number of the signatory. |
| PhoneExtn | String | Phone extension number of the signatory. |
| BusinessMemberType | String | Title or role of the signatory. |
| ReturnData | Object | Identifies the Form M-941. |
| FormM941 | Object | Massachusetts withholding tax returns. |
| WHIdNum | String | Massachusetts withholding file number. |
| FilingFreq | string | Filing frequency of the Form M-941. |
| Month | string | Select the month for the monthly filing period. Note: Required if the filing frequency is Monthly. |
| IsFinalReturn | Boolean | When true, indicates that it is a final return. |
| NumOfEmp | Number | Number of employees. |
| TotTaxWH | Number | Massachusetts income tax withheld from all sources for the filing period. |
| IsTaxPaid | Boolean | When true, identifies that the employer has made previous payments. |
| TaxPaidDetails | Object[] | Identifies the tax paid details. |
| Date | string | Enter the date the tax was paid. Format: MM/DD/YYYY or MM-DD-YYYY. |
| Amount | string | Tax paid on the date mentioned. |
| TotTaxPaid | Number | Total tax paid for the filing period. |
| Overpayment | Number | Previous credits/payments made for the filing period. |
| TotPayment | Number | Total payments and credits. |
| TotWHDue | Number | Total tax due. |
| Penalty | Number | Total penalty amount, if applicable. |
| Interest | Number | Total interest due amount, if applicable. |
| BalanceDue | Number | Total due amount. |
| OverPaymentRecoveryType | string | Gets the overpayment recovery type. Whether to have the state refund the excess amount or apply it to the next return. |
| StatePayment | Object | Object that contains information about the payment details. |
| AccountType | string | Bank account type. |
| BankNm | string | Bank account name of payment. |
| BankRoutingNum | string | Bank Routing Number of payment. |
| BankAccountNum | string | Bank Account Number for payment. |
| PaymentAmt | Number | Amount to be paid. |
| PaymentReqDate | String | Date when the payment has to be made. Enter the date in the format: MM/DD/YYYY or MM-DD-YYYY (Example: 01/25/2026). |
| Errors | object[] | Shows detailed error information. |
| Id | string | Returns the validation error ID. |
| Name | string | Name of the validation error. |
| Message | string | Description of the validation error. |
Request JSON
"statefilings/mawh/get?SubmissionId=01a0e772-b3b0-7717-bab7-0320f18d81f5&RecordId=01a0e772-b506-713b-a83a-245c1fc00777"
Response JSON
- 200
Success Response - This is a sample response for successful API requests.
{
"SubmissionId": "01a0e772-b3b0-7717-bab7-0320f18d81f5",
"StateWHRecords": [
{
"SequenceId": "001",
"RecordId": "01a0e772-b506-713b-a83a-245c1fc00777",
"ReturnHeader": {
"Qtr": null,
"Month": "AUG",
"TaxYear": "2026",
"Business": {
"BusinessId": "b53ced19-671e-4ef6-9d86-0de3ebb6abc0",
"PayerRef": null,
"IsDefaultBusiness": true,
"TINDetails": {
"Format": "PLAIN_TIN",
"TINType": "EIN",
"TIN": "45-0052655"
},
"BusinessNm": "Snowdaze LLC",
"DBADetails": {
"DBANm": "Iceberg Icecreams",
"DBARef": "DBA1001",
"DBAId": "8682A0E5-75DB-4781-B316-7D7BFEDF3217",
"Address": {
"Address1": "123 Main St",
"Address2": "Suite 1001",
"City": "Rock Hill",
"ProvinceOrState": "SC",
"ZipCd": "29730",
"Country": "US"
}
},
"Address": {
"Address1": "123 Main St",
"Address2": "Suite 1001",
"City": "Rock Hill",
"ProvinceOrState": "SC",
"ZipCd": "29730",
"Country": "US"
},
"ContactDetails": {
"FirstNm": "James",
"MiddleNm": "A",
"LastNm": "Anderson",
"Suffix": "Jr",
"Phone": "(803) 555-1234",
"PhoneExtn": "101",
"Email": "contact@snowdaze.com",
"Fax": "(803) 555-5678"
},
"BusinessType": "ESTE",
"SigningAuthority": {
"FirstNm": "Ambrane",
"MiddleNm": "A",
"LastNm": "Cavil",
"Suffix": "Jr",
"Phone": "(803) 555-1000",
"PhoneExtn": "111",
"BusinessMemberType": "ADMINISTRATOR"
},
"KindOfEmployer": null,
"KindOfPayer": null
}
},
"ReturnData": {
"FormM941": {
"WHIdNum": "WTH-74598501-543",
"FilingFreq": "MONTHLY",
"Month": "AUG",
"IsFinalReturn": true,
"NumOfEmp": 12,
"TotTaxWH": 20000,
"IsTaxPaid": true,
"TaxPaidDetails": [
{
"Date": "08/15/2026",
"Amount": 100
},
{
"Date": "08/05/2026",
"Amount": 60
}
],
"TotTaxPaid": 160,
"Overpayment": 60,
"TotPayment": 220,
"TotWHDue": 19780,
"Penalty": 100,
"Interest": 120,
"BalanceDue": 20000,
"OverPaymentRecoveryType": null
},
"StatePayment": {
"AccountType": "CHECKING",
"BankNm": "IFB",
"BankRoutingNum": "021000021",
"BankAccountNum": "9999948932",
"PaymentAmt": 20000,
"PaymentReqDate": "11/25/2025"
}
}
}
],
"Errors": null
}