Dataset
NetSuite transaction record datasets for AI training
A NetSuite dataset is a collection of one company's NetSuite account records: Transaction rows for sales orders, invoices, vendor bills, purchase orders, payments, fulfillments and journal entries, their TransactionLine and TransactionAccountingLine rows, the customer, vendor, item, subsidiary and account records they reference, and the SystemNote rows that log field changes. SourceX sources it to a buyer's spec from established businesses that run NetSuite, with the account's custom fields and custom records documented. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- One NetSuite account's transactions with lines, accounting lines, links, master records, system notes and custom field definitions
- Typical systems
- NetSuite ERP, with OneWorld subsidiaries and Multi-Book Accounting where enabled; CRM, expense and payroll records only where the buyer specifies them
- Typical history
- Specified by the buyer; whole fiscal years by posting period
- Modality
- Structured rows from the analytics tables, memo text, type and status codes with their display values
- Delivery formats
- Agreed per order; CSV or Parquet per table under SuiteQL names, with custom field and list definitions as metadata files
- Preparation
- Customers, vendors, employees and users pseudonymized, one key per internal ID; addresses, tax IDs and bank details removed; memos scrubbed
- Licensing
- Permitted use agreed per license; scoped by subsidiary, transaction type and date range
- Availability
- Sourced to your spec from businesses that run NetSuite; 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 |
|---|---|---|
| transaction_key | string | Pseudonym of the Transaction internal ID, the key that TransactionLine, TransactionAccountingLine, link and SystemNote rows refer to. |
| transaction | object | Columns of the Transaction row: type code such as SalesOrd or CustInvc, tranid, trandate, postingperiod, status, currency, and the posting and voided flags. |
| entity | object | The entity on the Transaction resolved to a pseudonymous Customer or Vendor record, with category and terms. |
| created_from | string | The createdfrom reference, pointing at the sales order, purchase order or other Transaction this one was made from. |
| lines | array | TransactionLine rows: line ID, mainline and taxline flags, Item, quantity, rate, foreignamount, netamount and isclosed. |
| lines[].segments | object | Subsidiary, Department, Classification and location on each TransactionLine, plus any cseg_ custom segments. |
| accounting_lines | array | TransactionAccountingLine rows per line and accounting book: Account with its type, debit, credit and posting flag. |
| links | array | PreviousTransactionLineLink rows: previousdoc, previousline, nextdoc, nextline, linktype and, for applications, the amount. |
| custom_fields | object | The account's custbody_ and custcol_ values on the row, each with the label, type and source list from its definition. |
| system_notes | array | SystemNote rows for the record: field, oldvalue, newvalue, type, context, date and the pseudonymous user and role. |
| period | object | The AccountingPeriod named by postingperiod: start and end dates and its closed and lock flags. |
Field names from the table above; values are masked placeholders.
Example record
{
"transaction_key": "txn_8c41f0",
"transaction": {
"type": "CustInvc",
"tranid": "INV-020417",
"trandate": "2024-09-12",
"postingperiod": "Sep 2024",
"status": {
"code": "B",
"label": "Paid In Full"
},
"currency": "USD",
"posting": true,
"voided": false
},
"entity": {
"record": "customer",
"key": "cus_2e7a",
"terms": "Net 30"
},
"created_from": "txn_8b9d22",
"lines": [
{
"line": 0,
"mainline": true,
"netamount": 18600.0,
"segments": {
"subsidiary": "sub_02",
"location": "loc_05"
}
},
{
"line": 1,
"mainline": false,
"item": "itm_4410",
"quantity": -120,
"rate": 155.0,
"netamount": -18600.0,
"segments": {
"subsidiary": "sub_02",
"department": "dep_11",
"class": "cls_03",
"location": "loc_05"
}
}
],
"accounting_lines": [
{
"line": 0,
"accountingbook": "Primary",
"account": "acct_1100",
"accttype": "AcctRec",
"debit": 18600.0,
"posting": true
},
{
"line": 1,
"accountingbook": "Primary",
"account": "acct_4000",
"accttype": "Income",
"credit": 18600.0,
"posting": true
}
],
"links": [
{
"linktype": "OrdBill",
"previousdoc": "txn_8b9d22",
"previoustype": "SalesOrd",
"previousline": 1,
"nextline": 1
},
{
"linktype": "Payment",
"previousline": 0,
"nextdoc": "txn_8d77a3",
"nexttype": "CustPymt",
"foreignamount": 18600.0
}
],
"custom_fields": {
"custbody_ship_priority": {
"value": 2,
"label": "Expedite"
}
},
"system_notes": [
{
"field": "Due Date",
"oldvalue": "2024-10-12",
"newvalue": "2024-10-27",
"type": "Change",
"context": "UI",
"date": "2024-09-30T15:02:11Z",
"user": "usr_31",
"role": "A/R Clerk"
},
{
"field": "Ship Priority",
"newvalue": "Expedite",
"type": "Set",
"context": "Workflow",
"date": "2024-09-12T08:40:03Z"
}
],
"period": {
"name": "Sep 2024",
"closed": true,
"arlocked": true
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Order-to-cash chain reasoning
Created-from references and line-level link rows let a model follow an order through fulfillment, invoice and payment, and find where a chain stopped.
Ledger posting prediction
Transaction type, item and segments, with the accounting lines that resulted, are input and target for a model that proposes debits and credits.
Learning from corrections
System notes with old value, new value and context show which fields people fix after entry and which an integration rewrites.
Agents on a customized account
An account with its own custbody_ fields, custom records and scripted values tests whether an agent reads field definitions before acting.
Period close review
Posting periods, lock flags, voids and reversing journals give cases of entries dated into closed periods or reversed later.
Use-case guides: Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Line-level links
Link rows pair order lines with fulfillment, invoice and payment lines, not only headers.
Accounting lines balance
Debits equal credits for every posting transaction in each accounting book.
System notes with context
Notes cover the whole date range and say whether a person, an import or a script made the change.
Custom fields defined
Every cust-prefixed column maps to a label, a type and a source list.
Unrestricted export role
The exporting role could see every subsidiary and transaction type in scope.
Codes with display values
Type and status codes, items, accounts and segments arrive with internal ID and display value.
System export
NetSuite dataset
One Transaction record holds every document type
Every NetSuite document, from an estimate to a vendor payment, is a row of the Transaction record with a type code such as SalesOrd, ItemShip, CustInvc, CustPymt, VendBill or Journal, not a row of a per-module table. Beneath it sit TransactionLine rows, and on most types one is flagged as the main line and stands for the header's side of the entry, such as the receivable on an invoice. In the analytics tables that SuiteQL reads, Subsidiary, Department, Classification and location are columns of the line, not the header. TransactionAccountingLine gives the Account, debit and credit of each line in each accounting book.
The chain between documents comes out of the same table family. An item fulfillment or invoice made from a sales order carries a createdfrom reference to it, and the transaction link tables, PreviousTransactionLineLink and NextTransactionLineLink, pair a line of the earlier document with a line of the later one under a link type. A customer payment is the exception. It is not created from an invoice. It is applied to one or several, and each application, with its amount, is a link row too. An order-to-cash chain is a walk over one set of tables filtered by type, and one order line can fan out to several fulfillments and invoices.
A row keeps only its current state. Status is a letter code whose meaning depends on the type, and it moves as later documents are entered. Sales orders, estimates and purchase orders are non-posting, and the posting flag tells them apart from fulfillments, invoices and bills. A void either zeroes the transaction in place or writes a reversing journal, depending on an accounting preference. A deleted transaction leaves these tables.
System notes, custom fields and what each export route returns
For changes to most record fields NetSuite writes a SystemNote row: the field, the old and new value, the user and role, the time and the context, such as the user interface, a CSV import, web services, a script or a workflow. That context separates a clerk's correction from an integration overwriting a value. Old and new values are stored as display text, so a changed sales rep or customer appears by name and must be scrubbed with the same mapping as the master records. Custom record types log changes only where system notes were enabled, and line-level coverage varies, so a missing note does not prove a field never changed.
No two accounts share a schema. Body fields added by the company start with custbody_, line fields with custcol_, entity and item fields with custentity_ and custitem_, and custom record fields with custrecord_, in tables named customrecord_ with value lists named customlist_. The definitions, with label, type, source list and whether the field stores its value, must ship with the rows. A field that does not store its value is computed on display and may not export at all.
A saved search exported to CSV gives display labels and only the columns its author chose, and without a Main Line filter it repeats header values on every line. SuiteQL and SuiteAnalytics Connect read the analytics data source, whose names differ from saved-search and SuiteScript names, and return only what the role that ran them may see, so a role restricted to one subsidiary yields a partial ledger with no error. To test a sample, sum debits and credits per transaction and accounting book, compare account totals by period with the company's trial balance, and check signs, since line amounts follow ledger impact and revenue lines can read negative.
What to check before licensing
- Ask which subsidiaries, transaction types and accounting books the extract covers and which role ran it, then compare account totals by period with its trial balance.
- Confirm that Customer, Vendor and Employee personal data, addresses, tax IDs and bank details are removed, including names inside SystemNote old and new values and memo fields.
- Read the Oracle NetSuite subscription terms with the data owner on extracting data through SuiteQL, SuiteAnalytics Connect or web services at volume, and confirm the route used is allowed.
- Check that transaction link rows are delivered at line level, and on a sample walk sales orders to fulfillments, invoices and payment applications using only those rows.
- Require definitions for every custbody_, custcol_, custentity_, custitem_ and custrecord_ field and custom list, and a list of the scripts, workflows and SuiteApps that write to them.
- Count SystemNote rows per transaction by context, and ask whether custom record types had system notes enabled for the period.
- Ask how the account voids transactions, whether deleted records are listed, and whether expense reports and paychecks, which name employees, were left out.
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 NetSuite dataset include the history of field changes?
Yes, for most fields, through system notes. NetSuite writes a SystemNote row with the field, old value, new value, user, role, time and context when a field changes. Coverage is not total: custom record types log only where system notes were enabled, and line-level coverage varies, so count notes per record on the sample.
Why are sales orders, invoices and journal entries in one table?
Because NetSuite models every document as a Transaction with a type code. Orders, fulfillments, invoices, payments, vendor bills and journals share the Transaction, TransactionLine and TransactionAccountingLine tables and differ by type, status and whether they post to the ledger. Scope the dataset by type code, and ask for the posting flag so non-posting orders are not read as ledger activity.
How are orders linked to fulfillments, invoices and payments?
Through created-from references and transaction link rows. A fulfillment or invoice made from a sales order points back at it, and line-level link rows pair each order line with the lines that drew on it. Payments are applied, not created from an invoice, and each application is a link row with its amount. Header links alone cannot reconcile partial shipments.
What happens to custom fields, custom records and saved searches?
They belong to the account, and each needs its definition to be readable. Fields with the custbody_, custcol_, custentity_, custitem_ and custrecord_ prefixes, custom record tables and custom lists should arrive with labels, types and source lists. Saved-search definitions can be part of a delivery as the company built them, so say whether you want them and ask whether their criteria arrive in readable form.
Which NetSuite export route gives the most complete data?
SuiteQL or SuiteAnalytics Connect usually does, because the analytics data source exposes lines, accounting lines, link tables and system notes as tables. A saved-search CSV carries only the columns its author picked, as display labels. Either way the result is limited to what the exporting role can see, so ask which role ran it and how row caps were handled.
Is SourceX affiliated with Oracle?
NetSuite is named to identify the system the records come from. That does not imply a partnership with or endorsement by Oracle. The records belong to the business that runs NetSuite, 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
- ERP transaction histories across modules
One company's ERP documents across modules, with flow links, change logs, master data and the data dictionary
- SAP ERP table extracts
Table extracts from one SAP client: accounting, purchasing and sales documents, material movements, vendor, customer and material masters, change documents and decode tables
- Sage Intacct general ledger records
One Sage Intacct company's journal batches and entry lines with dimension tags, payables and receivables documents, payments, chart of accounts and dimension records
- Acumatica ERP transaction records
Ledger batches and lines, payables and receivables documents with lines and applications, sales and purchase orders, and inventory transactions from one tenant
- ERP and CRM customization code
Customer-written platform code with tenant metadata, deployment history and the specification behind each change
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.