---
title: "Preview a QuickBooks financials import"
method: POST
path: "/bulk/qbo-financials/preview"
tags: ["Imports"]
---

# Preview a QuickBooks financials import

`POST /bulk/qbo-financials/preview`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/bulk/qbo-financials/preview`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Validates a QuickBooks chart-of-accounts CSV plus journal (general ledger) CSV pair and reports what would be imported, without writing. Send the RAW QuickBooks exports unchanged - the parser locates the QBO header rows itself and reformatted/normalized files are rejected (reformatted data belongs in /bulk/accounts and /bulk/entries instead). Provide inline CSV content or file keys from /bulk/qbo-financials/uploads. Validation problems return 400 with a specific message.

## Request body

- object
  - `coaCsvContent` string: Chart of accounts CSV content (or use coaFileKey)
  - `journalCsvContent` string: Journal/general-ledger CSV content (or use journalFileKey)
  - `coaFileKey` string: Uploaded chart CSV file key
  - `journalFileKey` string: Uploaded journal CSV file key
  - `accountTypeResolutions` object[]: Confirmed types for Journal accounts missing from the Chart of Accounts CSV.
    - `accountName` string, required
    - `accountType` 'asset' | 'liability' | 'equity' | 'revenue' | 'expense', required

## Response `200`

Import preview

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
