QuickBooks Desktop job profitability summary report API
Actual cost, actual revenue and the difference for every customer and job, for a period. It is QuickBooks' own report (qbXML JobReportQuery (JobProfitabilitySummary)), so the numbers match what you see in QuickBooks for the same period and basis. QuickBooks Premier and Enterprise only. On Pro the report comes back empty with a note saying so.
Endpoint
GET/v1/files/{file_id}/reports/job-profitability
With no parameters you get the scheduled copy (this year to date), 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
| Parameter | In | Type | Description |
|---|---|---|---|
file_id (required) | path | string | The company file id (file_...), from GET /v1/files. |
date_from | query | date | Period start (YYYY-MM-DD). Default the start of this year. |
date_to | query | date | Period end (YYYY-MM-DD). Default today. |
basis | query | string: accrual, cash | accrual or cash. Default: the company file's preference. |
shape | query | string: table, rows, long | table (default for JSON), rows (default for CSV) or long. |
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. |
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.
| Field | Type | Description |
|---|---|---|
top | string | The top heading, or the line itself when nothing is above it (the customer on aging and job reports). |
section | string | |
category | string | Income, Cost of Goods Sold, Expense, Other Income, Other Expense, or the balance sheet section. |
group | string | The heading right above the line. |
path | string | Every heading above the line and the line, joined with ' > '. |
line | string | |
depth | integer | |
kind | string: data, subtotal, total |
| 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. |
Example
curl -H "Authorization: Bearer dbk_your_key" "https://desktop-app.greatwork.company/v1/files/file_8f2c41/reports/job-profitability?date_from=2026-01-01&date_to=2026-10-31&basis=accrual"
{
"object": "report",
"report": "job-profitability",
"file_id": "file_8f2c41",
"shape": "table",
"table": {
"title": "Job Profitability Summary",
"columns": [
"",
"Act. Cost",
"Act. Revenue",
"($) Diff."
],
"rows": [
{
"kind": "data",
"label": "Acme Construction:Kitchen remodel",
"cells": [
null,
21480,
27900,
6420
],
"depth": 1
},
{
"kind": "total",
"label": "TOTAL",
"cells": [
null,
188300,
241020,
52720
],
"depth": 0
}
]
},
"synced_at": "2026-11-27T07:04:12-06:00",
"as_of": "2026-11-27T07:03:58-06:00"
}About this report
Cost and revenue per job, as QuickBooks counts them
The job profitability summary is QuickBooks' own report from Reports > Jobs, Time & Mileage. For each customer and job it shows actual cost, actual revenue and the difference for the period (Intuit on tracking job costs). With shape=rows or CSV the columns come back as cost, revenue, difference and, when QuickBooks includes it, percent_difference. Jobs sit under their customer: top is the customer and line the job, so Acme Construction:Kitchen remodel reads as one row under Acme.
What counts as a cost
A cost reaches a job only when the bill, check or credit card charge names that job in its Customer:Job column, and time counts only once it has been put on a bill or an invoice: Intuit says timesheets alone don't post to this report. So a job that looks too profitable often has costs entered without the job on the line. The report is a view of what your file records, which is worth saying out loud before anyone reads the difference column as the final word on a job.
A job board
GET /v1/files/file_8f2c41/reports/job-profitability?date_from=2026-01-01&date_to=2026-11-30&shape=rows&format=csv
Keep kind = data, sort by difference, and the jobs losing money come first. With no dates you get this year to date from the copy kept here, refreshed when older than 6 hours; another period is asked for at the next Web Connector check-in (how queued reads work).
Check one answer first
Run one request against the file and look at the rows before building a board on it: a file that doesn't track jobs, or a QuickBooks edition that doesn't answer this report, has nothing to show here. For the billing side of a job on its own, list its invoices with ?customer=<job id>; for what was quoted, its estimates. Customers lists jobs with their jobStatus, which pairs well with this report on one board.
Other reports: Profit and loss, Balance sheet, A/R aging summary, A/P aging summary.