Upload Company Document
POST/v1/users/company-registrations/:company_registration_id/company-documents
Submit a company document for registration using multipart/form-data to submit a document file. Representative-scoped categories require legal_representative_id. Use the Get Pending Documents endpoint to check which documents are required.
Request
Path Parameters
Company registration ID.
Header Parameters
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.
UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.
UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.
- multipart/form-data
Body
required
Submit document using multipart/form-data.
Possible values: [CCMEI, PRIVATE_LETTER_OF_ATTORNEY, ARTICLES_OF_ASSOCIATION, COMPANY_BYLAWS, PUBLIC_LETTER_OF_ATTORNEY, LEGAL_STATEMENT, EIRELI_INCORPORATION_STATEMENT, EI_REGISTRATION_REQUIREMENT, DRIVER_LICENSE_FRONT, DRIVER_LICENSE_VERSE, DIGITAL_DRIVER_LICENSE, IDENTITY_CARD_FRONT, IDENTITY_CARD_VERSE, WORK_CARD, PROFESSIONAL_IDENTIFICATION_CARD, MILITARY_IDENTIFICATION_CARD, REVENUES_RECEIPT, SIGNATURE_CARD, SELFIE, EXTRAORDINARY_DOCUMENTS, RNE_VERSE, RNE_FRONT]
Document category.
Legal representative ID required for representative-scoped document categories.
Document file. Formats: application/pdf, image/jpeg, image/jpg. Max size is configured by APP_COMPANY_DOCUMENT_MAX_FILE_SIZE_BYTES (default: 4.5MB).
Responses
- 201
- 400
- 401
- 403
- 422
Document submitted successfully.
- application/json
- Schema
- Example (from schema)
Schema
Document ID.
Company registration ID.
Possible values: [CCMEI, PRIVATE_LETTER_OF_ATTORNEY, ARTICLES_OF_ASSOCIATION, COMPANY_BYLAWS, PUBLIC_LETTER_OF_ATTORNEY, LEGAL_STATEMENT, EIRELI_INCORPORATION_STATEMENT, EI_REGISTRATION_REQUIREMENT, DRIVER_LICENSE_FRONT, DRIVER_LICENSE_VERSE, DIGITAL_DRIVER_LICENSE, IDENTITY_CARD_FRONT, IDENTITY_CARD_VERSE, WORK_CARD, PROFESSIONAL_IDENTIFICATION_CARD, MILITARY_IDENTIFICATION_CARD, REVENUES_RECEIPT, SIGNATURE_CARD, SELFIE, EXTRAORDINARY_DOCUMENTS, RNE_VERSE, RNE_FRONT]
Document category.
Legal representative ID used for representative-scoped document categories when provided.
Possible values: [PENDING, READY, FAILED]
Processing status. PENDING: Document submitted and being processed. READY: Document processed successfully. FAILED: Document processing failed.
Document creation date.
Document last update date.
{
"id": "8fc58500-b12e-49d7-892c-dfd704b94c2d",
"company_registration_id": "8fc58500-b12e-49d7-892c-dfd704b94c2d",
"category": "ARTICLES_OF_ASSOCIATION",
"legal_representative_id": "8fc58500-b12e-49d7-892c-dfd704b94c2d",
"status": "PENDING",
"created_at": "2024-01-15T10:30:00.000Z",
"updated_at": "2024-01-15T10:30:00.000Z"
}
Invalid parameters.
User authentication failed.
User does not have permission to access this resource.
Business rule validation failed, including missing or invalid company registration.