Create a new company.

Autenticación

x-api-keystring

Autenticación con clave API vía encabezado

Solicitud

This endpoint expects an object.
countryCodestringRequeridoformat: "ISO 3166-1 alpha-2"

country code in two-digits format (ISO 3166-1 alpha-2)

taxIdstringRequerido
Tax id number
namestringRequerido
Business name of company
clientDataobjectOpcional
custom data that Invofox's clients can store in a company
clientslist of objectsOpcional
clients list linked to the company to be created
providerslist of objectsOpcional
providers list linked to the company to be created

Respuesta

The company was successfully created
resultobject

Errores

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error