QuickBooks Desktop journal entries API
General journal entries with every debit and credit line, including adjusting entries. Journal entries come from QuickBooks transactions (qbXML JournalEntryQuery).
List journal entries
GET/v1/files/{file_id}/journal-entries
List journal entries. Follow next_cursor for the rest (how pages work).
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
file_id (required) | path | string | The company file id (file_...), from GET /v1/files. |
limit | query | integer | Records per page, 1 to 500. Default 100. |
cursor | query | string | next_cursor from the previous page. Keep the other parameters the same while paging. |
modified_since | query | string | Only records changed at or after this time (ISO 8601 date-time with offset, or a date). |
date_from | query | date | Transaction date on or after (YYYY-MM-DD). |
date_to | query | date | Transaction date on or before (YYYY-MM-DD). |
fields | query | string | Comma-separated top-level fields to return (id is always included). |
if_queued | query | string: error | error: 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). |
order | query | string: date, modified, id | date (newest first, default), modified (oldest change first, default with modified_since) or id. |
format | query | string: json, csv | json (default) or csv. Accept: text/csv works too. |
flat | query | string: 1 | 1 returns the flat rows CSV uses, as JSON (what the Power Query recipe reads). |
rows | query | string: records, lines | lines gives one row per line item (with format=csv or flat=1). |
Responses
| Status | Means |
|---|---|
| 200 | OK |
| 202 | The company file keeps no copy here. The answer arrives at the next Web Connector check-in; read the job then. |
| 400 | A parameter isn't valid, or the key was put in the URL. |
| 401 | No key, or the key isn't valid. |
| 404 | No such company file, record or job for this key. |
| 409 | if_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. |
| 429 | More than 60 requests a minute with this key. Retry-After says when to try again. |
One journal entry
GET/v1/files/{file_id}/journal-entries/{qb_id}
One journal entry by its QuickBooks id.
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
file_id (required) | path | string | The company file id (file_...), from GET /v1/files. |
qb_id (required) | path | string | QuickBooks' id for the record (ListID or TxnID). |
if_queued | query | string: error | error: 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). |
format | query | string: json, csv | json (default) or csv. Accept: text/csv works too. |
Fields
| Field | Type | Description |
|---|---|---|
id | string | QuickBooks' own id (ListID for lists, TxnID for transactions). |
editSequence | string | Changes every time the record is edited in QuickBooks. |
createdAt | date-time | When the record was created, with the company file's time offset. |
modifiedAt | date-time | When the record last changed. Use modified_since to read only what changed. |
number | string | The number people see (invoice number, check number). |
date | date | The transaction date (YYYY-MM-DD). |
memo | string | The memo field. |
currency | string | Currency code, when the company file uses multiple currencies. |
exchangeRate | number | Exchange rate to the home currency, when the company file uses multiple currencies. |
isAdjustment | boolean | True for adjusting entries. |
lines | JournalEntriesLine[] | Line items: item, description, quantity, rate, amount, class. |
| Field | Type | Description |
|---|---|---|
type | string: debit, credit | debit or credit. |
account | Ref | The account. |
amount | number | The amount, always positive; type says which side. |
entity | Ref | The customer, vendor or other name on the line. |
class | Ref | The class on the line. |
memo | string | The line memo. |
Ref is { id, name }: QuickBooks' id and full name, so reports can show names without a second request. CSV flattens each record into one row; the columns are listed in the OpenAPI document.
Example
curl -H "Authorization: Bearer dbk_your_key" "https://desktop-app.greatwork.company/v1/files/file_8f2c41/journal-entries?date_from=2026-11-01&limit=100"
{
"object": "list",
"resource": "journal-entries",
"file_id": "file_8f2c41",
"data": [
{
"id": "1B60-1700001500",
"number": "GJ-38",
"date": "2026-11-30",
"isAdjustment": true,
"lines": [
{
"type": "debit",
"account": {
"id": "80000040-1700000400",
"name": "Depreciation Expense"
},
"amount": 840
},
{
"type": "credit",
"account": {
"id": "80000041-1700000410",
"name": "Accumulated Depreciation"
},
"amount": 840
}
]
}
],
"next_cursor": null,
"has_more": false,
"synced_at": "2026-11-27T07:04:12-06:00",
"as_of": "2026-11-27T07:03:58-06:00"
}About journal entries
Debits and credits as lines
A general journal entry has no customer or vendor at the top, only lines. Each line has a type of debit or credit, an account, an amount (always positive; type says which side) and, when the line names one, an entity (customer, vendor or other name) and a class. In every entry the debit lines and the credit lines add up to the same amount, which is a quick sanity check on a copy you keep yourself.
One row per line, the shape most people want in a sheet:
GET /v1/files/file_8f2c41/journal-entries?date_from=2026-11-01&date_to=2026-11-30&rows=lines&format=csv
Each row repeats the entry's txn_id, txn_number and txn_date. For a signed amount column, write a formula that keeps debits positive and turns credits negative; then a pivot on account_name gives each account's net change from journal entries for the month.
Adjusting entries
isAdjustment is QuickBooks' Adjusting Entry flag. The checkbox appears in the Make General Journal Entries window only in some editions; Intuit's answers name QuickBooks Desktop Accountant and Enterprise (Intuit's community answer). In files where nobody can tick it, every entry comes back with isAdjustment false. When an accountant has marked their adjustments, a month-end list of them is the entries for the period with isAdjustment true.
What journal entries can and can't tell you
Journal entries are only the entries made in the journal window. Invoices, bills, checks and payments post to the general ledger too, but they are their own resources here and don't appear as journal entries. For a full picture of an account over a period use the profit and loss or balance sheet, which run QuickBooks' own reports, and read journal entries when you need to see the manual adjustments behind them. Entries that touch accounts receivable or payable name the customer or vendor on that line, which is how they show up on the A/R aging.
Also in the reference: Invoices, Sales receipts, Payments, Credit memos.