---
title: "One month's QuickBooks bank and card lines by where they went (#3814)"
method: GET
path: "/accountant/companies/{customerId}/integrations/quickbooks/bank-line-report"
tags: ["Accountants"]
---

# One month's QuickBooks bank and card lines by where they went (#3814)

`GET /accountant/companies/{customerId}/integrations/quickbooks/bank-line-report`

## Request

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

The monthly Ask My Accountant check (#3722), from Median's latest completed QuickBooks read: QuickBooks is not called and nothing is written. Every line dated in the month on a QuickBooks Bank or Credit Card account, in four groups: `ask_my_accountant` (the other side is QuickBooks' Ask My Accountant account, or QuickBooks still shows the accounts Median wrote: Median's bank feed created the record, or Median moved its lines with a verified update), `matched` (a bill payment, a customer payment, or a deposit of linked customer payments), `transfer` (a line whose other side is only the company's bank or card accounts, a QuickBooks Transfer between them included) and `other` (anything else: the exceptions to check). `blindSpots` names what the read cannot see: lines still in QuickBooks' "For review" list, and CreditCardPayment records.

## Path parameters

- `customerId` string, uuid, required

## Query parameters

- `month` string, required

## Response `200`

The month's report; `state` is `no_completed_read` before QuickBooks has been read

- object
  - `success` true, required
  - `data` QuickBooksBankLineReport, required
    - `month` string, required
    - `state` 'ready' | 'no_completed_read', required
    - `snapshot` object, nullable, required
      - `runId` string, required
      - `completedAt` string, date-time, required
    - `askMyAccountant` object, nullable, required: QuickBooks' own active Ask My Accountant account; null when the file has none.
      - `qboAccountId` string, required
      - `name` string, nullable, required
    - `accounts` object[], required: Every active QuickBooks Bank or Credit Card account, and any inactive one with lines, with its line count per group.
      - `qboAccountId` string, required
      - `name` string, nullable, required
      - `accountType` 'Bank' | 'Credit Card', required
      - `active` boolean, required
      - `counts` object, required
        - `ask_my_accountant` integer, required
        - `matched` integer, required
        - `transfer` integer, required
        - `other` integer, required
    - `lines` QuickBooksBankLine[], required
      - `objectType` string, required: QuickBooks type: Purchase, Deposit, Transfer, SalesReceipt, RefundReceipt, Payment, BillPayment or JournalEntry
      - `providerId` string, required
      - `txnDate` string, date, required
      - `qboAccountId` string, required: The QuickBooks Bank or Credit Card account
      - `direction` 'in' | 'out', required
      - `amountCents` integer, required: Positive integer cents in the line's currency
      - `currency` string, required
      - `group` 'ask_my_accountant' | 'matched' | 'transfer' | 'other', required
      - `otherAccounts` object[], required: The QuickBooks accounts on the other side; empty for a bill payment, customer payment, linked deposit or sales receipt.
        - `qboAccountId` string, required
        - `name` string, nullable, required
      - `changedByMedian` boolean, required: QuickBooks still shows the line accounts Median wrote: Median's bank feed created the record, or Median moved its lines with a verified update. A partial update counts only when every line it left alone is on Ask My Accountant.
    - `unreadable` object[], required: Records dated in the month whose amounts could not be read; listed, never dropped.
      - `objectType` string, required
      - `providerId` string, required
    - `truncated` boolean, required: More records were dated in the month than one report reads (5,000)
    - `blindSpots` string[], required: What the read cannot see. `for_review_list`: lines still in QuickBooks' "For review" list, which Intuit's API does not expose. `credit_card_payment`: CreditCardPayment records, which Median does not read.

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `422`: Validation error (month is not YYYY-MM), or QuickBooks is not connected

## Changes

- **2026-10-28** `126f457a522c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/integrations/quickbooks/bank-line-report/get.md)

---

[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/4f4c2d34276b?raw)
