Delete
Use this endpoint to delete any in-progress 941 returns created in TaxBandits. When deleting, provide unique identifiers such as SubmissionId, RecordId, etc. If only the SubmissionId is provided, all returns associated with that ID will be deleted.
note
In the Live environment, returns with a Transmitted or Accepted status cannot be deleted. However, in the Sandbox environment, you can delete returns regardless of their status (Transmitted, Rejected, or Accepted).
The IRS has removed the COVID-related fields in Form 941 from tax year 2024. To refer to the documentation of Form 941 for tax year 2023,click here.
DELETE Form941/Delete
Request Params
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission |
RecordIds | Guid[] | List of record Ids to be deleted. |
Response Body
Field | Type | Description |
---|---|---|
StatusCode | number | Returns the HTTP status codes like 200,300 etc. |
StatusName | string | Name of the status code. |
StatusMessage | string | Detailed status message. |
Form941Records | object | Pulls the Form 941 records with Success and Error statuses. |
SuccessRecords | object[] | It will show the detailed information about the success status of Form 941 Records. |
SequenceId | string | A unique number given by an inbound application to identify failed records. |
RecordId | Guid | Unique identifier of a record. |
RecordStatus | string | Returns the status of the records. |
CreatedTs | string | Date and time of return created. |
UpdatedTs | string | Date and time of return updated. |
ErrorRecords | object[] | It will show the detailed information about the error status of Form 941 Records. |
SequenceId | string | A unique number given by an inbound application to identify failed records. |
RecordId | Guid | Unique identifier of a record. |
Errors | object[] | Shows detailed error information. |
Id | string | Returns the validation error code. |
Name | string | Name of the validation error. |
Message | string | Description of the validation error. |
Errors | object[] | Shows detailed error information. |
Id | string | Returns the validation error code. |
Name | string | Name of the validation error. |
Message | string | Description of the validation error. |
- Request params
- Node.js
- Python
- Java
- .NET C#
Request Params
Sample | Description | Action |
---|---|---|
Sample 1 | Delete an existing form 941 return for the given SubmissionId and RecordId. |
Sample 1
"Form941/delete?SubmissionId=66c6e0c7-251e-4f00-8a75-14b5656a59db&Recordids=8f85ff98-55ea-4fa9-bc20-7abe02625d14"
Response Json
Response | Description | Action |
---|---|---|
200 | Success Response - This is a sample response for successful API requests. |
Response: 200
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"Form941Records": {
"SuccessRecords": [
{
"SequenceId": "001",
"RecordId": "8f85ff98-55ea-4fa9-bc20-7abe02625d14",
"RecordStatus": "DELETED",
"CreatedTs": "2025-03-20 03:50:02 -04:00",
"UpdatedTs": "2025-03-20 04:07:21 -04:00",
"Errors": null
}
],
"ErrorRecords": null
},
"Errors": null
}