Skip to main content
PATCH
Actualizar empresa

Authorizations

x-api
string
header
required

API key emitida por Ipsofactura, enviada en el header x-api.

Path Parameters

id
string<uuid>
required

Id de la empresa

Body

application/json

Campos editables de una empresa. Todos opcionales: lo que no se envía no cambia.

codigo_postal
string
Pattern: ^[0-9]{5}$
Example:

"06000"

curp
string
Example:

"HEGG560427MVZRSL05"

nombre_empresa
string
Example:

"Escuela Kemper Urgate"

nombre_fiscal
string
Example:

"ESCUELA KEMPER URGATE"

regimen_fiscal
enum<string>

Clave del catálogo SAT c_RegimenFiscal

Available options:
601,
603,
605,
606,
607,
608,
609,
610,
611,
612,
614,
615,
616,
620,
621,
622,
623,
624,
625,
626,
628,
629,
630
Example:

626

rfc
string

No editable. Enviarlo responde 422 EMPRESA_RFC_IMMUTABLE.

Example:

"EKU9003173C9"

Response

Empresa actualizada

certificados
object[]

Sólo presente con include_certificados=true. Lista vacía si el emisor no tiene CSD activo.

codigo_postal
string
Example:

"06000"

curp
string

CURP del emisor. Siempre null para personas morales.

Example:

null

es_activo
boolean
Example:

true

fecha_actualizacion
string
Example:

"2026-08-28T12:00:00Z"

fecha_creacion
string
Example:

"2026-08-28T12:00:00Z"

id
string<uuid>
Example:

"a1b2c3d4-1234-4abc-8def-1234567890ab"

nombre_empresa
string
Example:

"Escuela Kemper Urgate"

nombre_fiscal
string
Example:

"ESCUELA KEMPER URGATE"

regimen_fiscal
enum<string>
Available options:
601,
603,
605,
606,
607,
608,
609,
610,
611,
612,
614,
615,
616,
620,
621,
622,
623,
624,
625,
626,
628,
629,
630
Example:

601

rfc
string
Example:

"EKU9003173C9"

tipo_persona
enum<string>
Available options:
fisica,
moral
Example:

"moral"