EntityExternal Accounting System

Create External Entity

POST
https://api.mercoa.com/entity/:entityId/external-accounting-system/create

Create a company/entity in the external accounting system

Path parameters

entityId
string

Request

This endpoint expects a union.
Codat

Response

This endpoint return a union.
Codat
POST
/entity/:entityId/external-accounting-system/create
curl -X POST https://api.mercoa.com/entity/:entityId/external-accounting-system/create \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"type": "codat"
}'
Response
{
"type": "codat",
"companyId": "string"
}