Dataset
Purchase order datasets for AI training
A purchase order dataset is a set of purchase orders, each followed across its life: the requisition as the requester typed it, the approval chain, the order header and lines, every change made after issue, the supplier's acknowledgments, the goods receipts and the invoices matched to it. SourceX sources these histories from established businesses, such as manufacturers, distributors and large service companies that run purchasing in an ERP or a procure-to-pay suite. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Purchase orders followed from requisition and approval through revisions, acknowledgment, receipt and invoice match
- Typical systems
- SAP, Oracle, Microsoft Dynamics and NetSuite purchasing modules; Coupa and SAP Ariba; EDI order messages
- Typical history
- Specified by the buyer; several fiscal years let revisions, closures and price changes be followed
- Modality
- Structured header, line, revision and receipt tables; free-text requisition lines and notes; order PDFs where kept
- Delivery formats
- Agreed per order; tables as CSV or Parquet with a data dictionary, or one JSON history per order
- Preparation
- Requesters, approvers, buyers and suppliers replaced with tokens; prices exact, indexed or banded as the scope allows
- Licensing
- Rights reviewed per holder; confirm that supplier agreements allow negotiated prices to be released; permitted use set in the license
- Availability
- Sourced to your spec by industry, spend category and system; 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 |
|---|---|---|
| po_history_id | string | Pseudonymous key for one order, shared by its requisition, revisions, receipts and matched invoices. |
| order_type | enum | Standard order, release against a blanket order or contract, scheduling agreement or service order. |
| requisition | object | The request as entered: line text as typed, quantity, need-by date, cost center and requester token. |
| requisition_coding | object | The catalog item, commodity code and supplier assigned to each requisition line, by whom, and whether the line was catalog, punchout or free text. |
| approval_chain | array | Each approval step with the approver role, the rule that routed it there, the decision and the timestamp. |
| header | object | Issue date, purchasing organization, currency, payment terms, Incoterm and supplier token. |
| lines | array | Line number, item, description, quantity, unit, unit price, promised date, account assignment and status. |
| revisions | array | Every change after issue: timestamp, field, old and new value, who initiated it, the reason and whether it was re-approved. |
| supplier_acknowledgments | array | The supplier's response to the order and to each change, with confirmed quantities and dates and the channel used. |
| receipts | array | Goods receipts and service entries per line, with posting date, quantity, and any reversal or return. |
| invoice_matches | array | Invoices posted against each line, the revision they were matched to, and the quantity or price variance found. |
| closure | object | How the order ended: fully received, closed short, cancelled or still open, with the commitment left. |
| price_basis | object | Where the unit price came from: a contract, a catalog, a quote, the last price paid or manual entry. |
Field names from the table above; values are masked placeholders.
Example record
{
"po_history_id": "poh_5c1e77",
"order_type": "standard",
"requisition": {
"line_text_as_typed": "replacement belts for line 3 conveyor, same as last time, need asap",
"quantity": 40,
"need_by": "2024-03-15",
"requester": "REQ_0412",
"cost_center": "CC_MAINT_02"
},
"requisition_coding": {
"entry_path": "free_text",
"item": "ITM_88214",
"commodity_code": {
"scheme": "internal_material_group",
"requester_picked": "MISC_MRO",
"buyer_final": "MRO_POWER_TRANSMISSION"
},
"supplier": "SUP_0193"
},
"approval_chain": [
{
"role": "maintenance_supervisor",
"rule": "cost_center_owner",
"decision": "approved",
"t": "2024-03-02T14:05:00Z"
}
],
"header": {
"issued": "2024-03-04",
"currency": "USD",
"payment_terms": "net_45"
},
"lines": [
{
"line": 10,
"item": "ITM_88214",
"quantity": 24,
"unit": "EA",
"unit_price": 41.2,
"promised": "2024-04-02",
"status": "closed"
}
],
"revisions": [
{
"rev": 1,
"t": "2024-03-06T09:15:00Z",
"initiated_by": "supplier",
"reason": "backorder",
"changes": [
{
"line": 10,
"field": "promised",
"old": "2024-03-18",
"new": "2024-04-02"
}
],
"reapproval": false
},
{
"rev": 2,
"t": "2024-03-11T16:40:00Z",
"initiated_by": "buyer",
"reason": "part_sourced_elsewhere_surcharge_accepted",
"changes": [
{
"line": 10,
"field": "quantity",
"old": 40,
"new": 24
},
{
"line": 10,
"field": "unit_price",
"old": 38.5,
"new": 41.2
}
],
"reapproval": true
}
],
"supplier_acknowledgments": [
{
"for_rev": 0,
"channel": "edi_855",
"status": "accepted_with_changes"
},
{
"for_rev": 2,
"channel": "edi_865",
"status": "accepted"
}
],
"receipts": [
{
"line": 10,
"posted": "2024-04-03",
"quantity": 24
}
],
"invoice_matches": [
{
"line": 10,
"invoice": "INV_7731",
"quantity": 24,
"unit_price": 41.2,
"amount": 988.8,
"matched_to_rev": 2,
"result": "matched"
}
],
"closure": {
"state": "fully_received_and_invoiced",
"open_commitment": 0
},
"price_basis": {
"source": "contract",
"ref": "CT_2207"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Predict how an order will drift
Estimate at issue the chance that a line is delivered late, cut, repriced or cancelled, with the revisions and receipts that followed as the outcome.
Classify free-text requests
Map a requester's own words to a catalog item, commodity code and supplier, with the buyer's final coding as the label.
Handle change requests
Teach a purchasing agent what to do when a supplier moves a date or a requester changes a quantity: amend, re-approve, split or cancel.
Match against the right version
Give a model an invoice and an order with several revisions, and score whether it matches against the terms in force at receipt.
Check process conformance
Build test sets from orders raised after the invoice date, approvals that skipped a step and lines closed short, each flagged from the record.
Use-case guides: Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Old and new values
Each revision carries the field with its value before and after, not only a revision counter.
Text as typed
Requisition lines keep the requester's wording, misspellings and part numbers included.
Initiator and reason
Changes are attributed to buyer, supplier or requester, with a reason code or note.
Line-level links
Requisition line, order line, receipt and invoice line join on keys, not on amounts and dates.
Endings recorded
Cancelled lines and orders closed short are kept and flagged, not dropped.
Routing rule visible
Approval steps name the rule that triggered them, such as an amount limit or a commodity.
Record timeline
Purchase order dataset
Change orders record how a commitment drifted
A purchase order as issued is a plan. What the company received, when, and at what price is often something else, and the difference is written into the order one change at a time: a promised date pushed back after the supplier's acknowledgment, a quantity cut because part of the need was filled elsewhere, a unit price raised when a surcharge was accepted, a line cancelled. Public contracting portals show awards, and sometimes amendments, at contract level. Line-level revisions inside a private company's purchasing system are not published.
The source system decides how that record is stored. SAP logs each changed field with its old and new value, and where version management is in use it also keeps a version record per order (table EREV) with a reason code, the person who asked for the change and the change in order value. Supplier confirmations sit apart from the order line (table EKES), each with a category, date and quantity, so the date the buyer asked for and the date the supplier confirmed can be compared. Oracle Purchasing raises the revision number only when controlled information changes, and archives the order on approval or on printing, depending on setup. Coupa exposes order revisions through its API. Between trading partners on X12 EDI, the 855 acknowledges the original order, the 860 is the buyer's change, and the 865 carries the seller's answer to that change or a change the seller starts.
Not every revision is a renegotiation, so ask how the kinds are told apart. Some correct keying errors minutes after issue. Some are prices amended after the invoice arrived so that the match would pass, which hides the original price unless timestamps are kept. A supplier's change that came by email is logged under the buyer who keyed it. The initiator, the reason and the sequence against the acknowledgment and the invoice separate drift in the commitment from housekeeping.
Free-text requisitions are a labeled classification set
A requisition often starts as a sentence. A maintenance planner types the part the way the shop floor names it, an engineer pastes a manufacturer part number with no description. Before an order goes out, someone in purchasing turns that line into a catalog item or a described non-catalog line, a commodity code, a supplier and an account. The text and the coding it received are stored together, and the pairing is a label made by a person who knew the company's suppliers and categories. It exists only inside purchasing systems.
UNSPSC is an eight-digit code in four levels: segment, family, class and commodity. SAP material groups and most company taxonomies are internal and need a lookup table in the delivery. SAP's requisition item table (EBAN) holds a 40-character short text, a material group, and separate fields for the vendor the requester wanted and the vendor purchasing fixed. A line entered without a material number typically has the group as its only classification. SAP Ariba can be set to require a commodity code on non-catalog items. In any suite, ask which field marks a line as catalog, punchout or free-form.
The labels carry noise that can be measured. Requesters pick the first plausible code or a miscellaneous bucket, and taxonomies are revised, so one part ends up coded two ways. The stronger label is the correction, the code on the requisition line against the code on the order line after a buyer reviewed it. Catalog and punchout lines arrive already coded and teach little, so they should be flagged. Ask also whether codes are the ones recorded at the time or the output of a later spend-classification project, since those are a tool's labels, not a buyer's.
What to check before licensing
- Ask how revisions were captured, as a field-level change log or as archived snapshots. Rebuild one sample order from first issue and check that it ends at the current record.
- Confirm with the holder that its supplier agreements, and any confidentiality terms in them, allow negotiated prices to be licensed. If not, ask for prices indexed to the first order or banded.
- Check that requester, approver and buyer names are replaced with consistent tokens everywhere, including the typed requisitioner field, line text, header notes and attached order PDFs.
- Measure the share of requisition lines entered as free text against catalog and punchout lines, and the share of commodity codes in a catch-all category.
- Check that cancelled orders, lines flagged as deleted and orders closed short are in the extract and marked.
- Test the joins on the sample. Count receipts and invoices with no order line, and orders created after the date of the invoice matched to them.
- Ask how blanket orders, contract releases and service orders are represented. A release has no negotiation of its own, and a service line may have no goods receipt.
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 a purchase order history different from an accounts payable invoice dataset?
It starts earlier and follows the commitment, not the bill. A purchase order history begins with the request and records every change before anything was delivered. An accounts payable dataset begins when the supplier's invoice arrives and centers on capture, coding, matching and payment. The two meet at the match, so a request can ask for both from one holder.
Can negotiated unit prices be included?
Only where the holder's supplier agreements allow it, which is a point to settle before scoping. Order prices often come from a supplier contract with confidentiality terms, so the holder has to confirm that those agreements allow release. Where they do not, ask for prices as an index against the first order, in bands or left out.
Which systems do purchase order histories come from?
They come from ERP purchasing modules and procure-to-pay suites: SAP, Oracle, Microsoft Dynamics and NetSuite, and Coupa or SAP Ariba where requisitions and approvals run in front of the ERP. In that setup the requisition can sit in one system and the receipts and invoices in another, so test the join between them on the sample.
How do change orders appear in the data?
It depends on the source system. Some log each changed field with its old and new value, some archive a full copy of the order at each revision, and some expose a revision list through an API. Ask for a normalized revision table so the order can be rebuilt as of any date.
Are requesters, approvers and buyers identifiable?
They should not be, and the sample is where to check it. Names and user IDs should be replaced with tokens that stay consistent, so one requester's history and one approver's decisions can still be followed. Roles, cost centers and approval limits can be kept because routing depends on them. Free-text lines need their own review, since people type names and phone numbers into them.
Does the history show how the supplier and price were chosen?
Only by reference. An order line can name the contract, catalog or quote its price came from, and the requisition can show a supplier the requester suggested. The competing bids and the award decision belong to a sourcing event, a different record held in e-sourcing tools. Say in your request whether orders must link to the events that set their prices.
Related datasets
- Accounts payable invoices with approvals and exceptions
Supplier invoices as received, joined to posted fields, GL coding, approval route, match result, exceptions and payment
- Procurement sourcing events and bid comparisons
One sourcing event from the package issued to the award, with every bid and the comparison between them
- Supply chain and logistics operations records
Linked orders, shipments, tracking events, exceptions and freight documents from real operations
- ERP transaction histories across modules
One company's ERP documents across modules, with flow links, change logs, master data and the data dictionary
- Vendor contracts with renewal and renegotiation histories
Supplier agreements and order forms with extracted terms, renewal events, usage, spend and outcomes
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.