v1

latestOpenAPI 3.1.0MIT-LICENSE2026-07-24113190543.3 KB
Companies

Upload Company Document

Uploads a document associated with a specific company.

post/companies/{company_id}/document

Path parameters

company_idstring required
Example:6827206b1ec60400015eb09a

The unique identifier of the company.

Headers

Accept-Language'es' | 'en'

Use for knowing which language to use

Request body

file_classification'id_legal_representative' | 'id_legal_representative_back' | 'cfdi' | 'constitutive_act_basic' | 'proof_of_address' | 'power_of_attonery' | 'deposit_account_cover' | 'permit_casino' | 'license_sanitation' | 'registration_tourism' required

Classification of the document.

Tipo de archivoDescripción
id_legal_representativeidentificación oficial frente
id_legal_representative_backidentificación oficial atrás
cfdiPrueba de situación fiscal
constitutive_act_basicActa constitutiva
proof_of_addressComprobante de domicilio del negocio
power_of_attoneryPoderes de representación
deposit_account_coverCarátula de la cuenta de depósito
permit_casinoPermiso ante SEGOB
license_sanitationLicencia sanitaria de COFEPRIS
registration_tourismInscripción ante el Registro Nacional de Turismo (SECTUR)
content_typestring required

MIME type of the file. Allowed values depend on the file_classification.

  • image/jpeg
  • image/png
  • application/pdf
internationalboolean

Indicates if the document is international. Defaults to false.

file_namestring required

Name of the file being uploaded.

file_datastring byte required

Base64 encoded content of the file.

Example request

{
  "file_classification": "id_legal_representative",
  "content_type": "application/pdf",
  "international": false,
  "file_name": "example_document.pdf",
  "file_data": "VGhpcyBpcyBhIHRlc3QgZmlsZSBkYXRhIGluIGJhc2UgNjQu"
}

Response

Document uploaded successfully.