EntityExternal Accounting System

Sync External System

GET
Sync an entity with an external accounting system. Will sync customers/vendors and invoices.

Path parameters

entityIdstringRequired

Query parameters

vendorsenumOptional
Sync vendors from external accounting system. Default is to pull vendors from external system.
Allowed values: nonepushpullboth
billsenumOptionalBeta
Sync bills from external accounting system. Default is to not sync bills. Invoices that already exist in both systems will not be updated, only new invoices not present in the other system will be created.
Allowed values: nonepushpullboth
glAccountsenumOptional
Sync GL accounts from external accounting system. Default is to pull GL accounts from external system. Pushing GL accounts is not supported.
Allowed values: nonepushpullboth
GET
1curl -G https://api.mercoa.com/entity/ent_8545a84e-a45f-41bf-bdf1-33b42a55812c/external-accounting-system/sync \
2 -H "Authorization: Bearer <token>" \
3 -d vendors=pull \
4 -d bills=push \
5 -d glAccounts=pull