You can upload documents for a company even after the company details were imported into the system.
The file should be a base 64 encrypted file.
Endpoint: POST {{ONBOARDING_URL}}/api/v1/companies/{{ONBOARDING_COMPANY_ID}}/documents
Send a POST request to upload documents for a company.
Include the relevant parameters:
file_type
: JPG, PNG, PDF- Document
type
:- 14 – TYPE_BANK_STATEMENT
Special conditions: “issued_date
” must be within the last 6 months. - 1 – TYPE_COMP_CERTIFICATE
Special conditions: “issued_date
” must be within the last 6 months. - 2 – TYPE_REG_OF_DIRECTORS
Special conditions: “issued_date
” must be within the last 6 months. - 3 – TYPE_PASSPORT_COPY
Special conditions:- Provide the
contactID
orContact email
so we can map it. - To accept this type of document, it needs to be certified by a notary.
- “
issued_date
” and “expire_date
” are mandatory.
- Provide the
- 21 – TYPE_COMPANY_BILL
Special conditions: “issued_date
” must be within the last 6 months.
- 14 – TYPE_BANK_STATEMENT
- Mandatory parameters for document
type
: 14, 1, 2, 21:- “
date_uploaded
“: “2022-02-02 00:00:00” - “
file_type
“: “pdf” - “
type
“: 3 - “
issued_date
“: “2022-02-25”
- “
- Conditional parameters:
For document type3
(TYPE_PASSPORT_COPY), the following parameters need to be sent:- “
contact_email
“: “” - “
contact_id
“: - “
expire_date
“: “2023-02-25”
- “
Example /companies/{{ONBOARDING_COMPANY_ID}}/documents
Request
{ "date_uploaded": "2022-02-02 00:00:00", "file_type": "pdf", "type": 3, "contact_email1": "", "contact_id": "", "issued_date": "2022-02-25", "expire_date": "2023-02-25", "file": "" }