Skip to main content
Version: 1.7.3

Delete

Use this method to delete the existing 941-X returns created in TaxBandits. To delete an existing return, refer to it using unique identifiers such as SubmissionId, RecordId, and so on. If you provide only the SubmissionId, all the returns created under that submission will be deleted.

note

A Transmitted return cannot be deleted.

If you need to delete the Transmitted or Accepted status records in Sandbox, you can contact our developer@taxbandits.com.

DELETE Form941X/Delete 
Run in Postman

Request Params

FieldTypeDescription
SubmissionIdGuidUnique identifier of a submission.
RecordIdsstringOptional List of record Ids to be deleted.

Request Params

"Form941X/Delete?Submissionid=7c1f1df2-61f1-4881-88d5-2a5db230e987&Recordids=9ae8badc-d68e-4913-a050-fae80d0a9acd"

Response Body

FieldTypeDescription
StatusCodenumberReturns the HTTP status codes like 200,300 etc.
StatusNamestringName of the status code.
StatusMessagestringDetailed status message.
Form941XRecordsobjectPulls the Form 941-X records with Success and Error statuses.
    SuccessRecordsobject[]It will show the detailed information about the success status of Form 941-X Records.
        SequenceIdstringA unique number given by an inbound application to identify failed records.
        RecordIdGuidUnique identifier of a record.
        RecordStatusstringReturns the status of the records.
        CreatedTsstringDate and time of return created.
        UpdatedTsstringDate and time of return updated.
    ErrorRecordsobject[]It will show the detailed information about the error status of Form 941 Records.
        SequenceIdstringA unique number given by an inbound application to identify failed records.
        RecordIdGuidUnique identifier of a record.
        Errorsobject[]Shows detailed error information.
            IdstringReturns the validation error code.
            NamestringName of the validation error.
            MessagestringDescription of the validation error.
Errorsobject[]Shows detailed error information.
    IdstringReturns the validation error code.
    NamestringName of the validation error.
    MessagestringDescription of the validation error.

Response JSON

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

{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "7c1f1df2-61f1-4881-88d5-2a5db230e987",
"Form941XRecords": {
"SuccessRecords": [
{
"SequenceId": "002",
"RecordId": "9ae8badc-d68e-4913-a050-fae80d0a9acd",
"RecordStatus": "DELETED",
"CreatedTs": "2024-09-16 03:33:41 -04:00",
"UpdatedTs": "2024-09-16 04:04:19 -04:00",
"Errors": null
}
],
"ErrorRecords": null
},
"Errors": null
}