Procure to Pay Process and Spend Analytics Set (US)

MFGP2P932· 11.0M records · 58 tables · v2.1.0 · Updated 2026-08-16
Manufacturing Industrial Manufacturing Dataset API
CSV JSON SQLprocure-to-payprocurementspend-analyticsaccounts-payableprocess-mininganomaly-detectionsourcingerprelational-data

Overview

This procure to pay set follows every purchase a modelled United States manufacturer made between 2015 and 2026, from the requisition that asked for it to the payment that settled it. Master data, requisitions and their approval ladder, competitive tenders with technical and commercial scoring and committee minutes, long term agreements, purchase orders with their discount, freight and surcharge conditions, delivery schedules, goods receipts with rejections and returns, service entry sheets, invoices with three way match blocks, payment proposals and outgoing payments all reference one another by key. Quantities, prices and dates hold across the chain: received never exceeds ordered beyond the line tolerance, invoiced never exceeds accepted beyond tolerance, every foreign currency amount converts at the rate of its posting period, and each document carries both a document date and a posting date so cycle time and service level can be measured stage by stage. Company growth, commodity and freight inflation, the 2020 demand collapse and the 2021 shortage are modelled by month rather than as an annual multiplier. Five anomaly classes are injected at controlled rates and labelled in their own table for supervised work on fraud detection, vendor scoring, late delivery prediction and accounts payable exception handling.

Document Flow

Every stage of the chain, counted from the data that shipped. The route percentages are how requisition lines actually reached the market, not a policy target.

80%
Purchase requisition
Header documents229,391
Line items607,010
Approval steps662,350
Standard requisition 95,542Requisition created by material requirements planning 88,800Service requisition 25,778Capital expenditure requisition 9,851
Request for quotation
Header documents84,785
Line items445,680
Vendor invitations570,861
Quotations425,857
compliant 425,857
Contract
Header documents504
Line items1,742
Call-offs43,806
Value contract, committed spend over the term 276Quantity contract, committed volume over the term 228
Purchase order
Header documents194,670
Line items557,915
Pricing conditions606,478
Schedule lines613,034
Standard purchase order 133,435Framework order with a validity period and a value limit 33,314Service purchase order settled by service entry sheet 21,745Capital equipment purchase order 4,987
Goods receipt
Header documents335,006
Line items530,297
Returns11,044
Service entries63,865
complete 388,746partial 141,551
Invoice
Header documents97,100
Line items592,904
Invoice blocks5,463
matched 91,885blocked 5,215
Payment
Header documents84,415
Line items95,724
Payment runs285
Automated clearing house transfer 37,340Wire transfer 23,450Printed cheque 11,753

Row Counts by Table

Counted from the files that ship, not estimated.

TableRows
p2p_vendors1,180
p2p_vendor_contacts2,859
p2p_years12
p2p_periods144
p2p_company_codes4
p2p_plants7
p2p_purchasing_orgs5
p2p_purchasing_groups10
p2p_currencies8
p2p_exchange_rates1,152
p2p_payment_terms8
p2p_incoterms6
p2p_document_types13
p2p_condition_types12
p2p_approval_levels5
p2p_material_groups25
p2p_gl_accounts10
p2p_cost_centers42
p2p_users181
p2p_vendor_bank_accounts1,180
p2p_materials2,400
p2p_material_plants4,640
p2p_info_records6,730
p2p_contracts504
p2p_contract_items1,742
p2p_contract_releases43,806
p2p_purchase_requisitions229,391
p2p_purchase_requisition_items607,010
p2p_requisition_approvals662,350
p2p_rfqs84,785
p2p_rfq_items445,680
p2p_rfq_invitations570,861
p2p_quotations425,857
p2p_quotation_items2,296,935
p2p_quotation_scores425,857
p2p_committee_reviews53,719
p2p_awards514,701
p2p_purchase_orders194,670
p2p_purchase_order_items557,915
p2p_purchase_order_conditions606,478
p2p_purchase_order_approvals396,734
p2p_schedule_lines613,034
p2p_goods_receipts335,006
p2p_goods_receipt_items530,297
p2p_returns11,044
p2p_service_entries63,865
p2p_invoice_drafts97,100
p2p_invoices97,100
p2p_invoice_items592,904
p2p_invoice_blocks5,463
p2p_payment_proposals285
p2p_payment_proposal_items95,724
p2p_payments84,415
p2p_payment_items95,724
p2p_spend_monthly3,599
p2p_vendor_scorecards11,770
p2p_cycle_times210,312
p2p_anomalies25,387

Table Relationships

One parent record and seven child tables, each joined back on the same key.

70%
Loading diagram

Schema

Every table ships with typed columns, referential integrity, and documentation.

