Create a new company.

Authentication

x-api-keystring
API Key authentication via header

Request

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

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

taxIdstringRequired
Tax id number
namestringRequired
Business name of company
clientDataobjectOptional
custom data that Invofox's clients can store in a company
clientslist of objectsOptional
clients list linked to the company to be created
providerslist of objectsOptional
providers list linked to the company to be created

Response

The company was successfully created
resultobject or null

Errors