Guides

Accounting Sync

Mercoa currently supports accounting sync with Codat and Rutter. These will be refered to as “Accounting Sync Platforms”.

Add API Key

In the developer portal, choose the accounting sync platform and provide your API key.

Sync Entity

You will need to tie the Mercoa entity with the business object created in the accounting sync platform. Mercoa can create a new object in the accounting sync platform, or tie the entity to an existing object.

POST
1curl -X POST https://api.mercoa.com/entity/:entityId/external-accounting-system/create \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "type": "codat"
6}'

If your user has not configured their accounting software with the accounting sync platform, you can generate a link from the accounting sync platform to let them connect their accounting software to the platform.

GET
1curl https://api.mercoa.com/entity/:entityId/external-accounting-system/connect \
2 -H "Authorization: Bearer <token>"

Sync Vendors and Bills

Vendors and bills are synced on demand. Currently, there is no automatic sync.

GET
1curl https://api.mercoa.com/entity/:entityId/external-accounting-system/sync \
2 -H "Authorization: Bearer <token>"