Skip to main content
Version: 2.0.0

Get

Get

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

GET statefilings/MDMW506WH/get 

Request Body

FieldTypeDescription
SubmissionIdGuidUnique identifier of a submission.
RecordIdGuidAn unique identifier generated by TaxBandits when a 941ME return is created. Mention the return's Record ID that you want to get.A unique identifier generated by TaxBandits when an MW506Q return is created. Mention the return's Record ID that you want to get.

Response Body

FieldTypeDescription
SubmissionIdGuidUnique identifier created by TaxBandits for each submission.
StateWHRecordsObject[]Object to identify the records.
SequenceIdStringA unique identifier for this record.
Size Range: 1–50
ReturnHeaderObjectContains business information.
TaxYearStringThe tax year for which the Form MW506Q is to be filed.
Allowed values

Allowed values: "2025", "2026"

QtrStringThe quarter for which the Form MW506Q is to be filed.
Allowed values

Allowed values: "Q1", "Q2", "Q3", "Q4"

BusinessObjectObject to identify the Business Details.
BusinessIdGuidOptional. Use the unique Business ID (Generated by TaxBandits) that you received in the response of the Business CREATE Endpoint. If you do not have a Business ID, ignore the field. By giving the Business ID, you do not have to provide all the business information again.
PayerRefStringOptional. Your unique identifier for the payer. Can replace BusinessId in future requests.
Size Range: 50
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.
Allowed values

Allowed values: "PLAIN_TIN" — Pass TIN directly.

TINTypeStringSpecify the TIN type of the business.
Allowed values

Allowed values: "EIN"

TINStringThe TIN value according to the Format selected.
BusinessNmStringLegal name of the business. Required when TINType is EIN.
Size Range: 75
NameCtrlStringName control of the business as registered with the IRS.
Size Range: 4
DBADetailsObjectOptional. DBA (Doing Business As) information.
DBANmStringName of the DBA.
Size Range: 75
DBARefStringUnique identifier for the DBA.
Size Range: 1-50
DBAIdGuidTaxBandits-generated DBA identifier.
AddressObjectAddress information of the DBA.
Address1StringStreet address or PO Box.
Size Range: 46
Address2StringOptional. Suite or apartment number.
Size Range: 46
CityStringDBA's city.
Size Range: 50
ProvinceOrStateStringDBA's province or state name.
Allowed values

When the country code is US:
"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"

When the country code is CA:
"AB", "BC", "MB", "NB", "NL", "NT", "NS", "NU", "ON", "PE", "QC", "SK", "YT"

Note: The size range is set to 50 for all countries except the United States and Canada.

ZipCdStringDBA's ZIP code.
Size Range: 5-16
CountryStringDBA's 2-character country code.
Allowed values

Allowed values: "US", "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"

AddressObjectPrimary address of the business.
Address1StringStreet address or PO Box of the business.
Size Range: 46
Address2StringOptional. Suite or apartment number of the business.
Size Range: 46
CityStringCity of the business.
Size Range: 50
ProvinceOrStateStringProvince or state name of the business.
Allowed values

When the country code is US:
"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"

When the country code is CA:
"AB", "BC", "MB", "NB", "NL", "NT", "NS", "NU", "ON", "PE", "QC", "SK", "YT"

Note: The size range is set to 50 for all countries except the United States and Canada.

ZipCdStringZIP code of the business.
Size Range: 5-16
CountryString2-character country code of the business.
Allowed values

Allowed values: "US", "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"

ContactDetailsObjectDetails of the person the IRS can contact regarding the given business.
FirstNmStringFirst name of the contact person.
Size Range: 20
MiddleNmStringOptional. Middle name of the contact person.
Size Range: 20
LastNmStringLast name of the contact person.
Size Range: 20
SuffixStringOptional. The suffix of the contact person.
Allowed values

Allowed values: "Jr", "Sr", "I", "II", "III", "IV", "V", "VI", "VII"

PhoneStringOptional. Phone number of the contact person.
Size Range: 10 digits
PhoneExtnStringOptional. Phone extension number.
Size Range: 5
EmailStringOptional. Email address of the contact person.
Size Range: ..100
FaxStringOptional. Fax number of the contact person.
Size Range: 10 digits
BusinessTypeStringLegal structure of the business.
Allowed values

Allowed values: "ESTE", "PART", "CORP", "EORG", "SPRO"

SigningAuthorityObjectDetails of the person authorized to sign the return. Mandatory for 94x forms.
FirstNmStringFirst name of the signatory.
Size Range: 20
MiddleNmStringOptional. Middle name of the signatory.
Size Range: 20
LastNmStringLast name of the signatory.
Size Range: 20
SuffixStringOptional. The suffix of the signatory.
Allowed values

Allowed values: "Jr", "Sr", "I", "II", "III", "IV", "V", "VI", "VII"

PhoneStringOptional. Phone number of the signatory
Size Range: 10
PhoneExtnStringOptional. Phone extension number of the signatory.
Size Range: 5
BusinessMemberTypeStringOptional. Title or role of the signatory.
Allowed values

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"

ReturnDataObjectContains the return information.
MW506QObjectIdentifies the Form MW506Q data.
WHIdNumberStringMaryland withholding file number.
Sample Format: XXXXXXXX
Size Range: 8
IsZeroTaxWithheldBooleanWhen true, indicates that no tax is withheld in this quarter.
TotalTaxWithheldNumberTotal tax withheld from all sources for the filing period.
Size Range: 0-999999999.99
TotalTaxPaidNumberTotal tax paid for the filing period.
Size Range: 0-999999999.99
ErrorsObject[]Displays detailed error information.
IdStringReturns the validation error ID.
NameStringName of the validation error.
MessageStringDescription of the validation error.

Request JSON​

"statefilings/MDMW506WH/get?SubmissionId=01a19c83-ddf6-7569-8b8a-8451a182ee0c&RecordId=01a19c83-e0c1-727d-8fe5-24fd3c9acccd"

Response JSON​

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

{
"SubmissionId": "01a19c83-ddf6-7569-8b8a-8451a182ee0c",
"StateWHRecords": [
{
"SequenceId": "01",
"RecordId": "01a19c83-e0c1-727d-8fe5-24fd3c9acccd",
"ReturnHeader": {
"Qtr": "Q3",
"TaxYear": "2026",
"Business": {
"BusinessId": "eaf3b6b4-c287-4047-9fce-b973c3d03e12",
"PayerRef": null,
"IsDefaultBusiness": true,
"TINDetails": {
"Format": "PLAIN_TIN",
"TINType": "EIN",
"TIN": "45-9800062"
},
"BusinessNm": "Snowdaze LLC",
"DBADetails": {
"DBANm": "Iceberg Icecreams",
"DBARef": "DBA1001",
"DBAId": "F5A5D222-4136-40BC-A059-F213516944F5",
"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": {
"FormMW506Q": {
"WHIdNum": "23432345",
"IsZeroTaxWithheld": false,
"TotalTaxWithheld": "1000",
"TotalTaxPaid": "500"
}
}
}
],
"Errors": null
}