Skip to main content

Document submission

After submitting the assignor's registration, the documents related to it must be submitted. This uses the document analysis structure, in which — both on creation and on update — an analysis is generated and the appropriate documents must be submitted. It is up to the manager to verify the operation of the assignor that will operate with the managed funds and, later, at the master contract creation stage, a manager's declaration must be signed attesting that the manager carried out the entire analysis required by the Rules and Procedures for the Administration and Management of Third-Party Assets manual, which assigns to the manager both the analysis and the update of the assignor's registration.

info

If this is an update, the documents from the last approved analysis are automatically reused and may be replaced by new ones.

Documents are accepted only while the analysis is in pending_documents. Through the manager and the consultant, submission is restricted to the agent that owns the registration (the one who created it); for any other agent, the API responds with ASR000004.

Submitted the wrong document?​

Resubmit the correct document with the same document_type while the analysis is still in pending_documents. The previous document of that type (valid or accepted) automatically moves to canceled and the new one replaces it. There is no cancellation call.

The exception is additional_document: additional documents accumulate and are not replaced. If an additional document was submitted by mistake, contact the integration team at integracao.dtvm@qitech.com.br before triggering the analysis.

After the Submission for Analysis, the analysis no longer accepts documents (ASR000039). To correct it, generate a new analysis through the Registration Update.


Assignor Documents​

Available on
ProfileHostRequired permission
Managermanager-apiWrite
Consultantconsultant-apiRegister Assignor
Assignorassignor-apiWrite

Base URL for each host: Environments (Hosts).

Request​

ENDPOINT
/assignor_registry/assignor_registry/ASSIGNOR_REGISTRY_KEY/analysis/ANALYSIS_KEY/document
METHOD
POST
Request Body
{
"document_type":"social_contract",
"document_b64": "JVBERi0xLjQK...",
"observation":"CONTRATO SOCIAL ATUALIZADO"
}

Document Object​

FieldTypeDescriptionCharacters
document_type *stringDocument type.See Document Types.
document_b64 *stringPDF file, Base64-encoded.-
observationstringFree-form field to describe the files submitted.1 - 255

*Required fields.

Response​

STATUS
201
Response Body
{
"document_key": "8e515a17-8b4d-49a3-aed6-47c9574e426a",
"document_type": "social_contract",
"status": "valid",
"observation": "CONTRATO SOCIAL ATUALIZADO",
"reference_date": null
}
info

In the case of a registration update, submitting documents specific to the assignor in the analysis is only necessary when there is an update to information that is specific to the assignor.

Errors​

StatusCodeWhen it happens
404ASR000004Assignor not found for the assignor_registry_key provided (or, for the manager and the consultant, the registration does not belong to your integration). Check whether the assignor_registry_key is correct.
404ASR000033Analysis not found for the analysis_key provided. Check whether the analysis_key is correct.
400ASR000039The analysis's current status does not accept new documents. Documents can only be attached while the analysis is in pending_documents. To resubmit after the analysis has started — or if the analysis was canceled due to inactivity (canceled) — generate a new analysis via Registration Update.
400ASR000005Invalid file format. Send document_b64 as a valid base64 string.
400ASR000060The file submitted is not a valid PDF. The decoded content of document_b64 must be a PDF.
400ASR000059File size exceeds the limit. Reduce the PDF size before submitting (the limit is stated in the error message).
400ASR000061Invalid document type for the assignor. Use a document_type compatible with the assignor's person type (see the Standard assignor/guarantor documents table).

Authentication, permission and host errors: see API Errors.

Available on
ProfileHostRequired permission
Managermanager-apiWrite
Consultantconsultant-apiView Assignors
Assignorassignor-apiWrite

Base URL for each host: Environments (Hosts).

Request​

ENDPOINT
/assignor_registry/assignor_registry/ASSIGNOR_REGISTRY_KEY/analysis/ANALYSIS_KEY/related_party/ANALYSIS_RELATED_PARTY_KEY/document
METHOD
POST
Request Body
{
"document_type":"cnh",
"document_b64": "JVBERi0xLjQK...",
"observation":"CNH Válida"
}

Response​

STATUS
201
Response Body
{
"document_key": "afe8532a-4b0b-4e63-8d16-5084b2681752",
"status": "valid",
"document_type": "cnh",
"observation": "CNH Válida"
}
info

