Skip to main content
POST
Crear empresa

Authorizations

x-api
string
header
required

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

Body

application/json
codigo_postal
string
required
Minimum string length: 1
Pattern: ^[0-9]{5}$
nombre_fiscal
string
required
Minimum string length: 1
regimen_fiscal
enum<string>
required
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
Minimum string length: 1
rfc
string
required
Minimum string length: 1
Pattern: ^[A-ZÑ&]{3,4}[0-9]{6}[A-Z0-9]{3}$
nombre_empresa
string

Response

Empresa creada

codigo_postal
string
es_activo
boolean
id
string<uuid>
nombre_empresa
string
nombre_fiscal
string
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
rfc
string