---
title: "Update Company Document"
method: PATCH
path: "/companies/{company_id}/document"
tags: ["Companies"]
---

# Update Company Document

`PATCH /companies/{company_id}/document`

Updates an existing document associated with a specific company.

## Path parameters

- `company_id` string, required

## Headers

- `Accept-Language` 'es' | 'en'

## Request body

- CompanyDocumentRequest — Request body for uploading a company document.
  - `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 archivo | Descripción | | :--------------------------- | :-------------------------------------------------------- | | `id_legal_representative` | identificación oficial frente | | `id_legal_representative_back` | identificación oficial atrás | | `cfdi` | Prueba de situación fiscal | | `constitutive_act_basic` | Acta constitutiva | | `proof_of_address` | Comprobante de domicilio del negocio | | `power_of_attonery` | Poderes de representación | | `deposit_account_cover` | Carátula de la cuenta de depósito | | `permit_casino` | Permiso ante SEGOB | | `license_sanitation` | Licencia sanitaria de COFEPRIS | | `registration_tourism` | Inscripción ante el Registro Nacional de Turismo (SECTUR) |
  - `content_type` string, required — MIME type of the file. Allowed values depend on the `file_classification`. - `image/jpeg` - `image/png` - `application/pdf`
  - `international` boolean — Indicates if the document is international. Defaults to false.
  - `file_name` string, required — Name of the file being uploaded.
  - `file_data` string, byte, required — Base64 encoded content of the file.

## Response `200`

Document updated successfully.

## Other responses

- `401` — authentication error
- `404` — not found entity
- `500` — internal server error

---

[API](https://skmtc.net/conekta/apis/conekta-api.md) · [All operations](https://skmtc.net/conekta/apis/conekta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conekta/conekta-api/revisions/029df3052bca/schema)