In the case of a registration update, submitting the related parties' documents in the analysis is only necessary when there is an inclusion or update of the assignor's related parties.

Attention!

If a document is submitted with the wrong type, or with poor quality, it may come back with the accepted status, indicating that its quality is questionable, or even invalid, in which case it must be resubmitted correctly — see Submitted the wrong document?.

Errors​

StatusCodeWhen it happens
404ASR000004Assignor not found for the assignor_registry_key provided (or, for the manager and the consultant, the registration does not belong to your integration). Check whether the assignor_registry_key is correct.
404ASR000033Analysis not found for the analysis_key provided. Check whether the analysis_key is correct.
404ASR000035Analysis related party not found for the analysis_related_party_key provided. Check whether the analysis_related_party_key returned when the analysis was created is correct.
400ASR000039The analysis's current status does not accept new documents. Documents can only be attached while the analysis is in pending_documents; after that, generate a new analysis via Registration Update.
400ASR000005Invalid file format. Send document_b64 as a valid base64 string.
400ASR000060The file submitted is not a valid PDF. The decoded content of document_b64 must be a PDF.
400ASR000059File size exceeds the limit. Reduce the PDF size before submitting (the limit is stated in the error message).
400ASR000062Invalid document type for the related party. Use a document_type compatible with the related party's person type (see the Standard related party/representative documents table).

Authentication, permission and host errors: see API Errors.


Standard assignor/guarantor documents​

Person Typedocument_typeDescriptionRequirement
Natural PersoncnhCNH (Brazilian driver's license)*
Natural Personcin_digitalNational Identity Card (Digital)*
Natural Personrg_backRG (identity card) - Back*
Natural Personrg_frontRG (identity card) - Front*
Legal Entitysocial_contractArticles of AssociationAlways
Legal Entitycommercial_board_certificateSimplified Certificate from the Board of TradeOptional, but mandatory for articles of association dated more than 3 years ago
Legal Entityboard_election_recordBoard of directors election - if applicableRequired to evidence the relationship

*For any natural person, only one of the following is required: RG front and back, CNH, or National Identity Card.

Person Typedocument_typeDescriptionRequirement
Natural PersoncnhCNH (Brazilian driver's license)*
Natural Personcin_digitalNational Identity Card (Digital)*
Natural Personrg_backRG (identity card) - Back*
Natural Personrg_frontRG (identity card) - Front*
Natural Personpower_of_attorneyPower of attorney (natural person or legal entity) - mandatory when the representative is an attorney-in-factRequired to evidence the relationship

*For any natural person, only one of the following is required: RG front and back, CNH, or National Identity Card.

Attention

Some document types go through an OCR tool for data extraction and verification. Always pay attention to the document submission response, which synchronously returns the OCR validation — valid/accepted/invalid.

Document Types​

Document Type​

EnumeratorDescription
cnhCNH (Brazilian driver's license).
rg_backRG, back side.
rg_frontRG, front side.
passportPassport - for foreigners only.
national_migration_registryNational Migration Registry.
national_registry_of_foreignersNational Registry of Foreigners.
cin_digitalNational Identity Card (Digital).
social_contractArticles of Association / Bylaws.
cnpj_cardCNPJ card.
commercial_board_certificateSimplified Certificate from the Board of Trade.
board_election_recordMinutes of the Election of the Current Board of Directors.
power_of_attorneyPower of attorney - mandatory when the representative is an attorney-in-fact.
marital_power_of_attorneySpousal power of attorney - available for spouses only.
compliance_statementCompliance Opinion.
financial_statementFinancial Statement.
credit_reportCredit Minutes/Opinion.
manager_statementManager's Opinion/Record.
visit_reportVisit Report.
proof_of_residenceProof of Residence.
credit_agency_consulationCredit bureau inquiry.
annual_revenues_declarationRevenue Declaration.
financial_institutions_declarationBanking Relationship Declaration.
additional_documentAdditional document - free-form.

Document Status​

EnumeratorDescription
createdCreated
validValid
invalidInvalid
canceledCanceled (replaced by a new submission of the same type)
acceptedAccepted, but not validated
inconclusiveInconclusive validation