Skip to main content
Version: 2.0.0

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

FieldTypeDescription
SubmissionIdGuidUnique identifier of a submission.
RecordIdGuidAn 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

FieldTypeDescription
SubmissionIdStringUnique identifier for the submission.
StateWHRecordsObject[]Object to identify the records.
SequenceIdStringA unique identifier for this record.
RecordIdGuidA unique identifier generated by TaxBandits when a M-941 return is created.
ReturnHeaderObjectContains business information.
TaxYearStringThe tax year for which the Form M-941 is to be filed.
QtrStringThe quarter for which the Form M-941 is to be filed.
BusinessobjectObject to identify the Business Details.
BusinessIdGuidThe unique Business ID (Generated by TaxBandits) that you received in the response of the Business CREATE Endpoint.
PayerRefstringThe unique identifier for the payer.
IsDefaultBusinessBooleanWhen set to TRUE, this business will be set as the default across requests that do not specify a business.
TINDetailsobjectTIN information for the business.
FormatstringSpecifies how the TIN is passed.
TINTypestringSpecify the TIN type of the business.
TINstringThe TIN value according to the Format selected.
IndividualNmobjectRequired when TINType is SSN. Provide individual name fields instead of BusinessNm.
FirstNmstringThe first name of the individual.
MiddleNmstringMiddle name of the individual.
LastNmstringThe last name of the individual.
SuffixstringSuffix of the individual's name.
BusinessNmstringLegal name of the business. Required when TINType is EIN.
NameCtrlstringName control of the business as registered with the IRS.
DBADetailsobject[]DBA (Doing Business As) information.
DBANmstringName of the DBA.
DBARefstringUnique identifier for the DBA.
DBAIdGuidTaxBandits-generated DBA identifier.
Addressobject[]Address information of the DBA.
Address1stringStreet address or PO Box.
Address2stringSuite or apartment number.
CitystringDBA's city.
ProvinceOrStatestringDBA's province or state name.
ZipcdstringDBA's ZIP code.
CountrystringDBA's 2-character country code.
EmailstringEmail address of the Business.
AddressobjectPrimary address of the business.
Address1stringStreet address or PO Box of the business.
Address2stringSuite or apartment number of the business.
CitystringCity of the business.
ProvinceOrStatestringProvince or state name of the business.
ZipCdstringZIP code of the business.
Countrystring2-character country code of the business.
ContactDetailsobject[]Details of the person the IRS can contact regarding the given business.
FirstNmstringFirst name of the contact person.
MiddleNmstringMiddle name of the contact person.
LastNmstringLast name of the contact person.
SuffixstringThe suffix of the contact person.
PhonestringPhone number of the contact person.
PhoneExtnstringPhone extension number.
EmailstringEmail address of the contact person.
FaxstringFax number of the contact person.
SigningAuthorityObjectDetails of the person authorized to sign the return.
FirstNmStringFirst name of the signatory.
MiddleNmStringMiddle name of the signatory.
LastNmStringLast name of the signatory.
SuffixStringThe suffix of the signatory.
PhoneStringPhone number of the signatory.
PhoneExtnStringPhone extension number of the signatory.
BusinessMemberTypeStringTitle or role of the signatory.
ReturnDataObjectIdentifies the Form M-941.
FormM941ObjectMassachusetts withholding tax returns.
WHIdNumStringMassachusetts withholding file number.
FilingFreqstringFiling frequency of the Form M-941.
MonthstringSelect the month for the monthly filing period. Note: Required if the filing frequency is Monthly.
IsFinalReturnBooleanWhen true, indicates that it is a final return.
NumOfEmpNumberNumber of employees.
TotTaxWHNumberMassachusetts income tax withheld from all sources for the filing period.
IsTaxPaidBooleanWhen true, identifies that the employer has made previous payments.
TaxPaidDetailsObject[]Identifies the tax paid details.
DatestringEnter the date the tax was paid. Format: MM/DD/YYYY or MM-DD-YYYY.
AmountstringTax paid on the date mentioned.
TotTaxPaidNumberTotal tax paid for the filing period.
OverpaymentNumberPrevious credits/payments made for the filing period.
TotPaymentNumberTotal payments and credits.
TotWHDueNumberTotal tax due.
PenaltyNumberTotal penalty amount, if applicable.
InterestNumberTotal interest due amount, if applicable.
BalanceDueNumberTotal due amount.
OverPaymentRecoveryTypestringGets the overpayment recovery type. Whether to have the state refund the excess amount or apply it to the next return.
StatePaymentObjectObject that contains information about the payment details.
AccountTypestringBank account type.
BankNmstringBank account name of payment.
BankRoutingNumstringBank Routing Number of payment.
BankAccountNumstringBank Account Number for payment.
PaymentAmtNumberAmount to be paid.
PaymentReqDateStringDate when the payment has to be made. Enter the date in the format: MM/DD/YYYY or MM-DD-YYYY (Example: 01/25/2026).
Errorsobject[]Shows detailed error information.
IdstringReturns the validation error ID.
NamestringName of the validation error.
MessagestringDescription of the validation error.

Request JSON​

"statefilings/mawh/get?SubmissionId=01a0e772-b3b0-7717-bab7-0320f18d81f5&RecordId=01a0e772-b506-713b-a83a-245c1fc00777"

Response JSON​

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
}