Upload a document to an entityAsk AIpost https://api.sikoia.com/v2/documentsUploads a document to a case, person, or company. The document must be base64 encoded and included as a string in the file field. Ensure that the file_name field includes the file extension.Body Paramsentity_idstringrequiredlength ≥ 1The company_id, person_id or case_id of the entityentity_typestringenumrequiredlength ≥ 1The type of entitycompanypersoncaseAllowed:companypersoncasefilestringrequiredlength ≥ 1File data base64 encodeddocument_typestring | nullenumThe type of documentBankStatementBankStatementPayslipIdentityContractFactFindOtherCompanyRegistrationStakeholdersDisclosureUtilityBillCreditReportSavingsStatementSA302TaxOverviewP45P60EmploymentLetterEmploymentContractChildBenefitLetterBenefitAwardLetterStudentLoanLetterPensionStatementFinancialAccountsShow 22 enum valuesdisplay_namestringrequiredlength ≥ 1Display namefile_namestringrequiredlength ≥ 1File name including file extensionResponses 201Document 400Entity deleted/not found or invalid request 401Unauthorized 403Document upload not enabled 429Too Many Requests 500Internal Server ErrorUpdated 2 months ago