Skip to main content
Version: 1.7.3

ViewAttachment

This endpoint can be used to view the identifying documents attached to your BOI reports. The request must include the BeneficialOwnerIds and/or CompanyApplicantIds.

POSTBOIR/ViewAttachment
Run in Postman

Request Body

FieldTypeDescription
ComapanyApplicantIdsobject[]Provide the CompanyApplicantId (the unique identifier for the Company Applicant created by TaxBandits) to identify which attachments need to be shown.
You can include up to 25 CompanyApplicantIds in a single request.
BeneficialOwnerIdsobject[]Provide the BeneficialOwnerId (unique identifier of the Beneficial Owner created by TaxBandits) to identify which attachments need to be shown.
You can include up to 25 BeneficialOwnerIds in a single request.

Request JSON

Request using multiple company applicant Ids and beneficial owner ids.

{
"CompanyApplicantIds": [
"bbd8fbdb-3ea2-40bc-916c-0c3383b5daed","4670812c-ea76-4330-a760-b27b3712f11c"
],
"BeneficialOwnerIds": [
"7963e570-f414-4316-b9a6-6bf964b6e00d","a0a64ab2-ddb8-43e8-81ef-d5498d9e8fdc"
]
}

Response Body

FieldTypeDescription
StatusCodenumberReturns the HTTP status codes like 200, 300 etc.
StatusNamestringName of the status code
StatusMessagestringDetailed status message
CompanyApplicantsobject[]Retrieves the attachment objects for the Company Applicants.
CompanyApplicantIdstringReturns the unique identifier of the Company Applicant for which the attachment is provided.
FilepathstringReturns the file path of the identification document.
InfoobjectReturns the attachment information of the Company Applicant (if no attachment exists for the provided ID).
BeneficialOwnersobject[]Retrieves the attachment objects for the Beneficial Owners
BeneficialOwnerIdStringReturns the unique identifier of the Beneficial Owner for which the attachment is provided.
FilepathStringReturns the Filepath of the Identification Document
Infoobject[]Returns the attachment information of the Beneficial Owners (if no attachment exists for the provided ID).
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",
"CompanyApplicants": [
{
"CompanyApplicantId": "a0a64ab2-ddb8-43e8-81ef-d5498d9e8fdc",
"FilePath": "https://expressirsforms.s3.amazonaws.com/pdfs/66badf6c02714f1adeda218c/boir/ca/26a18cd5-0a1d-492a-877-ab6cd33876fd_1727775878234.pdf",
"Info": null
}
],
"BeneficialOwners": [
{
"BeneficialOwnerId": "30a99399-99db-41c2-abde-47588e39fdea",
"FilePath": "https://expressirsforms.s3.amazonaws.com/pdfs/66badf6c02714f1adeda218c/boir/bo/fe816149-23ba-4a8a-a9e2-2348f66a9b0_1727775879727.pdf",
"Info": null
}
],
"Errors": null
}