Skip to main content
Version: 1.7.3

Delete

You can use this endpoint to delete the BOI reports created in TaxBandits. You must include the SubmissionId or Report Number in your request JSON to refer to the corresponding reports.

note

Transmitted BOI reports cannot be deleted.

DELETEBOIR/Delete
Run in Postman

Request Params

FieldTypeDescription
SubmissionIdGuidProvide the SubmissionId (unique identifier created by TaxBandits for a submission) to identify which submission needs to be deleted.
Either SubmissionId or ReportNumber can be provided to delete a report
ReportNumberstringProvide the ReportNumber (unique identifier created by TaxBandits for a report) to identify which report needs to be deleted.

Request Params

Request using SubmissionId.

BOIR/Delete?SubmissionId=954cdad5-3b8a-4123-9052-8beba4be5376

Response Json

FieldTypeDescription
StatusCodenumberReturns the HTTP status codes like 200, 300 etc.
StatusNamestringName of the status code.
StatusMessage              stringDetailed status message.
SubmissionIdGUIDReturns the SubmissionId of the report.
ReportNumbernumberReturns the Report Number for which the request was made.
ReportTypestringThe type of the report created in the submission.
BOIRRecordsobjectPulls BOIR records with Success and Error statuses.
    SuccessRecordsObjectIt will show the detailed information about the success status of BOI Report.
        ReportStatusStringReturns the status of the report.
        CreatedTsStringReturns created date and time.
        UpdatedTsStringReturns updated date and time.
    ErrorRecordsobject[]It will show the detailed information about the errored status.
        IdstringError ID number. This ID is assigned by TaxBandits and it is unique for each error.
        NamestringName of the errored node wither SubmissionId or ReportNumber.
        MessagestringShows the description of the error message.
Errorsobject[]Object that provides the collection of error information in the request
    IdstringError ID number. This ID is assigned by TaxBandits and it is unique for each error.
    NamestringName of the errored node.
    MessagestringShows the description of the error message.

Response json

This is a sample response for successful API requests.

{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "3e9169b8-533b-4083-9b94-c26b3741bb87",
"ReportNumber": "110638",
"ReportType": "INITIAL",
"BOIRRecords": {
"SuccessRecords": {
"ReportStatus": "DELETED",
"CreatedTs": "2024-08-14T10:41:44.579Z",
"UpdatedTs": "2024-08-14T10:41:47.967Z"
},
"ErrorRecords": null
},
"Errors": null
}