---
title: "Sync integration"
method: POST
path: "/integrations/{integration}/sync"
tags: ["Integrations"]
---

# Sync integration

`POST /integrations/{integration}/sync`

## Path parameters

- `integration` string, required

## Request body

- object
  - `sync` 'accounting_codes' | 'category' | 'department' | 'journal_entries' | 'project', required — Data to be synced with the provider: - `accounting_codes`: imports Accounting Codes from the provider. - `journal_entries`: exports Journal Entries to the provider, requires a `payroll_id`. - `category`: imports tracking categories (Xero Tracking Categories / QuickBooks Classes) as Tag Groups and Tags. - `department`: imports departments (QuickBooks Locations) as Tag Groups and Tags. QuickBooks only. - `project`: imports projects as Tag Groups and Tags. QuickBooks only.
  - `business_entity_id` string
  - `payroll_id` string

## Response `202`

Accepted

---

[API](https://skmtc.net/nmbr/apis/nmbr-api.md) · [All operations](https://skmtc.net/nmbr/apis/nmbr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nmbr/nmbr-api/versions/01cd9c45a923/schema)