p2p_vendors· Rows: 1,180
ColumnTypeDescription
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
vendor_namevarchar(56)Supplier name.
country_codevarchar(8)ISO 3166-1 alpha-2 country code.
country_namevarchar(24)Country name in English.
order_currencyvarchar(16)Currency this vendor trades in.
main_phonevarchar(24)Main phone for the p2p_vendors record.
main_emailvarchar(56)Main email for the p2p_vendors record.

+20 more columns in p2p_vendors. The full schema ships with the download.

p2p_vendor_contacts· Rows: 2,859
ColumnTypeDescription
contact_idvarchar(16)Stable fictional identifier for contact; use it for declared joins.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
contact_functionvarchar(16)Contact function for the p2p_vendor_contacts record.
contact_function_namevarchar(24)Human-readable contact function name. All people and organisations are fictional.
is_primarybooleanTrue for the account payments default to.
first_namevarchar(16)Human-readable first name. All people and organisations are fictional.
last_namevarchar(16)Human-readable last name. All people and organisations are fictional.

+10 more columns in p2p_vendor_contacts. The full schema ships with the download.

p2p_years· Rows: 12
ColumnTypeDescription
year_idvarchar(8)Financial year key, FY followed by the calendar year.
calendar_yearintegerThe four digit year.
period_startdateFirst calendar day of the period.
period_enddateLast calendar day of the period.
volume_growth_pctnumeric(5,1)Year on year change in purchased VOLUME, before any price effect.
commodity_price_index_2015_100numeric(6,1)Raw material price index with 2015 as 100. Purchase prices follow it with a damped pass-through, because agreements reprice at review rather than on the spot market.
freight_cost_index_2015_100numeric(6,1)Freight cost index with 2015 as 100, which drives the freight conditions on an order.

+4 more columns in p2p_years. The full schema ships with the download.

p2p_periods· Rows: 144
ColumnTypeDescription
period_idvarchar(16)Monthly posting period key, FP followed by year and month. Every document posts into one.
year_idvarchar(8)Financial year key, FY followed by the calendar year.
calendar_yearintegerThe four digit year.
month_numbervarchar(8)Month within the year, 1 to 12.
month_namevarchar(16)Month name in English.
period_startdateFirst calendar day of the period.
period_enddateLast calendar day of the period.

+5 more columns in p2p_periods. The full schema ships with the download.

p2p_company_codes· Rows: 4
ColumnTypeDescription
company_codevarchar(8)Legal entity that books the payable.
company_code_namevarchar(56)Name of the legal entity.
country_codevarchar(8)ISO 3166-1 alpha-2 country code.
local_currencyvarchar(16)Currency the entity keeps its books in.
group_currencyvarchar(16)Currency the group consolidates in.
active_flagbooleanFalse once the row is retired but kept for audit.
p2p_plants· Rows: 7
ColumnTypeDescription
plant_codevarchar(8)Manufacturing site that raised the demand or received the goods.
plant_namevarchar(32)Name of the plant.
company_codevarchar(8)Legal entity that books the payable.
cityvarchar(16)City of the address.
state_provincevarchar(16)State or province. Populated for US and Canadian addresses; empty elsewhere.
country_codevarchar(8)ISO 3166-1 alpha-2 country code.
plant_typevarchar(16)What the plant does: assembly, machining, fabrication, electronics or components.

+2 more columns in p2p_plants. The full schema ships with the download.

p2p_purchasing_orgs· Rows: 5
ColumnTypeDescription
purchasing_orgvarchar(16)Purchasing organisation the vendor is released to trade with.
purchasing_org_namevarchar(40)Name of the purchasing organisation.
company_codevarchar(8)Legal entity that books the payable.
scope_typevarchar(16)Which kind of spend the organisation or desk covers: direct, indirect, services, capex or mixed.
active_flagbooleanFalse once the row is retired but kept for audit.
p2p_purchasing_groups· Rows: 10
ColumnTypeDescription
purchasing_groupvarchar(16)Buyer desk responsible for the category.
purchasing_group_namevarchar(48)Name of the buyer desk.
scope_typevarchar(16)Which kind of spend the organisation or desk covers: direct, indirect, services, capex or mixed.
relative_cycle_time_indexnumeric(5,2)How long this desk takes relative to the average desk. Above 1 is slower.
evaluation_rigour_indexnumeric(5,2)How thoroughly this desk evaluates, 0 to 1. Higher desks tender more and score harder.
active_flagbooleanFalse once the row is retired but kept for audit.
p2p_currencies· Rows: 8
ColumnTypeDescription
currencyvarchar(16)ISO 4217 currency code the document is denominated in.
currency_namevarchar(32)Currency name in English.
is_group_currencybooleanTrue for the currency the group consolidates in.
annual_volatility_indexnumeric(6,3)How far this currency moves in a year, as a fraction. Zero for the group currency.
p2p_exchange_rates· Rows: 1,152
ColumnTypeDescription
exchange_rate_idvarchar(16)Key of one currency and period combination.
period_idvarchar(16)Monthly posting period key, FP followed by year and month. Every document posts into one.
from_currencyvarchar(16)Currency being converted from.
to_currencyvarchar(16)Currency being converted to, always the group currency here.
rate_typevarchar(16)Rate category. M is the monthly average rate used for postings.
units_per_usdnumeric(11,6)How many units of the currency one US dollar buys in that period.
usd_per_unitnumeric(11,8)How many US dollars one unit of the currency buys. The reciprocal, carried so a reader does not have to invert.

