Informacion empresa API

Crea un registro de empresa asociado a un cliente.

Crear un registro de empresa

POST /hooks/clients/:client_id/fiscal_informations

Parameters

Name Description
description Descripcion sobre que hace la empresa
commercial_name Nombre comercial o alias
legal_name Nombre legal
document_type Tipo de documento
document_number Numero de documento
iva_condition Condiccion frente al IVA, opciones: enrolled final_consumer independent exempt

Request

Headers

Content-Type: application/json
Authorization: <integration-token>
Authorization-Client: Bearer <jwt-token>
Host: example.org
Cookie: 

Route

POST /hooks/clients/100/fiscal_informations

Body

{"description":"Venta de soluciones informaticas","commercial_name":"Flemeui","legal_name":"Sincha SA","document_type":"cuil","document_number":"9999999","iva_condition":"enrolled"}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json; charset=utf-8
ETag: W/"ae79042b4235b605d61feece8cb54173"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: e777d008-b581-465a-ae2c-f3ac8286daaa
X-Runtime: 0.072056
Vary: Origin
Content-Length: 330

Status

200 OK

Body

{
  "data": {
    "id": 20,
    "description": "Venta de soluciones informaticas",
    "commercial_name": "Flemeui",
    "legal_name": "Sincha SA",
    "document_type": "cuil",
    "document_number": "9999999",
    "iva_condition": "enrolled",
    "user_id": 100,
    "user_type": "User",
    "created_at": "2023-04-28T21:44:50.143Z",
    "updated_at": "2023-04-28T21:44:50.155Z",
    "state": "checking"
  }
}