EntityExternal Accounting System

Create External Entity

POST
Create a company/entity in the external accounting system

Path parameters

entityIdstringRequired

Request

This endpoint expects a union.
Codat

Response

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