+3 more columns in p2p_exchange_rates. The full schema ships with the download.

p2p_payment_terms· Rows: 8
ColumnTypeDescription
payment_termsvarchar(16)Payment terms key agreed with the vendor.
payment_terms_descriptionvarchar(64)The payment terms key in words, for example "2 percent discount if paid within 10 days, otherwise net 30".
net_daysintegerDays from the baseline date until the invoice is due.
discount_daysintegerDays within which an early settlement discount can still be taken.
discount_percentageintegerEarly settlement discount as a percentage of the invoice.
p2p_incoterms· Rows: 6
ColumnTypeDescription
incotermsvarchar(16)Incoterms 2020 delivery term.
incoterms_descriptionvarchar(40)The Incoterms 2020 code in words, for example DAP is "Delivered At Place".
freight_borne_by_buyer_flagbooleanTrue when the term leaves the freight cost with the buyer, which is when a freight condition appears on the order.
p2p_document_types· Rows: 13
ColumnTypeDescription
document_typevarchar(16)Type key of the document.
document_type_namevarchar(72)What the document type means in words.
document_categoryvarchar(32)Which document the type belongs to: requisition, order or outline agreement.
receipt_typevarchar(16)Whether the order is settled by a goods receipt or by a service entry sheet.
creation_originvarchar(16)Whether documents of this type are raised by a person or by material requirements planning.
p2p_condition_types· Rows: 12
ColumnTypeDescription
condition_typevarchar(16)Pricing condition key, for example RA01 for a percentage discount or FRA1 for freight.
condition_namevarchar(64)What the condition does in words.
condition_classvarchar(16)Whether the condition is a price, a discount, a freight charge, a surcharge or a free of charge marker.
sign_indicatorintegerWhether the condition adds to the value, subtracts from it, or is neutral.
applies_tovarchar(16)Whether the condition attaches to the item or to the whole document.
p2p_approval_levels· Rows: 5
ColumnTypeDescription
approval_levelvarchar(8)Step number on the release ladder, 1 nearest the requester.
approver_rolevarchar(40)Job the approver holds at that level.
value_limit_usdintegerLargest value this level may release. Empty at the top level, which has no limit.
median_decision_hoursintegerTypical hours this level takes to decide.
p2p_material_groups· Rows: 25
ColumnTypeDescription
material_groupvarchar(16)Category the material belongs to.
material_group_namevarchar(56)Name of the category.
unspsc_familyvarchar(16)UNSPSC family code describing the commodity area.
spend_typevarchar(16)Whether the spend is direct, indirect, services or capex. It decides the account and the approval route.
base_unit_of_measurevarchar(16)Unit the material is stocked and ordered in.
purchasing_groupvarchar(16)Buyer desk responsible for the category.
price_low_2015_usdnumeric(9,2)Bottom of the 2015 price band for the category, in US dollars.

+6 more columns in p2p_material_groups. The full schema ships with the download.

p2p_gl_accounts· Rows: 10
ColumnTypeDescription
gl_accountvarchar(8)General ledger account the spend posts to.
gl_account_namevarchar(48)What the general ledger account is used for.
spend_typevarchar(16)Whether the spend is direct, indirect, services or capex. It decides the account and the approval route.
account_classvarchar(24)Whether the account sits in the profit and loss or on the balance sheet.
p2p_cost_centers· Rows: 42
ColumnTypeDescription
cost_center_idvarchar(16)Cost centre carrying the charge.
cost_center_namevarchar(48)Name of the cost centre.
plant_codevarchar(8)Manufacturing site that raised the demand or received the goods.
company_codevarchar(8)Legal entity that books the payable.
function_areavarchar(24)Functional area of the cost centre, for example Production or Maintenance.
responsible_user_idvarchar(8)User accountable for the cost centre budget.
active_flagbooleanFalse once the row is retired but kept for audit.

+1 more columns in p2p_cost_centers. The full schema ships with the download.

