---
title: "Bounded preview of the customer's imported QuickBooks source objects (#2821)"
method: GET
path: "/accountant/companies/{customerId}/integrations/quickbooks/source-preview"
tags: ["Accountants"]
---

# Bounded preview of the customer's imported QuickBooks source objects (#2821)

`GET /accountant/companies/{customerId}/integrations/quickbooks/source-preview`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/integrations/quickbooks/source-preview`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Response `200`

Up to 25 realm-bound source identities from one completed run

- object
  - `success` true, required
  - `data` QuickBooksSourcePreviewItem[], required
    - `objectType` string, required
    - `providerId` string, required
    - `txnDate` string, nullable, required
    - `accountName` string, nullable, required
    - `amountText` string, nullable, required: Exact source amount text, never Median cents or GL authority
    - `currency` string, nullable, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `422`: QuickBooks is not connected or needs reauthorizing (QUICKBOOKS_LEDGER_NOT_CONNECTED, QUICKBOOKS_LEDGER_NEEDS_REAUTH), the connection changed, or source sync is switched off (QUICKBOOKS_SOURCE_SYNC_DISABLED, POST only)
- `503`: Source sync or the provider is unavailable

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) · [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) · [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/20090ea32b0d?raw)
