QuickBooks Desktop balance sheet report API

QuickBooks' standard balance sheet: assets, liabilities and equity as of the end of a period. It is QuickBooks' own report (qbXML GeneralSummaryReportQuery (BalanceSheetStandard)), so the numbers match what you see in QuickBooks for the same period and basis.

Endpoint

GET/v1/files/{file_id}/reports/balance-sheet

With no parameters you get the scheduled copy (this year to date (balances as of today)), refreshed when it is older than 6 hours. Another period is read at the next Web Connector check-in and answered as a queued job (how queued reads work).

Parameters

ParameterInTypeDescription
file_id (required)pathstringThe company file id (file_...), from GET /v1/files.
date_fromquerydatePeriod start (YYYY-MM-DD). Default the start of this year.
date_toquerydatePeriod end (YYYY-MM-DD). Default today.
basisquerystring: accrual, cashaccrual or cash. Default: the company file's preference.
shapequerystring: table, rows, longtable (default for JSON), rows (default for CSV) or long.
if_queuedquerystring: errorerror: for clients that can't come back later, such as a scheduled sheet refresh. Instead of 202, a no-copy file answers 409 no_copy_kept at once and nothing is queued; a report QuickBooks hasn't sent yet answers 409 report_not_ready (it is still asked for at the next check-in).
formatquerystring: json, csvjson (default) or csv. Accept: text/csv works too.

Response format

shape=table (the JSON default) returns the report as QuickBooks lays it out: the title, basis and period, the column titles, and rows with a kind (data, subtotal, total or text), a label, the cells and a depth for indenting. shape=rows (the CSV default) gives one row per line with a key per column; shape=long gives one row per line and column, ready for a pivot table.

Fields of a row (shape=rows)
FieldTypeDescription
topstringThe top heading, or the line itself when nothing is above it (the customer on aging and job reports).
sectionstring
categorystringIncome, Cost of Goods Sold, Expense, Other Income, Other Expense, or the balance sheet section.
groupstringThe heading right above the line.
pathstringEvery heading above the line and the line, joined with ' > '.
linestring
depthinteger
kindstring: data, subtotal, total
StatusMeans
200OK
202The company file keeps no copy here. The answer arrives at the next Web Connector check-in; read the job then.
400A parameter isn't valid, or the key was put in the URL.
401No key, or the key isn't valid.
404No such company file, record or job for this key.
409if_queued=error was sent and the answer would have had to wait for the next check-in: the company file keeps no copy (no_copy_kept), or QuickBooks hasn't sent this report yet (report_not_ready). Run it again after the check-in.
429More than 60 requests a minute with this key. Retry-After says when to try again.

Example

curl -H "Authorization: Bearer dbk_your_key" "https://desktop-app.greatwork.company/v1/files/file_8f2c41/reports/balance-sheet?date_from=2026-01-01&date_to=2026-10-31&basis=accrual"
{
  "object": "report",
  "report": "balance-sheet",
  "file_id": "file_8f2c41",
  "shape": "table",
  "table": {
    "title": "Balance Sheet",
    "columns": [
      "",
      "Nov 27, 26"
    ],
    "rows": [
      {
        "kind": "data",
        "label": "Operating Checking",
        "cells": [
          null,
          48210.33
        ],
        "depth": 2
      },
      {
        "kind": "subtotal",
        "label": "Total Current Assets",
        "cells": [
          null,
          96410.2
        ],
        "depth": 1
      },
      {
        "kind": "total",
        "label": "TOTAL ASSETS",
        "cells": [
          null,
          141880.2
        ],
        "depth": 0
      }
    ]
  },
  "synced_at": "2026-11-27T07:04:12-06:00",
  "as_of": "2026-11-27T07:03:58-06:00"
}

About this report

A balance sheet is as of a date

The balance sheet shows assets, liabilities and equity as of the end of the period, so date_to is the date that matters. Set date_from to the start of the fiscal year, the range QuickBooks fills in when the report opens. With no dates you get the copy kept here, this year to date with balances as of today, refreshed when it is older than 6 hours.

Month-end balance sheets for a lender or a board pack are one request per month end. Each one QuickBooks hasn't run yet is asked for at the next Web Connector check-in and read after it arrives (how queued reads work):

GET /v1/files/file_8f2c41/reports/balance-sheet?date_from=2026-01-01&date_to=2026-10-31&shape=rows&format=csv

Basis matters here too

On cash basis QuickBooks leaves most open invoices and bills out, so Accounts Receivable and Accounts Payable can change a lot between basis=accrual and basis=cash. Leave basis out to use the company file's preference (Intuit's article on report preferences), and check the basis field in the answer before comparing two balance sheets.

Reading the rows

With shape=rows, section is the top heading (ASSETS, LIABILITIES & EQUITY) and category the balance sheet section; group and path place each line under its headings, so Current Assets, Checking/Savings and the bank accounts below them stay in order. Keep kind = data for account lines; subtotal and total rows are QuickBooks' own sums (TOTAL ASSETS is a total).

For today's bank balances on their own, the accounts list is quicker, since it is read at every check-in. For what customers and vendors owe, the A/R aging and A/P aging summaries break those two balance sheet lines down by name.

Other reports: Profit and loss, A/R aging summary, A/P aging summary, Job profitability summary.