p2p_users· Rows: 181
ColumnTypeDescription
user_idvarchar(16)Internal user number. Primary key of users and the foreign key wherever a person acted.
user_namevarchar(24)Login name.
display_namevarchar(40)Person name as it appears in the system.
role_typevarchar(24)What the person does in this process: requisitioner, approver, buyer or committee member.
departmentvarchar(32)Department the person belongs to.
plant_codevarchar(8)Manufacturing site that raised the demand or received the goods.
company_codevarchar(8)Legal entity that books the payable.

+4 more columns in p2p_users. The full schema ships with the download.

p2p_vendor_bank_accounts· Rows: 1,180
ColumnTypeDescription
vendor_bank_idvarchar(16)Key of one vendor bank account.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
bank_country_codevarchar(8)Country of the bank account, which may differ from the vendor country.
bank_namevarchar(40)Name of the bank.
account_holdervarchar(56)Name the account is held in.
currencyvarchar(16)ISO 4217 currency code the document is denominated in.
payment_methodvarchar(16)How the vendor is paid.

+4 more columns in p2p_vendor_bank_accounts. The full schema ships with the download.

p2p_materials· Rows: 2,400
ColumnTypeDescription
material_idvarchar(16)Material number. Primary key of materials and the foreign key wherever something is bought.
material_descriptionvarchar(80)What the material is, in words.
material_groupvarchar(16)Category the material belongs to.
material_group_namevarchar(56)Name of the category.
spend_typevarchar(16)Whether the spend is direct, indirect, services or capex. It decides the account and the approval route.
base_unit_of_measurevarchar(16)Unit the material is stocked and ordered in.
unspsc_familyvarchar(16)UNSPSC family code describing the commodity area.

+11 more columns in p2p_materials. The full schema ships with the download.

p2p_material_plants· Rows: 4,640
ColumnTypeDescription
material_plant_idvarchar(24)Key of one material and plant combination.
material_idvarchar(16)Material number. Primary key of materials and the foreign key wherever something is bought.
plant_codevarchar(8)Manufacturing site that raised the demand or received the goods.
company_codevarchar(8)Legal entity that books the payable.
reorder_pointintegerStock level at which planning raises a replenishment requisition.
safety_stockintegerBuffer held against demand and supply variability.
lot_size_keyvarchar(16)Lot sizing rule planning applies.

+4 more columns in p2p_material_plants. The full schema ships with the download.

p2p_info_records· Rows: 6,730
ColumnTypeDescription
info_record_idvarchar(16)Key of one vendor and material price agreement.
material_idvarchar(16)Material number. Primary key of materials and the foreign key wherever something is bought.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
purchasing_orgvarchar(16)Purchasing organisation the vendor is released to trade with.
material_groupvarchar(16)Category the material belongs to.
net_price_2015numeric(14,4)Agreed price in the VENDOR currency at 2015 levels. Later prices are this carried forward by the commodity index.
price_unitintegerNumber of units the price refers to.

+9 more columns in p2p_info_records. The full schema ships with the download.

p2p_contracts· Rows: 504
ColumnTypeDescription
contract_idvarchar(16)Outline agreement number.
contract_typevarchar(16)Whether the agreement commits a quantity or a value.
contract_type_namevarchar(64)What the agreement type means in words.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
purchasing_orgvarchar(16)Purchasing organisation the vendor is released to trade with.
purchasing_groupvarchar(16)Buyer desk responsible for the category.
material_groupvarchar(16)Category the material belongs to.

+15 more columns in p2p_contracts. The full schema ships with the download.

p2p_contract_items· Rows: 1,742
ColumnTypeDescription
contract_item_idvarchar(24)Key of one contract line.
contract_idvarchar(16)Outline agreement number.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
material_idvarchar(16)Material number. Primary key of materials and the foreign key wherever something is bought.
material_descriptionvarchar(80)What the material is, in words.
material_groupvarchar(16)Category the material belongs to.
unit_of_measurevarchar(16)Unit the quantity on this line is expressed in.

+7 more columns in p2p_contract_items. The full schema ships with the download.

p2p_contract_releases· Rows: 43,806
ColumnTypeDescription
release_idvarchar(16)Key of one call off against an agreement.
contract_idvarchar(16)Outline agreement number.
contract_item_idvarchar(24)Key of one contract line.
purchase_requisition_idvarchar(16)Requisition number. Where demand enters the process.
pr_item_idvarchar(24)Key of one requisition line.
released_ondateDate the call off or the release step happened.
released_quantityintegerQuantity called off against the line so far.

+5 more columns in p2p_contract_releases. The full schema ships with the download.

p2p_purchase_requisitions· Rows: 229,391
ColumnTypeDescription
purchase_requisition_idvarchar(16)Requisition number. Where demand enters the process.
requisition_typevarchar(16)Requisition type key, which decides approval depth and sourcing route.
requisition_type_namevarchar(72)What the requisition type means in words.
creation_sourcevarchar(40)Whether a person raised the requisition or material requirements planning did.
period_idvarchar(16)Monthly posting period key, FP followed by year and month. Every document posts into one.
year_idvarchar(8)Financial year key, FY followed by the calendar year.
created_ondateDate the document was created.

