---
title: "Open QuickBooks invoices (balance above 0.00) from the latest completed read (#4176)"
method: GET
path: "/accountant/companies/{customerId}/integrations/quickbooks/open-invoices"
tags: ["Accountants"]
---

# Open QuickBooks invoices (balance above 0.00) from the latest completed read (#4176)

`GET /accountant/companies/{customerId}/integrations/quickbooks/open-invoices`

## Request

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

Read only; nothing is fetched from QuickBooks. The list is the latest completed QuickBooks read, so an invoice paid in QuickBooks since then still shows; lastSuccessfulSourceReadAt says when that read completed. Empty with null run and time when QuickBooks has never been read. At most 1000 invoices, ordered by due date (none last), then date, then Id. total is how many are open in that read; truncated is true when total is more than the invoices listed, so an invoice missing from the list may still be open.

## Path parameters

- `customerId` string, uuid, required

## Response `200`

The open invoices and the read they come from

- object
  - `success` true, required
  - `data` object, required
    - `sourceRunId` string, nullable, required
    - `lastSuccessfulSourceReadAt` string, date-time, nullable, required
    - `total` integer, required
    - `truncated` boolean, required
    - `invoices` object[], required
      - `providerId` string, required: The QuickBooks Invoice Id
      - `docNumber` string, nullable, required
      - `customerId` string, nullable, required: The QuickBooks Customer Id
      - `customerName` string, nullable, required
      - `txnDate` string, date, nullable, required
      - `dueDate` string, date, nullable, required
      - `totalText` string, nullable, required: QuickBooks TotalAmt as sent
      - `balanceText` string, required: QuickBooks Balance as sent
      - `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), or the connection changed
- `503`: Source sync or the provider is unavailable

## Changes

- **2026-12-03** `c4a76778b29d`: 2 info
  - added the required property `data/total` to the response with the `200` status
  - added the required property `data/truncated` to the response with the `200` status
- **2026-12-03** `facd38504c52`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/integrations/quickbooks/open-invoices/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)
