Dataset
ERP datasets of cross-module transaction histories for AI training
An ERP dataset is an extract of one company's enterprise resource planning system: document headers and line items across sales, purchasing, inventory, production and finance, the links that chain a quote to an order, delivery, invoice and payment, the change logs on each document and the master data they reference. SourceX sources these to a buyer's spec from established businesses, such as manufacturers and distributors running SAP, Oracle, Microsoft Dynamics, NetSuite or Infor. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- One company's ERP documents across modules, with flow links, change logs, master data and the data dictionary
- Typical systems
- SAP ECC and S/4HANA, Oracle E-Business Suite, NetSuite, Microsoft Dynamics 365, Infor M3, Epicor Kinetic
- Typical history
- Specified by the buyer; whole fiscal years, with archived periods and any system conversion noted
- Modality
- Relational tables of headers, lines, links and change records, with free-text notes on documents
- Delivery formats
- Agreed per order; tables as Parquet or CSV, with the data dictionary and configuration tables
- Preparation
- Customer, supplier and employee master data de-identified; user IDs pseudonymized with one mapping
- Licensing
- Rights reviewed per company; confirm the ERP vendor's terms on exporting the schema; permitted use set in the license
- Availability
- Sourced to your spec by industry, ERP product and modules; 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 |
|---|---|---|
| document_id | string | Pseudonymous document number, identical in every table and reference field where the original appears. |
| document_category | enum | The system's own category, such as sales order, delivery, billing document, purchase order, goods movement or accounting document. |
| document_type | string | The company-configured type code within the category, custom types included. |
| org_assignment | object | Company code, sales or purchasing organization, plant and storage location. |
| header | object | Document and posting dates, currency, payment terms, incoterms, and block and status fields. |
| line_items | array | Items with number, material, quantity, unit of measure, net value and item category. |
| flow_links | array | Item-level links from each preceding document to each subsequent one, with both categories and the quantity carried. |
| pricing_conditions | array | The conditions behind each price: condition type, rate, value and whether a person changed it by hand. |
| ledger_postings | array | Accounting lines the document created, with general ledger account, debit or credit, amount, source reference and clearing document. |
| change_log | array | Field-level changes with table, field, old and new value, time, transaction used and pseudonymous user. |
| master_data_refs | object | Keys of the customer, supplier and material records cited, with the non-identifying attributes delivered for each. |
| dictionary_ref | object | Source tables and fields of the record, flagging custom tables, appended fields and company-specific codes. |
| extraction | object | Source product and release, extraction date, currency decimal handling and archived date ranges. |
Field names from the table above; values are masked placeholders.
Example record
{
"document_id": "so_0000418827",
"document_category": "sales_order",
"document_type": "ZOR",
"org_assignment": {
"company_code": "cc_10",
"sales_org": "so_1000"
},
"header": {
"created": "2022-03-07",
"currency": "USD",
"delivery_block": null
},
"line_items": [
{
"item": "000010",
"material": "mat_77c1",
"qty": 480,
"uom": "EA",
"net_value": 17568.0,
"item_category": "TAN"
}
],
"pricing_conditions": [
{
"type": "PR00",
"rate": 38.0,
"value": 18240.0
},
{
"type": "ZVOL",
"rate_pct": -5.0,
"value": -912.0
},
{
"type": "ZFRT",
"value": 240.0,
"manual": true
}
],
"flow_links": [
{
"from": "so_0000418827/000010",
"to": "dl_0080031190/000010",
"to_category": "delivery",
"qty": 300
},
{
"from": "so_0000418827/000010",
"to": "dl_0080031544/000010",
"to_category": "delivery",
"qty": 180
},
{
"from": "dl_0080031190/000010",
"to": "md_4900218871/0001",
"to_category": "goods_issue",
"qty": 300
},
{
"from": "dl_0080031190/000010",
"to": "bl_0090044102/000010",
"to_category": "invoice",
"qty": 300
}
],
"ledger_postings": [
{
"accounting_document": "fi_1400007731",
"source_ref": "bl_0090044102",
"gl_account": "120000",
"amount": 10980.0,
"cleared_by": "fi_1500003318",
"cleared_on": "2022-04-21"
}
],
"change_log": [
{
"table": "VBAP",
"field": "KWMENG",
"item": "000010",
"old": "500",
"new": "480",
"at": "2022-03-09T14:02:11",
"tcode": "VA02",
"user": "u_3f9a"
},
{
"table": "VBAK",
"field": "LIFSK",
"old": "01",
"new": "",
"at": "2022-03-10T08:40:53",
"tcode": "VA02",
"user": "u_71c2"
}
],
"master_data_refs": {
"sold_to": "cust_5b20",
"material_group": "mg_014"
},
"dictionary_ref": {
"custom_codes": [
"ZOR",
"ZVOL",
"ZFRT"
]
},
"extraction": {
"product": "SAP S/4HANA",
"extracted": "2024-06-30"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train agents to trace a document chain
Order status, blocked invoices and unmatched receipts are answered by walking from one document to the next. Linked histories are worked examples of each walk.
Ground text-to-SQL on a real ERP schema
Cryptic field names, custom codes and item-level joins are what queries fail on. A populated extract with its dictionary lets you test against them.
Learn process behavior from change records
Change logs show which orders were re-dated, repriced or blocked before shipping, giving labels for delay and override prediction.
Build a simulated ERP for agent tasks
Master data, configuration and years of documents can seed an environment where an agent creates and changes documents against known outcomes.
Evaluate cross-module reasoning
Questions such as what was ordered but never billed have one right answer in the data, so held-out periods become graded test items.
Use-case guides: Enterprise and computer-use agents, Finance and accounting agents, Private evaluation sets
What makes this data valuable
Item-level links with quantities
Links between items, not only headers, let partial deliveries and collective invoices reconcile.
Change documents present
Field-level history on orders, purchase orders and master data shows a document's state at any date.
Dictionary and configuration shipped
Field descriptions, value lists and custom objects make every code in the data decodable.
Logistics tied to finance
Each billing and goods movement document can be followed to its accounting posting and clearing.
Whole fiscal years
Continuous periods with no archiving gap keep open items, reversals and year-end postings intact.
One pseudonym per key
Customers, suppliers, users and document numbers keep the same token in every table.
System export
ERP dataset
Document flow is what a single-function extract loses
An ERP stores one business event as many documents, and a single-function extract keeps only some of them. In SAP a sales order is a header in VBAK and items in VBAP. Shipping it creates a delivery in LIKP and LIPS and a goods issue material document. Billing creates VBRK and VBRP and posts an accounting document, and the customer's payment later clears the open receivable. VBFA chains the sales documents, one row per pair of preceding and subsequent items with the category of each. In purchasing, EKBE lists the goods receipts and invoice receipts posted against each purchase order item. NetSuite keeps comparable line-level links between transactions.
An agent asked why an order has not been invoiced has to walk that chain and find the block or missing step. The chain is many-to-many at item level. One order line ships in three partial deliveries, several deliveries are collected on one invoice, and one payment clears a dozen invoices. Flattening this to one case ID, as a classic event log does, duplicates some events and drops others. Ask for item-level links with the quantity carried on each, so ordered quantity reconciles to delivered, billed and open.
The crossing from logistics into finance is where extracts most often break. The accounting document has its own number range and points back to the billing or material document through a reference key, and clearing ties the invoice to the payment. A sales-only extract ends at the billing document. A ledger-only extract starts at a posting whose origin is gone. Document numbers are the joins, so each needs the same pseudonym in every table, including reference fields where a clerk typed it.
Change logs and custom configuration are the obstacle and the value
Document tables show how each record ended, and change logs show how it got there. SAP writes change documents in two tables. CDHDR records the object, the user, the time and the transaction used. CDPOS records the table, the field, the old value and the new value. They show an order quantity cut, a delivery date pushed twice, a price overridden by hand and a block set and released. Only fields flagged for change documents are logged, so a missing entry does not prove a field never changed. Every change carries a user ID. Check that these are pseudonymized with one mapping and that batch and interface users are told apart from people.
No two installations share a configuration. Companies add their own document types, pricing condition types, extra fields on standard tables and whole custom tables, which in SAP sit in the customer namespace and start with Z or Y. A discount coded ZVOL means something in one company only, and the pricing procedure that sequences it is configuration, not data. Many standard SAP field names are abbreviations of German terms, so MATNR is a material number and BUKRS a company code. Without the data dictionary, the value lists and the configuration tables, an extract is columns of codes. With them it is the environment an enterprise agent is deployed into, so the schema must ship with the data.
Storage conventions cause quieter errors. SAP stores currency amounts with two decimal places by default, so an amount in yen, which has no decimals, reads 100 times too small until it is converted with the currency decimals table. Numeric document and material numbers are stored zero-padded and displayed without the padding. S/4HANA also moved data: pricing results from KONV to PRCD_ELEMENTS, material documents to MATDOC and finance line items into ACDOCA. Years extracted or archived before a conversion keep the old shape, so ask which release each year of the extract came from.
What to check before licensing
- Ask for the tables in the extract with row counts per fiscal year. A sudden drop usually means archiving or a system conversion, not a quiet year.
- On the sample, walk several sales orders from quotation to cleared payment using only the delivered links, and record where each chain breaks.
- Confirm customer and supplier master data is de-identified: names, addresses, tax numbers, bank details and contact persons, plus the document texts that repeat them.
- Confirm user IDs in change logs and created-by fields are pseudonymized with one mapping, and that batch, interface and workflow users are flagged.
- Have counsel check whether the ERP vendor's license restricts exporting or disclosing the schema, data dictionary or configuration, and ask how the supplier addressed it.
- Try to decode every document type, item category, condition type and status code in the sample from the dictionary delivered.
- Check amounts: currency decimals converted, credit memos and returns signed consistently, and, where values are scaled, items still foot to headers and invoices to postings.
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
How is an ERP dataset different from a process mining event log?
An event log is a derived view, and an ERP extract is the source it is derived from. A log reduces each document to a case ID, an activity and a timestamp, which drops line items, prices, postings and master data. The extract keeps the tables and their links, so you can build a log from it under any case definition.
Which ERP systems and modules can be covered?
Any system a supplying company runs and can export, such as SAP ECC or S/4HANA, Oracle E-Business Suite, NetSuite, Microsoft Dynamics 365 and Infor products. Say which modules you need together, because the value is in the links between them. Table names and link structures differ by product, so specify the product family too.
Do I need the data dictionary and configuration, or only the transaction tables?
You need both. Transaction tables hold codes whose meaning is set in configuration: document types, item categories, condition types, movement types and status values, many of them created by the company. Ask for field descriptions, value lists, the tables that define each custom code, and any custom tables and appended fields.
How are customers, suppliers and employees de-identified without breaking the joins?
The joins survive when each key is replaced with one pseudonym used everywhere the key appears, so make that a requirement. Names, addresses, tax and bank details are removed from master data, while non-identifying attributes such as account group, country or material group can stay if agreed. The weak points are free-text fields, where clerks type names and document numbers, and user IDs in change logs.
Can prices and amounts be kept exact?
Sometimes, and it is agreed per dataset. Exact prices and volumes are commercially sensitive and can identify a company, so suppliers may ask for amounts to be scaled. If so, ask for one factor per company applied to every table, so condition values still add up to item values, items to headers, and invoices to ledger postings and payments.
Does the ERP vendor's license affect what can be delivered?
It can, so have counsel check before you rely on the schema. Software license agreements commonly carry confidentiality terms covering the software and its documentation, and whether an export of table definitions, field descriptions and configuration falls under them depends on the supplier's own contract. Ask the supplier which terms apply, whether table and field names are original or mapped to neutral names, and who owns custom objects a partner wrote.
Related datasets
- Whole-company archives across connected systems
One company's records across its systems, linked by shared identities and a common timeline
- Enterprise workflow and task execution histories
Linked task trajectories from request to outcome, across every tool the work touched
- Supply chain and logistics operations records
Linked orders, shipments, tracking events, exceptions and freight documents from real operations
- Accounting and reconciliation workflows
Coded transactions, reconciliations and close records with reviewer corrections and approvals
- Purchase order histories from requisition to receipt
Purchase orders followed from requisition and approval through revisions, acknowledgment, receipt and invoice match
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 25 November 2026. Own data like this? See how companies license it to AI developers.