+16 more columns in p2p_purchase_requisitions. The full schema ships with the download.

p2p_purchase_requisition_items· Rows: 607,010
ColumnTypeDescription
pr_item_idvarchar(24)Key of one requisition line.
purchase_requisition_idvarchar(16)Requisition number. Where demand enters the process.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
material_idvarchar(16)Material number. Primary key of materials and the foreign key wherever something is bought.
material_descriptionvarchar(80)What the material is, in words.
material_groupvarchar(16)Category the material belongs to.
spend_typevarchar(16)Whether the spend is direct, indirect, services or capex. It decides the account and the approval route.

+15 more columns in p2p_purchase_requisition_items. The full schema ships with the download.

p2p_requisition_approvals· Rows: 662,350
ColumnTypeDescription
pr_approval_idvarchar(16)Key of one approval step.
purchase_requisition_idvarchar(16)Requisition number. Where demand enters the process.
approval_levelvarchar(8)Step number on the release ladder, 1 nearest the requester.
approver_rolevarchar(40)Job the approver holds at that level.
approver_user_idvarchar(8)Person who decided this step.
submitted_ondateDate the step was put in front of the approver.
decided_ondateDate the approver decided.

+5 more columns in p2p_requisition_approvals. The full schema ships with the download.

p2p_rfqs· Rows: 84,785
ColumnTypeDescription
rfq_idvarchar(16)Enquiry number. A buyer bundles a week of demand for a category into one.
purchase_requisition_idvarchar(16)Requisition number. Where demand enters the process.
pr_item_idvarchar(24)Key of one requisition line.
material_groupvarchar(16)Category the material belongs to.
purchasing_groupvarchar(16)Buyer desk responsible for the category.
buyer_user_idvarchar(8)Buyer who owns the order.
plant_codevarchar(8)Manufacturing site that raised the demand or received the goods.

+13 more columns in p2p_rfqs. The full schema ships with the download.

p2p_rfq_items· Rows: 445,680
ColumnTypeDescription
rfq_item_idvarchar(24)Key of one enquiry line.
rfq_idvarchar(16)Enquiry number. A buyer bundles a week of demand for a category into one.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
purchase_requisition_idvarchar(16)Requisition number. Where demand enters the process.
pr_item_idvarchar(24)Key of one requisition line.
material_idvarchar(16)Material number. Primary key of materials and the foreign key wherever something is bought.
material_descriptionvarchar(80)What the material is, in words.

+6 more columns in p2p_rfq_items. The full schema ships with the download.

p2p_rfq_invitations· Rows: 570,861
ColumnTypeDescription
rfq_invitation_idvarchar(24)Key of one supplier invitation.
rfq_idvarchar(16)Enquiry number. A buyer bundles a week of demand for a category into one.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
invited_ondateDate the supplier was invited.
response_statusvarchar(16)Whether the supplier quoted, declined, or never answered.
declined_reasonvarchar(48)Why the supplier declined.
responded_ondateDate the supplier answered.

+1 more columns in p2p_rfq_invitations. The full schema ships with the download.

p2p_quotations· Rows: 425,857
ColumnTypeDescription
quotation_idvarchar(16)Quotation number.
rfq_idvarchar(16)Enquiry number. A buyer bundles a week of demand for a category into one.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
submitted_ondateDate the step was put in front of the approver.
valid_untildateDate the quoted prices expire.
currencyvarchar(16)ISO 4217 currency code the document is denominated in.
payment_termsvarchar(16)Payment terms key agreed with the vendor.

+8 more columns in p2p_quotations. The full schema ships with the download.

p2p_quotation_items· Rows: 2,296,935
ColumnTypeDescription
quotation_item_idvarchar(24)Key of one priced quotation line.
quotation_idvarchar(16)Quotation number.
rfq_item_idvarchar(24)Key of one enquiry line.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
material_idvarchar(16)Material number. Primary key of materials and the foreign key wherever something is bought.
quoted_quantityintegerQuantity the supplier quoted for.
unit_pricenumeric(14,4)Price per unit in the supplier currency.

+7 more columns in p2p_quotation_items. The full schema ships with the download.

p2p_quotation_scores· Rows: 425,857
ColumnTypeDescription
quotation_score_idvarchar(16)Key of one evaluation.
quotation_idvarchar(16)Quotation number.
rfq_idvarchar(16)Enquiry number. A buyer bundles a week of demand for a category into one.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
technical_scorenumeric(6,2)Score for capability, reliability and quality history, out of 100.
commercial_scorenumeric(7,2)Score for price against the best bid on the table, out of 100.
weighted_total_scorenumeric(6,2)The two scores combined at the published weights. Highest wins.

