Skip to main content
Version: 2.0.0

Delete

Delete

This endpoint can be used to delete in-progress Form 1099 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 acaformutility/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 Record ID that you want to delete.

Response Body

FieldTypeDescription
SubmissionIdGuidA Unique identifier of a submission
FormACARecordsobjectPulls the Form records with Success and Error statuses
SuccessRecordsobject[]It will show the detailed information about the success status of the Form Records
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 Params
SampleDescriptionAction
Sample 1
Query Params - Delete Form 1099 returns using SubmissionId and RecordIds.
Sample 1
SubmissionIdv2.0.0/FormACA/Delete?SubmissionId=9d71ae45-df5f-49f7-86f8-e88f54132fa1
Response JSON
ResponseDescriptionAction
200
Success Response - This is a sample response for successful API requests.
Response: 200
{
"SubmissionId": "9d71ae45-df5f-49f7-86f8-e88f54132fa1",
"FormACARecords": {
"SuccessRecords": [
{
"RecordId": "d62ee546-cdfd-4a53-9f76-f652624e8298",
"Status": "DELETED",
"StatusTS": "2024-02-16 08:21:44 -05:00"
}
],
"ErrorRecords": null
},
"Errors": null
}