Create
Create
Use this endpoint to create a Maryland Withholding Report for an employer (payer) to report the total Maryland income tax withheld from employee wages for a specified calendar quarter and remit the corresponding withholding tax due to the Maryland Department of Revenue.
The Maryland Withholding Report must be filed every quarter, even if no tax is withheld or no wages were paid.
POST statefilings/MDMW506WH/create Request Body
| Field | Type | Description |
|---|---|---|
| StateWHRecords | Object[] | Object to identify the records. |
| SequenceId | String | A unique identifier for this record. Size Range: 1–50 |
| ReturnHeader | Object | Contains business information. |
| TaxYear | String | The tax year for which the Form MW506Q is to be filed. Allowed valuesAllowed values: "2025", "2026" |
| Qtr | String | The quarter for which the Form MW506Q is to be filed. Allowed valuesAllowed values: "Q1", "Q2", "Q3", "Q4" |
| Business | Object | Object to identify the Business Details. |
| BusinessId | Guid | Optional. 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. |
| PayerRef | String | Optional. Your unique identifier for the payer. Can replace BusinessId in future requests. Size Range: 50 |
| 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. Allowed valuesAllowed values: "PLAIN_TIN" — Pass TIN directly. |
| TINType | String | Specify the TIN type of the business. Allowed valuesAllowed values: "EIN" |
| TIN | String | The TIN value according to the Format selected. |
| BusinessNm | String | Legal name of the business. Required when TINType is EIN. Size Range: 75 |
| NameCtrl | String | Name control of the business as registered with the IRS. Size Range: 4 |
| DBADetails | Object | Optional. DBA (Doing Business As) information. |
| DBANm | String | Name of the DBA. Size Range: 75 |
| DBARef | String | Unique identifier for the DBA. Size Range: 1-50 |
| DBAId | Guid | TaxBandits-generated DBA identifier. |
| Address | Object | Address information of the DBA. |
| Address1 | String | Street address or PO Box. Size Range: 46 |
| Address2 | String | Optional. Suite or apartment number. Size Range: 46 |
| City | String | DBA's city. Size Range: 50 |
| ProvinceOrState | String | DBA's province or state name. Allowed valuesWhen the country code is US: |
| ZipCd | String | DBA's ZIP code. Size Range: 5-16 |
| Country | String | DBA's 2-character country code. Allowed valuesAllowed 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" |
| Address | Object | Primary address of the business. |
| Address1 | String | Street address or PO Box of the business. Size Range: 46 |
| Address2 | String | Optional. Suite or apartment number of the business. Size Range: 46 |
| City | String | City of the business. Size Range: 50 |
| ProvinceOrState | String | Province or state name of the business. Allowed valuesWhen the country code is US: |
| ZipCd | String | ZIP code of the business. Size Range: 5-16 |
| Country | String | 2-character country code of the business. Allowed valuesAllowed 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" |
| ContactDetails | Object | Details of the person the IRS can contact regarding the given business. |
| FirstNm | String | First name of the contact person. Size Range: 20 |
| MiddleNm | String | Optional. Middle name of the contact person. Size Range: 20 |
| LastNm | String | Last name of the contact person. Size Range: 20 |
| Suffix | String | Optional. The suffix of the contact person.Allowed valuesAllowed values: "Jr", "Sr", "I", "II", "III", "IV", "V", "VI", "VII" |
| Phone | String | Optional. Phone number of the contact person. Size Range: 10 digits |
| PhoneExtn | String | Optional. Phone extension number. Size Range: 5 |
| String | Optional. Email address of the contact person. Size Range: ..100 | |
| Fax | String | Optional. Fax number of the contact person. Size Range: 10 digits |
| BusinessType | String | Legal structure of the business. Allowed valuesAllowed values: "ESTE", "PART", "CORP", "EORG", "SPRO" |
| SigningAuthority | Object | Details of the person authorized to sign the return. Mandatory for 94x forms. |
| FirstNm | String | First name of the signatory. Size Range: 20 |
| MiddleNm | String | Optional. Middle name of the signatory. Size Range: 20 |
| LastNm | String | Last name of the signatory. Size Range: 20 |
| Suffix | String | Optional. The suffix of the signatory.Allowed valuesAllowed values: "Jr", "Sr", "I", "II", "III", "IV", "V", "VI", "VII" |
| Phone | String | Optional. Phone number of the signatory Size Range: 10 |
| PhoneExtn | String | Optional. Phone extension number of the signatory. Size Range: 5 |
| BusinessMemberType | String | Optional. Title or role of the signatory. Allowed valuesAllowed 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" |
| ReturnData | Object | Contains the return information. |
| MW506Q | Object | Identifies the Form MW506Q data. |
| WHIdNumber | String | Maryland withholding file number. Sample Format: XXXXXXXX Size Range: 8 |
| IsZeroTaxWithheld | Boolean | When true, indicates that no tax is withheld in this quarter. |
| TotalTaxWithheld | Number | Total tax withheld from all sources for the filing period. Size Range: 0-999999999.99 |
| TotalTaxPaid | Number | Total tax paid for the filing period. Size Range: 0-999999999.99 |
Response Body
| Field | Type | Description |
|---|---|---|
| SubmissionId | Guid | Unique identifier for a submission. |
| SuccessRecords | Object[] | Provides detailed information about the success status of Form MW506Q records. |
| SequenceId | String | A unique reference ID for the submission that can be used to identify a particular record. The Sequence ID will be returned in the response for your reference. |
| BusinessId | Guid | Unique identifier for the business (payer) generated by TaxBandits. |
| PayerRef | String | Unique identifier for the business (payer) provided by you. |
| RecordId | Guid | A unique identifier generated by TaxBandits when a Form MW506Q return is created. |
| FormType | String | Type of form. |
| Status | String | Returns the record status. |
| StatusTs | String | Returns the date and time when the return was created. |
| Info | String | Provides additional information about the return. |
| Errors | Object[] | Displays error information related to the state returns of Form MW506Q. |
| Id | String | Returns the validation error ID. |
| Name | String | Name of the validation error. |
| ErrorRecords | Object[] | Provides detailed information about the error status of Form MW506Q records. |
| SequenceId | String | A unique reference ID for the submission that can be used to identify a particular record. The Sequence ID will be returned in the response for your reference. |
| RecordId | Guid | Unique identifier for the record. |
| Errors | Object[] | Displays 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
{
"StateWHRecords": [
{
"SequenceId": "01",
"ReturnHeader": {
"Qtr": "Q3",
"TaxYear": "2026",
"Business": {
"BusinessId": null,
"IsDefaultBusiness": true,
"TINDetails": {
"Format": "PLAIN_TIN",
"TINType": "EIN",
"TIN": "45-9800062"
},
"IndividualNm": {
"FirstNm": "James",
"MiddleNm": "A",
"LastNm": "Anderson",
"Suffix": "Jr"
},
"BusinessNm": "Snowdaze LLC",
"NameCtrl": "SNOW",
"DBADetails": {
"DBANm": "Iceberg Icecreams",
"DBARef": "DBA1001",
"DBAId": null,
"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": "8035551234",
"PhoneExtn": "101",
"Email": "contact@snowdaze.com",
"Fax": "8035555678"
},
"BusinessType": "ESTE",
"SigningAuthority": {
"FirstNm": "Ambrane",
"MiddleNm": "A",
"LastNm": "Cavil",
"Suffix": "Jr",
"Phone": "8035551000",
"PhoneExtn": "111",
"BusinessMemberType": "ADMINISTRATOR"
}
}
},
"ReturnData": {
"FormMW506Q": {
"WHIdNum": "23432345",
"IsZeroTaxWithheld": false,
"TotalTaxWithheld": "1000.00",
"TotalTaxPaid": "500.00"
}
}
}
]
}
Response JSON
- 200
- 401
Success Response - This is a sample response for successful API requests.
{
"SubmissionId": "01a19c83-ddf6-7569-8b8a-8451a182ee0c",
"SuccessRecords": [
{
"SequenceId": "01",
"BusinessId": "eaf3b6b4-c287-4047-9fce-b973c3d03e12",
"PayerRef": null,
"RecordId": "01a19c83-e0c1-727d-8fe5-24fd3c9acccd",
"FormType": "MW506Q",
"Status": "CREATED",
"StatusTs": "2026-11-02 08:47:30 -05:00",
"Info": null,
"Errors": null
}
],
"ErrorRecords": null,
"Errors": null
}
Unauthorized Response - You'll get the below response when your API requests don't contain valid authentication credentials.
{
"Errors": [
{
"Id": "AUTH-100018",
"Name": "Authorization",
"Message": "JWT EXPIRED"
}
]
}