+7 more columns in p2p_quotation_scores. The full schema ships with the download.

p2p_committee_reviews· Rows: 53,719
ColumnTypeDescription
committee_review_idvarchar(16)Key of one governance review.
rfq_idvarchar(16)Enquiry number. A buyer bundles a week of demand for a category into one.
committee_bodyvarchar(32)Which body reviewed it. A procurement committee sees mid sized awards, a tender committee the large ones.
meeting_datedateDate the committee met.
members_presentintegerHow many members attended.
chair_user_idvarchar(8)Person who chaired.
recommended_vendor_idvarchar(16)Supplier the evaluation put to the committee.

+5 more columns in p2p_committee_reviews. The full schema ships with the download.

p2p_awards· Rows: 514,701
ColumnTypeDescription
award_idvarchar(16)Key of one award decision.
sourcing_routevarchar(16)How the line found its price: competitive tender, sole source, a release against an agreement, or consignment.
rfq_idvarchar(16)Enquiry number. A buyer bundles a week of demand for a category into one.
purchase_requisition_idvarchar(16)Requisition number. Where demand enters the process.
pr_item_idvarchar(24)Key of one requisition line.
awarded_vendor_idvarchar(16)Supplier that won.
awarded_pricenumeric(14,4)Price awarded, in the supplier currency.

+8 more columns in p2p_awards. The full schema ships with the download.

p2p_purchase_orders· Rows: 194,670
ColumnTypeDescription
purchase_order_idvarchar(16)Order number.
purchase_order_typevarchar(16)Order type key, which decides whether receipt is goods or a service entry.
purchase_order_type_namevarchar(72)What the order type means in words.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
vendor_namevarchar(56)Supplier name.
company_codevarchar(8)Legal entity that books the payable.
plant_codevarchar(8)Manufacturing site that raised the demand or received the goods.

+29 more columns in p2p_purchase_orders. The full schema ships with the download.

p2p_purchase_order_items· Rows: 557,915
ColumnTypeDescription
po_item_idvarchar(24)Key of one order line.
purchase_order_idvarchar(16)Order number.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
purchase_requisition_idvarchar(16)Requisition number. Where demand enters the process.
pr_item_idvarchar(24)Key of one requisition line.
material_idvarchar(16)Material number. Primary key of materials and the foreign key wherever something is bought.
material_descriptionvarchar(80)What the material is, in words.

+25 more columns in p2p_purchase_order_items. The full schema ships with the download.

p2p_purchase_order_conditions· Rows: 606,478
ColumnTypeDescription
po_condition_idvarchar(24)Key of one condition on an order.
purchase_order_idvarchar(16)Order number.
po_item_idvarchar(24)Key of one order line.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
condition_typevarchar(16)Pricing condition key, for example RA01 for a percentage discount or FRA1 for freight.
condition_namevarchar(64)What the condition does in words.
condition_classvarchar(16)Whether the condition is a price, a discount, a freight charge, a surcharge or a free of charge marker.

+7 more columns in p2p_purchase_order_conditions. The full schema ships with the download.

p2p_purchase_order_approvals· Rows: 396,734
ColumnTypeDescription
po_approval_idvarchar(24)Key of one order release step.
purchase_order_idvarchar(16)Order number.
release_levelintegerStep number on the order release ladder.
release_rolevarchar(24)Job of the person releasing.
approver_user_idvarchar(8)Person who decided this step.
submitted_ondateDate the step was put in front of the approver.
released_ondateDate the call off or the release step happened.

+3 more columns in p2p_purchase_order_approvals. The full schema ships with the download.

p2p_schedule_lines· Rows: 613,034
ColumnTypeDescription
schedule_line_idvarchar(24)Key of one delivery schedule line.
purchase_order_idvarchar(16)Order number.
po_item_idvarchar(24)Key of one order line.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
schedule_line_numbervarchar(8)Sequence of the delivery within the line.
scheduled_quantityintegerQuantity due on this delivery.
scheduled_delivery_datedateDate this delivery is due.

+3 more columns in p2p_schedule_lines. The full schema ships with the download.

p2p_goods_receipts· Rows: 335,006
ColumnTypeDescription
goods_receipt_idvarchar(16)Receipt number.
purchase_order_idvarchar(16)Order number.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
plant_codevarchar(8)Manufacturing site that raised the demand or received the goods.
company_codevarchar(8)Legal entity that books the payable.
movement_typeintegerInventory movement key. 101 is a receipt against an order, 122 a return to the vendor.
delivery_note_referencevarchar(16)The supplier delivery note the receipt was booked against.

+11 more columns in p2p_goods_receipts. The full schema ships with the download.

