Skip to main content
Version: 2.0.0

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

FieldTypeDescription
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

Response Body

FieldTypeDescription
SubmissionIdGuidUnique identifier for a submission.
SuccessRecordsObject[]Provides detailed information about the success status of Form MW506Q records.
SequenceIdStringA 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.
BusinessIdGuidUnique identifier for the business (payer) generated by TaxBandits.
PayerRefStringUnique identifier for the business (payer) provided by you.
RecordIdGuidA unique identifier generated by TaxBandits when a Form MW506Q return is created.
FormTypeStringType of form.
StatusStringReturns the record status.
StatusTsStringReturns the date and time when the return was created.
InfoStringProvides additional information about the return.
ErrorsObject[]Displays error information related to the state returns of Form MW506Q.
IdStringReturns the validation error ID.
NameStringName of the validation error.
ErrorRecordsObject[]Provides detailed information about the error status of Form MW506Q records.
SequenceIdStringA 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.
RecordIdGuidUnique identifier for the record.
ErrorsObject[]Displays detailed error information.
IdStringReturns the validation error ID.
NameStringName of the validation error.
MessageStringDescription 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​

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
}