Extend your software with TaxBandits IRS E-file API Integration

Skip to main content
Version: 1.7.1

Delete

You can delete the existing Form 941 returns created in TaxBandits. To delete an existing return, refer to it using unique identifiers such as SubmissionId, RecordId, and so on. A Transmitted return cannot be deleted. If you only provide the SubmissionId, all of the results that match that ID will be deleted.

DELETE Form941/Delete

Request Body

FieldTypeDescription
SubmissionIdGuidUnique identifier of a submission
RecordIdsGuid[]List of record Ids to be deleted.

Response Body

FieldTypeDescription
StatusCodenumberReturns the HTTP status codes like 200,300 etc.
StatusNamestringName of the status code.
StatusMessagestringDetailed status message.
Form941RecordsobjectPulls the Form 941 records with Success and Error statuses.
    SuccessRecordsobject[]It will show the detailed information about the success status of Form 941 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.

Request JSON: Delete an existing form 941 return for the given SubmissionId and RecordId.

Form941/Delete?SubmissionId=fb18e869-e27b-4226-8ac0-1e9f5949cfa7&RecordIds=0496482c-64b6-47f0-875b-469b28e90055

Response JSON: Based on the SubmissionId, the response will delete the returns under the specified RecordId.

{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"Form941Records": {
"SuccessRecords": [
{
"SequenceId": "1",
"RecordId": "0496482c-64b6-47f0-875b-469b28e90055",
"RecordStatus": "DELETED",
"CreatedTs": "2022-03-02 03:59:28 -04:00",
"UpdatedTs": "2022-03-02 04:00:22 -04:00"
}
],
"ErrorRecords": null
},
"Errors": null
}