p2p_goods_receipt_items· Rows: 530,297
ColumnTypeDescription
gr_item_idvarchar(24)Key of one receipt line.
goods_receipt_idvarchar(16)Receipt number.
purchase_order_idvarchar(16)Order number.
po_item_idvarchar(24)Key of one order line.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
material_idvarchar(16)Material number. Primary key of materials and the foreign key wherever something is bought.
material_groupvarchar(16)Category the material belongs to.

+15 more columns in p2p_goods_receipt_items. The full schema ships with the download.

p2p_returns· Rows: 11,044
ColumnTypeDescription
return_idvarchar(16)Key of one return to the vendor.
goods_receipt_idvarchar(16)Receipt number.
purchase_order_idvarchar(16)Order number.
po_item_idvarchar(24)Key of one order line.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
material_idvarchar(16)Material number. Primary key of materials and the foreign key wherever something is bought.
movement_typeintegerInventory movement key. 101 is a receipt against an order, 122 a return to the vendor.

+9 more columns in p2p_returns. The full schema ships with the download.

p2p_service_entries· Rows: 63,865
ColumnTypeDescription
service_entry_idvarchar(16)Service entry sheet number, the service equivalent of a goods receipt.
purchase_order_idvarchar(16)Order number.
po_item_idvarchar(24)Key of one order line.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
service_period_fromdateFirst day of the period the service covers.
service_period_todateLast day of that period.

+14 more columns in p2p_service_entries. The full schema ships with the download.

p2p_invoice_drafts· Rows: 97,100
ColumnTypeDescription
invoice_draft_idvarchar(16)Key of an invoice as received, before it posts.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
vendor_invoice_numbervarchar(24)The number the supplier put on its own invoice. A repeat of one is what a duplicate check looks for.
received_ondateDate the invoice reached accounts payable.
entry_channelvarchar(24)How the invoice arrived: electronic data interchange, a portal, email or paper.
captured_byvarchar(40)Whether a person keyed it or character recognition read it.
line_countintegerNumber of lines on the draft.

+3 more columns in p2p_invoice_drafts. The full schema ships with the download.

p2p_invoices· Rows: 97,100
ColumnTypeDescription
invoice_idvarchar(16)Posted invoice number.
invoice_draft_idvarchar(16)Key of an invoice as received, before it posts.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
vendor_namevarchar(56)Supplier name.
purchase_order_idvarchar(16)Order number.
company_codevarchar(8)Legal entity that books the payable.
vendor_invoice_numbervarchar(24)The number the supplier put on its own invoice. A repeat of one is what a duplicate check looks for.

+26 more columns in p2p_invoices. The full schema ships with the download.

p2p_invoice_items· Rows: 592,904
ColumnTypeDescription
invoice_item_idvarchar(24)Key of one invoice line.
invoice_idvarchar(16)Posted invoice number.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
purchase_order_idvarchar(16)Order number.
po_item_idvarchar(24)Key of one order line.
goods_receipt_idvarchar(16)Receipt number.
service_entry_idvarchar(16)Service entry sheet number, the service equivalent of a goods receipt.

+13 more columns in p2p_invoice_items. The full schema ships with the download.

p2p_invoice_blocks· Rows: 5,463
ColumnTypeDescription
invoice_block_idvarchar(32)Key of one block.
invoice_idvarchar(16)Posted invoice number.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
block_reason_codevarchar(8)Why the invoice was blocked.
block_reason_namevarchar(88)What the block reason means in words.
block_detailvarchar(88)The specific discrepancy found.
raised_ondateDate the block was raised.

+5 more columns in p2p_invoice_blocks. The full schema ships with the download.

p2p_payment_proposals· Rows: 285
ColumnTypeDescription
payment_proposal_idvarchar(16)Payment run number.
proposal_run_datedateDate the run was executed.
period_idvarchar(16)Monthly posting period key, FP followed by year and month. Every document posts into one.
year_idvarchar(8)Financial year key, FY followed by the calendar year.
payment_strategyvarchar(16)Rule the treasury team applied when selecting invoices for this run.
payment_strategy_namevarchar(80)What the strategy means in words.
company_codevarchar(8)Legal entity that books the payable.

+8 more columns in p2p_payment_proposals. The full schema ships with the download.

p2p_payment_proposal_items· Rows: 95,724
ColumnTypeDescription
proposal_item_idvarchar(24)Key of one invoice inside a run.
payment_proposal_idvarchar(16)Payment run number.
invoice_idvarchar(16)Posted invoice number.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
due_datedateDate payment falls due, the baseline date plus the net days of the terms.
invoice_amount_usdnumeric(11,2)Invoice value considered by the run.
discount_taken_usdnumeric(10,2)Discount taken on this invoice.

+3 more columns in p2p_payment_proposal_items. The full schema ships with the download.

