Dataset
QuickBooks accounting records datasets for AI training
A QuickBooks dataset is an export of one business's QuickBooks company: its Account list, the Invoice, Bill, Payment, BillPayment, Purchase, Deposit and JournalEntry transactions posted against it, the Customer, Vendor and Item lists they reference, and the receipts stored as attachments. SourceX sources it to a buyer's spec from established businesses that keep their books in QuickBooks Online or QuickBooks Desktop, with names, bank details and payroll entries removed or pseudonymized. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- One company's transactions, lists, ledger reports and attachments from QuickBooks Online or a Desktop company file
- Typical systems
- QuickBooks Online (Simple Start, Essentials, Plus, Advanced) and QuickBooks Desktop (Pro, Premier, Enterprise); class, location and inventory records only where the edition has them
- Typical history
- Varies by company; specify fiscal years and whether Desktop years before a move to Online are in scope
- Modality
- Structured transaction and list records, report output, and attached receipts and bills as PDFs and images
- Delivery formats
- JSONL per entity from the Online API, reports as JSON or CSV, Desktop transactions as qbXML or report exports, Desktop lists as IIF, attachments as files
- Preparation
- Customer, vendor and employee names re-keyed, bank account details removed, payroll entries removed or aggregated, memos and attachments screened
- Licensing
- Scoped per company and fiscal years; permitted use agreed per license; Intuit's terms on exported data and API use checked by owner and buyer
- Availability
- Sourced to your spec; industry, edition and years of history depend on the business, and supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| txn_ref | string | Pseudonymous key replacing the entity's Id (Online) or TxnID (Desktop), stable across lines, links and report rows. |
| txn_type | enum | The entity the record came from, such as Invoice, Bill, Purchase or JournalEntry, with a Purchase's PaymentType. |
| txn_date_and_number | object | TxnDate, DocNumber and DueDate as entered, which can differ from the day the entity was created. |
| party_key | string | Pseudonymous key for the CustomerRef or VendorRef, with the parent Customer for sub-customers and Desktop jobs. |
| lines | array | The entity's Line array with DetailType, amount and description, for example SalesItemLineDetail on an Invoice or AccountBasedExpenseLineDetail on a Bill. |
| lines[].account_or_item_ref | object | The line's AccountRef or ItemRef with its ClassRef, plus the DepartmentRef that the screens call Location, which most entities carry once on the header. |
| lines[].posting_type | enum | Debit or Credit from JournalEntryLineDetail; null on other entities, where QuickBooks derives the side. |
| totals_and_balance | object | TotalAmt, open Balance, the TxnTaxDetail tax total, and CurrencyRef with ExchangeRate under multicurrency. |
| linked_txns | array | LinkedTxn pairs of TxnId and TxnType, tying a Payment to its Invoices, a BillPayment to its Bills and a Deposit to its Payments. |
| sync_and_metadata | object | SyncToken with MetaData CreateTime and LastUpdatedTime (EditSequence and TimeModified on Desktop), the only change markers an entity carries. |
| ledger_rows | array | Rows of the General Ledger or Journal report for this transaction: account, debit, credit, split and the report's basis. |
| account | object | The Account record behind a posting: AccountType, AccountSubType, Classification, parent, Active flag and AcctNum where used. |
| attachments | array | Attachable records linked by AttachableRef, with FileName, ContentType, Note and the downloaded file. |
| memo_text | object | PrivateNote, the memo staff see, and CustomerMemo, printed on the form, screened for names. |
Field names from the table above; values are masked placeholders.
Example record
{
"txn_ref": "txn_7f3a1c",
"txn_type": "Invoice",
"txn_date_and_number": {
"TxnDate": "2024-03-14",
"DocNumber": "1187",
"DueDate": "2024-04-13"
},
"party_key": "cus_2b90",
"lines": [
{
"DetailType": "SalesItemLineDetail",
"Description": "Quarterly HVAC maintenance visit",
"Amount": 480.0,
"account_or_item_ref": {
"ItemRef": "itm_014",
"item_type": "Service",
"IncomeAccountRef": "acc_4100",
"ClassRef": "cls_service"
},
"posting_type": null
},
{
"DetailType": "SalesItemLineDetail",
"Description": "Filter set, 20x25",
"Amount": 64.0,
"account_or_item_ref": {
"ItemRef": "itm_233",
"item_type": "NonInventory",
"IncomeAccountRef": "acc_4300",
"ClassRef": "cls_service"
},
"posting_type": null
},
{
"DetailType": "SubTotalLineDetail",
"Amount": 544.0
}
],
"totals_and_balance": {
"TotalAmt": 576.64,
"TotalTax": 32.64,
"Balance": 0,
"CurrencyRef": "USD"
},
"linked_txns": [
{
"TxnId": "txn_81d2e0",
"TxnType": "Payment"
}
],
"sync_and_metadata": {
"SyncToken": "3",
"CreateTime": "2024-03-14T09:41:07-07:00",
"LastUpdatedTime": "2024-04-02T16:12:55-07:00"
},
"ledger_rows": [
{
"report": "GeneralLedger",
"basis": "Accrual",
"account": "Accounts Receivable (A/R)",
"debit": 576.64,
"split": "-Split-"
},
{
"account": "Service Revenue",
"credit": 480.0
},
{
"account": "Parts and Materials Income",
"credit": 64.0
},
{
"account": "Sales Tax Payable",
"credit": 32.64
}
],
"account": {
"account_key": "acc_4100",
"AccountType": "Income",
"AccountSubType": "ServiceFeeIncome",
"Classification": "Revenue",
"Active": true
},
"attachments": [
{
"FileName": "signed_work_order_1187.pdf",
"ContentType": "application/pdf",
"file": "att/txn_7f3a1c/01.pdf"
}
],
"memo_text": {
"PrivateNote": "Rebilled after tax code fix"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train bookkeeping agents on entry-to-ledger pairs
Each entity paired with its report rows shows what a bookkeeper keyed and which accounts were debited and credited.
Teach categorization in a real chart of accounts
Purchase and Bill lines coded to a company's own accounts, items and classes give labels in a small business's vocabulary.
Model how receivables and payables are applied
LinkedTxn chains show which Payment closed which Invoice and which Deposit banked it.
Extract fields from receipts and bills
Attachable files joined to their Bill or Purchase give document images with the amounts and accounts booked.
Build evaluation sets for accounting assistants
Held-out periods with a known trial balance let a lab score whether an agent's entries keep the books in balance.
Use-case guides: Finance and accounting agents, Document AI, enterprise search and RAG, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Entities tie to the report
Summed entity lines reproduce the General Ledger report for the same dates and basis.
Few catch-all postings
Few lines sit in Uncategorized Expense, Ask My Accountant or Opening Balance Equity.
References resolve
Every LinkedTxn, AccountRef and ItemRef points at a record in the delivery, inactive ones included.
Attachments delivered
Bills and Purchases come with their Attachable files, not only the file names.
Edit markers kept
SyncToken and both MetaData times are present, separating untouched from reworked entries.
Edition and basis stated
The manifest names the edition, the reporting basis and any Desktop-to-Online move.
Value drivers
QuickBooks dataset
QuickBooks Online has no ledger table, only entities and a report
In QuickBooks Online the general ledger cannot be exported as stored rows. The accounting API returns entities, one type per form a bookkeeper fills in: Invoice, Bill, Payment, BillPayment, Purchase (an expense, check or credit card charge on screen, told apart by PaymentType), Deposit and JournalEntry. Only the JournalEntry states its debits and credits, in a PostingType on each line. Every other entity records what was typed. An Invoice line names an Item, and the income account comes from that Item's IncomeAccountRef. The debit to Accounts Receivable appears nowhere on the Invoice.
The ledger exists as the General Ledger and Journal reports, which QuickBooks computes when asked, on a cash or an accrual basis, so the same entities give two ledgers. When someone changes an Item's income account, QuickBooks Online offers to update existing transactions too, so past invoices reclassify, and a period never locked with a closing date can be altered by an entry dated back into it. A report run today for an old year is today's view of that year.
A training set needs both halves: the entity as the input a person keyed, and the report rows as the output that landed in each account. A Payment applied to an Invoice through LinkedTxn often sits in Undeposited Funds, which newer companies may label Payments to deposit, until a Deposit sweeps several payments into the bank account, so one bank line stands for many customer receipts. Ask for report rows keyed to their entity, with the basis stated.
Edits overwrite, the audit log stays on screen, and Desktop is another schema
An edit to an Invoice in QuickBooks Online replaces the entity. The API returns the current version with a higher SyncToken and a new LastUpdatedTime. A SyncToken of zero means untouched since creation, and a higher one means something touched it, without saying what. The audit log, which names the user and the old and new values, is a screen inside the product and is not returned by the accounting API. The change data capture call lists the entities changed within a look-back window, in their current state only.
A deleted transaction leaves the query results, and a voided one stays with zero amounts. Inactive customers, vendors and accounts are skipped unless asked for, yet old transactions still point at them. Bank feed lines waiting for review, and the bank rules that code them, are not entities, so the export shows a categorized Purchase and not the bank line behind it. An Attachable comes back with a temporary download link, so files must be fetched at the pull.
QuickBooks Desktop keeps a company in a .QBW file, read through the Desktop SDK as qbXML, with lists also exportable as IIF text. Its records carry a TxnID or ListID and an EditSequence in place of Id and SyncToken. Checks and credit card charges are separate types where Online has one Purchase, and a job is a level under a customer. A company migrated to Online gets new identifiers for its entities, so ask whether the Desktop-to-Online ID mapping was captured. Desktop does keep an Audit Trail report of prior values, and its Condense Data utility can replace old detail with summary journal entries. The SDK's CompanyActivityQuery returns a LastCondenseTime, which shows whether that happened. Test a sample by tying one month of entities to the report, then check that a customer and an account keep one key across a move to Online.
What to check before licensing
- Have the data owner and your counsel read Intuit's terms on exported data and bulk extraction through the API before a permitted use is agreed.
- Confirm the licensor owns the company. An accountant's login to a client's QuickBooks company is access, not the right to license its books.
- Tie one sample month: sum entity lines by account, compare with the General Ledger report, and get the basis in writing.
- Ask whether inactive customers, vendors, items and accounts were pulled, and how voided and deleted transactions are represented.
- Check that customer, vendor and employee names, bank account details and payroll entries are removed or pseudonymized, in memos and attachment images too.
- If history spans Desktop and Online, ask for the mapping of accounts, customers, jobs and transaction types, and for the Desktop file's LastCondenseTime, which shows whether old detail was condensed.
- Count postings to Uncategorized Expense, Ask My Accountant and Opening Balance Equity, and ask whether past years were locked with a closing date.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Does a QuickBooks dataset include the general ledger?
Yes, when the request asks for it, as report output delivered beside the transactions. QuickBooks Online stores invoices, bills, payments and journal entries as separate entities and computes the ledger when the General Ledger report is run. A delivery should carry both, with report rows keyed to their entity and the basis stated. Without the report, only journal entries show debits and credits.
Can we see how an entry changed over time?
Only partly. An edit in QuickBooks Online overwrites the entity, and the export shows a higher SyncToken and a later update time, not the earlier values. The audit log that names the user and the old values is not returned by the accounting API. If edit history matters, ask for audit log captures, earlier periodic pulls, or a Desktop Audit Trail report.
How does QuickBooks Online data differ from QuickBooks Desktop data?
They are two schemas. Online data comes from the accounting API as JSON entities with an Id and a SyncToken. Desktop data sits in a .QBW company file and is read as qbXML through the Desktop SDK or as report exports, with TxnID, ListID and EditSequence. Transaction types and the customer and job structure differ, and a migrated company gets new identifiers in Online, so a business with years in both needs a mapping table.
Are receipts and bill images included?
They can be, where the business attached them. QuickBooks stores each file as an Attachable linked to a transaction, with a file name, content type and note. The API returns a temporary download link, so files are fetched during the pull. Attachments often show vendor names, addresses and card digits, so agree how images are redacted.
Which QuickBooks edition should a request specify?
Specify the edition that carries the dimensions you need, because the edition decides which fields exist. In QuickBooks Online, class and location tracking and inventory quantities are features of the higher plans, and Desktop Premier and Enterprise add records such as sales orders. A company on an entry plan codes transactions to accounts and items without those tags. Plan lineups change, so ask which plan the company was on in each year.
Is SourceX affiliated with Intuit?
QuickBooks is named to identify the system the records come from. That does not imply a partnership with or endorsement by Intuit. The records belong to the business that runs QuickBooks, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Bookkeeping firm client files across many businesses
Many small-business client files from one firm: feed lines, coding, source documents, client queries and period-end packages
- ERP transaction histories across modules
One company's ERP documents across modules, with flow links, change logs, master data and the data dictionary
- Accounts payable invoices with approvals and exceptions
Supplier invoices as received, joined to posted fields, GL coding, approval route, match result, exceptions and payment
- Xero accounting records
One Xero organization's source documents, the ledger journals they posted, its lists and its attached files
- Sage 50 accounting records
One small business's ledger, numbered audit trail, customer and supplier ledgers, invoices, stock and bank records from one Sage 50 edition
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026. Own data like this? See how companies license it to AI developers.