---
title: "Sync External System"
method: GET
path: "/entity/{entityId}/external-accounting-system/sync"
tags: ["entity > external-accounting-system"]
---

# Sync External System

`GET /entity/{entityId}/external-accounting-system/sync`

## Request

- Base URL: `https://api.mercoa.com`
- URL: `https://api.mercoa.com/entity/{entityId}/external-accounting-system/sync`
- Auth: HTTP bearer

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

## Path parameters

- `entityId` string, required

## Query parameters

- `vendors` 'none' | 'push' | 'pull' | 'both'
- `bills` 'none' | 'push' | 'pull' | 'both'
- `glAccounts` 'none' | 'push' | 'pull' | 'both'

## Response `200`

Successful response

## Other responses

- `400`: Error response with status 400
- `401`: Error response with status 401
- `403`: Error response with status 403
- `404`: Error response with status 404
- `409`: Error response with status 409
- `500`: Error response with status 500
- `501`: Error response with status 501

---

[API](https://skmtc.dev/mercoa/apis/mercoa-2.md) - [All operations](https://skmtc.dev/mercoa/apis/mercoa-2/llms.txt) - [OpenAPI document](https://skmtc.dev/mercoa/apis/mercoa-2/revisions/00a8e403ae18?raw)
