Upload Legal Person Onboarding Document
POST/v1/users/onboardings/legal-person/:id/documents
Uploads one required company document for legal person onboarding (max size: 10 MB).
Validation dependencies:
- At least one legal representative must be created
- Documents must be uploaded for all legal representatives
Required documents (API values):
social_contract(Social Contract) - Always requiredbalance_sheet(Balance Sheet) - Required ORrevenue_statementrevenue_statement(Revenue Statement) - Required ORbalance_sheet
Note: Upload social_contract and at least one of (balance_sheet, revenue_statement).
Related endpoint: POST /users/onboardings/legal-person/{id}/finalize.
Request
Path Parameters
Onboarding ID.
Header Parameters
The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
- multipart/form-data
Body
required
Possible values: [social_contract, balance_sheet, revenue_statement, kyc_aml_policy]
Document type (API values).
Allowed file formats: image/jpg, image/jpeg, application/pdf.
Responses
- 201
- 400
- 401
- 403
- 422
The onboarding document uploaded successfully.
- application/json
- Schema
- Example (from schema)
Schema
Onboarding ID.
Possible values: [pending, invalid, in_process, approved, rejected, finished, expired, failed, in_process_delayed]
Onboarding status.
Onboarding creation date.
Onboarding update date.
Onboarding document ID created by this upload.
File ID associated with the uploaded onboarding document.
Possible values: [social_contract, balance_sheet, revenue_statement, kyc_aml_policy]
Document type.
Onboarding document creation date.
Onboarding document update date.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"status": "pending",
"created_at": "2026-03-06T21:03:36.649Z",
"updated_at": "2026-03-06T21:03:36.649Z",
"document_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"file_id": "151cddb6-1b0d-4a8c-bd21-e3bcf8b63226",
"document_type": "social_contract",
"document_created_at": "2026-03-06T21:03:36.649Z",
"document_updated_at": "2026-03-06T21:03:36.649Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If the authenticated user does not have permission.
If any required params are missing or has invalid format or type.