Skip to main content
Version: 2.0

Delete

Delete

This endpoint can be used to delete in-progress Form 1099/W-2 returns created in TaxBandits.

Key points

  • Provide a unique identifier, such as SubmissionId or RecordId, to specify which return(s) to delete.
  • If only the SubmissionId is provided, all returns associated with that submission will be deleted.
  • In the Live environment, returns with a Transmitted or Accepted status cannot be deleted. In the Sandbox environment, returns can be deleted regardless of status (Transmitted, Rejected, or Accepted).
DELETE form1099w2/delete 

Request Body

FieldTypeDescription
SubmissionIdGuidA unique identifier of a submission.
RecordIdsGuid[]A unique identifier generated by TaxBandits when a return is created. Mention the return's RecordId that you want to delete.

Response Body

FieldTypeDescription
Form1099W2RecordsobjectPulls the Form records with Success and Error statuses.
SuccessRecordsobject[]It will show the detailed information about the success status of the Form Records.
SequenceIdstringA unique number given by an inbound application to identify failed records.
FormTypestringDenotes the type of the form.
RecordIdGuidA unique identifier of a record.
StatusstringReturns the status of the records.
StatusTsstringDate and time of return deleted.
ErrorRecordsobject[]It will show the detailed information about the error status of the Form Records.
SequenceIdstringA unique number given by an inbound application to identify failed records.
RecordIdGuidA unique 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 ID.
NamestringName of the validation error.
MessagestringDescription of the validation error.
Request JSON
SampleDescriptionAction
Sample 1
Delete Form 1099/W-2 returns using SubmissionId and RecordIds.
Sample 1
"v2/Form1099W2/delete?submissionId=9d71ae45-df5f-49f7-86f8-e88f54132fa1&recordIds=01132f6d-ef4a-4014-817e-94a5a19bd52b,eb39714e-f653-4c4d-a53c-07f24f9a9dj5"
Response JSON
SampleDescriptionAction
200
Success Response - This is a sample response for successful API requests.
Response: 200
{
"SubmissionId": "9d71ae45-df5f-49f7-86f8-e88f54132fa1",
"Form1099W2Records": {
"SuccessRecords": [
{
"SequenceId": "1",
"FormType": "Form1099NEC",
"RecordId": "15c3caa6-8402-4548-8713-4fcdd2f7d42d",
"Status": "DELETED",
"StatusTs": "2025-08-05 06:26:16 -04:00"
},
{
"SequenceId": "2",
"FormType": "Form1099NEC",
"RecordId": "eb39714e-f653-4c4d-a53c-07f24f9a9dj5",
"Status": "DELETED",
"StatusTs": "2025-08-05 06:26:16 -04:00"
}
],
"ErrorRecords": null
},
"Errors": null
}