p2p_payments· Rows: 84,415
ColumnTypeDescription
payment_idvarchar(16)Outgoing payment number. One document clears several invoices for a supplier.
payment_proposal_idvarchar(16)Payment run number.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
vendor_namevarchar(56)Supplier name.
company_codevarchar(8)Legal entity that books the payable.
payment_methodvarchar(16)How the vendor is paid.
payment_method_namevarchar(48)What the payment method means in words.

+16 more columns in p2p_payments. The full schema ships with the download.

p2p_payment_items· Rows: 95,724
ColumnTypeDescription
payment_item_idvarchar(32)Key of one invoice cleared by a payment.
payment_idvarchar(16)Outgoing payment number. One document clears several invoices for a supplier.
invoice_idvarchar(16)Posted invoice number.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
cleared_amount_usdnumeric(11,2)Amount applied against the invoice.
discount_taken_usdnumeric(10,2)Discount taken on this invoice.
currencyvarchar(16)ISO 4217 currency code the document is denominated in.

+6 more columns in p2p_payment_items. The full schema ships with the download.

p2p_spend_monthly· Rows: 3,599
ColumnTypeDescription
spend_month_idvarchar(24)Key of one month, spend type, category and desk combination.
period_idvarchar(16)Monthly posting period key, FP followed by year and month. Every document posts into one.
year_idvarchar(8)Financial year key, FY followed by the calendar year.
calendar_yearintegerThe four digit year.
month_numbervarchar(8)Month within the year, 1 to 12.
spend_typevarchar(16)Whether the spend is direct, indirect, services or capex. It decides the account and the approval route.
material_groupvarchar(16)Category the material belongs to.

+7 more columns in p2p_spend_monthly. The full schema ships with the download.

p2p_vendor_scorecards· Rows: 11,770
ColumnTypeDescription
vendor_scorecard_idvarchar(16)Key of one vendor and year.
vendor_idvarchar(16)Vendor number. Primary key of vendors and the foreign key wherever a supplier appears.
year_idvarchar(8)Financial year key, FY followed by the calendar year.
calendar_yearintegerThe four digit year.
purchase_order_countintegerDistinct orders in the cell.
ordered_value_usdnumeric(12,2)Value ordered in the cell, rolled up from the order lines themselves.
goods_receipt_countintegerReceipts booked against the vendor that year.

+7 more columns in p2p_vendor_scorecards. The full schema ships with the download.

p2p_cycle_times· Rows: 210,312
ColumnTypeDescription
cycle_idvarchar(16)Key of one requisition to payment chain.
purchase_requisition_idvarchar(16)Requisition number. Where demand enters the process.
purchase_order_idvarchar(16)Order number.
goods_receipt_idvarchar(16)Receipt number.
invoice_idvarchar(16)Posted invoice number.
payment_idvarchar(16)Outgoing payment number. One document clears several invoices for a supplier.
period_idvarchar(16)Monthly posting period key, FP followed by year and month. Every document posts into one.

+18 more columns in p2p_cycle_times. The full schema ships with the download.

p2p_anomalies· Rows: 25,387
ColumnTypeDescription
anomaly_idvarchar(16)Key of one labelled anomaly.
anomaly_classvarchar(24)Which class it belongs to: late delivery, quality rejection, price variance, quantity variance or duplicate invoice.
document_typevarchar(24)Type key of the document.
document_idvarchar(16)The document the anomaly was found on.
item_numbervarchar(8)Line number within the document, in tens as an ERP numbers them.
period_idvarchar(16)Monthly posting period key, FP followed by year and month. Every document posts into one.
detected_ondateDate the anomaly is treated as detected.

+5 more columns in p2p_anomalies. The full schema ships with the download.

Sample Data

A snapshot of real rows from the dataset (values are fully synthetic).

purchase_order_idpurchase_order_typevendor_namesourcing_routedocument_datecurrencynet_order_value_usdpayment_termsincotermsitem_countorder_status
PO04500001ZSRivet Premier Systems LLCSOLE2015-01-07USD579.5NET45FCA1released
PO04500002NBCascade Components Ltd.SOLE2015-01-08USD24465.311/15NET45DDP1released
PO04500003NBLarkspur Standard Components Corp.SOLE2015-01-13USD3160.08NET30DAP2released

Version History

v2.1.02026-08-16Goods receipts become material documents. A receipt is one delivery note covering every order line that arrived on it, so a ten line order can be received as two notes of five lines posted on different days, and a line can be received across two notes. Consolidation is decided when the vendor confirms rather than when the goods land, so lines that travel together are promised together and on time performance is measured against a promise the vendor actually made. Schedule lines are the consignment plan the receipts answer to, and the vendor scorecard measures on time against the confirmed date rather than the late delivery threshold. The vendor contact register from 2.0.0 is unchanged.

Related Datasets