Data Template: Purchase to Pay - Purchase Order

Universal process mining template
Data Template: Purchase to Pay - Purchase Order

Your Purchase to Pay - Purchase Order Data Template

Universal process mining template

This is our generic process mining data template for Purchase to Pay - Purchase Order. Use our system-specific templates for more specific guidance.

Select a specific system
  • Comprehensive list of recommended data fields for in-depth analysis.
  • Key activities and milestones to track your purchase order lifecycle.
  • Applicable to any underlying system managing your Purchase to Pay process.

Purchase to Pay - Purchase Order Attributes

The attributes table below lists the recommended data fields crucial for creating a comprehensive event log and performing in-depth analysis of your Purchase to Pay process.
5 Required 7 Recommended 4 Optional
NameDescription
Activity Name
ActivityName
The name of the specific business event or task that occurred at a point in time within the purchase order lifecycle.
Description

The Activity Name describes a step or status change within the purchase order process. Examples include 'Purchase Order Created', 'Purchase Order Approved', 'Goods Receipt Posted', and 'Invoice Received'. Each activity represents a distinct point in the process journey.

This attribute is essential for building the process map, which visually represents the flow of activities. Analyzing the sequence and frequency of different activities helps identify common process paths, deviations, bottlenecks, and rework loops, such as repeated approval or change events.

Why it matters

It forms the backbone of the process map, allowing for the visualization and analysis of the process flow, variations, and inefficiencies.

Where to get

This information is typically derived from transaction codes, status change logs, event tables, or change document tables associated with the purchase order.

Examples
Purchase Order CreatedPurchase Order ApprovedGoods Receipt PostedInvoice Received
Event Time
EventTime
The exact timestamp indicating when an activity or event occurred.
Description

Event Time captures the date and time that a specific activity was executed or a status change was recorded. This timestamp provides the temporal context for each event in the purchase order's lifecycle.

In process mining, timestamps are fundamental for calculating cycle times, durations, and wait times between activities. By ordering events chronologically for each case, it becomes possible to analyze process performance, identify bottlenecks where time is lost, and monitor compliance with service level agreements (SLAs).

Why it matters

It enables all time-based analysis, including cycle time calculation, bottleneck identification, and performance monitoring against benchmarks.

Where to get

This is typically found in event logs, change history tables, or as a creation or posting date field on transactional documents.

Examples
2023-04-15T10:30:00Z2023-05-20T14:00:00Z2023-06-01T09:15:25Z
Purchase Order ID
PurchaseOrderId
The unique identifier for a purchase order document. This serves as the primary case identifier for the process.
Description

The Purchase Order ID is a unique alphanumeric code assigned to each purchase order, distinguishing it from all others. It acts as the central reference point for all activities, documents, and communications related to a specific procurement transaction.

In process mining, this ID is crucial for grouping all related events, such as creation, approval, goods receipt, and invoicing, into a single end-to-end process instance or 'case'. Analyzing processes by this identifier allows for the reconstruction and visualization of the entire lifecycle of each purchase order, from its inception to its final closure.

Why it matters

It is the fundamental attribute that connects all related events into a single process case, making end-to-end analysis of the purchase order lifecycle possible.

Where to get

This is typically a primary key field found in the purchase order header table or document.

Examples
PO-0012454500017563732000451
Last Data Update
LastDataUpdate
The timestamp indicating the last time the data for this process was refreshed or extracted.
Description

This attribute records the date and time of the most recent data load or refresh from the source system. It is a metadata field that applies to the entire dataset rather than a single event.

This information is critical for users to understand the freshness of the data they are analyzing. It helps them gauge the relevance of the insights and ensures that decisions are based on data that is as current as required for their analysis.

Why it matters

It informs users about the timeliness of the data, ensuring they understand the period covered by the analysis and the relevance of the findings.

Where to get

This timestamp is typically generated and stored by the data extraction and transformation (ETL) tool or process.

Examples
2024-07-20T04:00:00Z2024-07-19T04:00:00Z2024-07-18T04:00:00Z
Source System
SourceSystem
The system of record or application from which the process data was extracted.
Description

The Source System attribute identifies the originating information system for the event data, such as an ERP, procurement platform, or a legacy system. This is particularly important in environments where the purchase-to-pay process spans multiple integrated applications.

Knowing the source system helps in data validation, troubleshooting, and understanding process variations that may be system-dependent. For example, POs originating from an e-procurement system might follow a different, more automated path than those created manually in the core ERP.

Why it matters

It provides context for the data's origin, which is crucial for data governance, validation, and analyzing process variations across different systems.

Where to get

This can be a static value added during data extraction or a field within the source tables that indicates the system of entry.

Examples
SAP S/4HANAOracle FusionCoupa
Department
Department
The business department, cost center, or functional area to which the purchase order is charged or associated.
Description

The Department attribute specifies the organizational unit responsible for the purchase. This is often the department that initiated the request or the one whose budget will cover the expense, such as 'IT', 'Marketing', or 'Operations'.

This attribute is essential for segmenting and comparing process performance across different parts of the business. Analysis by department can reveal which areas have the longest cycle times, highest change rates, or greatest maverick buying. These insights help tailor improvement initiatives to the specific needs and behaviors of each department.

Why it matters

It allows for process analysis to be segmented by business unit, helping to compare performance and identify department-specific issues or best practices.

Where to get

This information is usually available in the purchase order header or line item details, often linked as a 'Cost Center' or 'Department' field.

Examples
FinanceInformation TechnologyMarketing - CPG
Item Category
ItemCategory
The classification of the goods or services being purchased, such as IT Hardware, Professional Services, or Office Supplies.
Description

The Item Category, also known as Material Group or Purchase Category, classifies the type of product or service being procured. This structured classification helps in organizing and understanding procurement spend and process behavior.

Analyzing the process by item category can uncover significant variations. For instance, the procurement process for complex services may have longer approval cycles and more changes than the process for standard office supplies. This segmentation allows for category-specific process optimization and strategy development.

Why it matters

It enables analysis of process performance and spend by category, revealing how different types of purchases impact process efficiency.

Where to get

This information is typically stored at the purchase order line item level.

Examples
IT HardwareProfessional ServicesOffice SuppliesMRO - Maintenance Repair & Operations
PO Amount
PurchaseOrderAmount
The total monetary value of the purchase order.
Description

The Purchase Order Amount represents the total financial commitment of the order. It can be analyzed at the overall document level or at the individual line item level.

This attribute is fundamental for financial analysis and prioritization. It allows for filtering processes based on value, for example, to focus on high-value POs which may have more complex approval workflows or greater business impact. Correlating PO amount with cycle times or rework rates can reveal if high-value orders are handled less efficiently than low-value ones.

Why it matters

It provides a financial dimension to the process, enabling value-based analysis to prioritize improvements and understand cost drivers.

Where to get

This value is located in the purchase order header data, often calculated as the sum of all line item amounts.

Examples
15000.00250.75125000.50
PO Status
PurchaseOrderStatus
The current or final status of the purchase order in its lifecycle, such as 'Open', 'Closed', 'Canceled'.
Description

The Purchase Order Status indicates the stage of the PO within its lifecycle at a given point in time or its final disposition. Common statuses include 'In Approval', 'Approved', 'Sent to Vendor', 'Partially Received', 'Closed', or 'Canceled'.

This attribute is useful for filtering and analyzing subsets of purchase orders. For example, analysis can focus exclusively on open orders to identify current bottlenecks, or on canceled orders to understand the reasons for cancellation. Tracking the sequence of status changes can also serve as the basis for defining the activities in the process model.

Why it matters

It allows for filtering cases based on their lifecycle stage, enabling focused analysis on open, closed, or problematic orders.

Where to get

This is a standard status field found in the purchase order header data.

Examples
OpenClosed for InvoicingCanceledIn Approval
Requested Delivery Date
RequestedDeliveryDate
The date on which the business has requested the vendor to deliver the goods or services.
Description

The Requested Delivery Date is the date specified on the purchase order by which the organization expects to receive the items or services from the vendor. This date serves as a baseline for measuring vendor delivery performance.

This attribute is essential for calculating the 'On-Time Delivery Rate' KPI. By comparing the requested delivery date with the actual goods receipt date, businesses can assess vendor reliability. Analyzing deviations can help identify chronic issues with certain vendors, items, or shipping locations, providing data for performance discussions.

Why it matters

It is the benchmark for measuring vendor delivery performance and is crucial for calculating the On-Time Delivery Rate KPI.

Where to get

This date is typically a standard field in the purchase order header or line item details.

Examples
2024-08-152024-09-012024-07-30
User Name
UserName
The name or ID of the user who performed a specific activity, such as creating, approving, or changing the purchase order.
Description

The User Name identifies the individual responsible for executing an event within the process. This could be the person who created the requisition, approved the purchase order, or posted the goods receipt. It provides accountability and a human dimension to the process flow.

Analyzing activities by user helps in understanding workload distribution, identifying training needs, and detecting potential compliance issues. For example, it can be used to see if certain users are associated with high rates of rework or delays, or to check for segregation of duties violations.

Why it matters

It links process activities to specific individuals, enabling analysis of workload, performance, and compliance at the user level.

Where to get

Typically found in 'Created By', 'Changed By', or 'User ID' fields in transaction logs and document headers.

Examples
j.doesmith_auser123
Vendor Name
VendorName
The name of the supplier or vendor from whom goods or services are being purchased.
Description

The Vendor Name identifies the external party that is contracted to provide the goods or services specified in the purchase order. It is a key piece of master data linked to the transactional PO data.

Analyzing the process by vendor is critical for supplier performance management. It allows for the comparison of vendors based on metrics like on-time delivery rates, goods return rates, and the frequency of PO changes. These insights can inform sourcing strategies, vendor negotiations, and relationship management.

Why it matters

It enables vendor performance analysis, allowing comparison of delivery times, quality, and process friction across different suppliers.

Where to get

This is sourced from vendor master data and linked to the purchase order, typically in the document header.

Examples
Global Office SuppliesTech Solutions Inc.Creative Marketing Agency
Currency
Currency
The currency code, such as USD or EUR, for the monetary values on the purchase order.
Description

The Currency attribute specifies the unit of money used for the Purchase Order Amount and other financial fields. It is essential for correctly interpreting and aggregating financial data, especially in multinational organizations that operate with multiple currencies.

In analysis, this attribute ensures that financial metrics are compared on a like-for-like basis. It is a prerequisite for any dashboard or KPI that involves monetary values, allowing for proper currency conversion and reporting to provide an accurate financial view of the procurement process.

Why it matters

It provides the necessary context for all monetary values, ensuring accurate financial reporting and comparison, especially in global operations.

Where to get

This code is typically stored in the purchase order header alongside the total amount.

Examples
USDEURGBP
End Time
EndTime
The exact timestamp indicating when an activity concluded. For atomic events, this is often the same as the Event Time.
Description

The End Time attribute records the completion time of an activity. While many process events are atomic and have the same start and end time, some activities, especially manual ones or those with a measurable duration, may have distinct start and end timestamps.

Having an end time allows for precise calculation of the processing time of individual activities. This is invaluable for identifying which specific steps are time-consuming and for differentiating between processing time (when work is actively being done) and waiting time (the idle time between activities).

Why it matters

It enables the precise calculation of activity processing times, helping to distinguish active work time from idle waiting time in the process.

Where to get

Found in event logs or transaction data, sometimes as a separate 'End Time' or 'Completion Date' field. If unavailable, it can be set to the same value as the Event Time.

Examples
2023-04-15T10:45:00Z2023-05-20T14:05:10Z2023-06-01T09:15:25Z
Purchase Requisition ID
PurchaseRequisitionId
The unique identifier for the purchase requisition that preceded and authorized the purchase order.
Description

The Purchase Requisition ID is the identifier for the internal document that initiated the procurement process. The requisition is the formal request made by a department to the purchasing department to procure goods or services.

Having this ID allows for the connection of the purchase order process to the upstream requisitioning process. This enables a broader, 'Requisition-to-Order' analysis, measuring the time taken from request to the creation of the PO. It helps identify delays in the handoff between requesters and the purchasing team.

Why it matters

It links the purchase order to its originating request, enabling analysis of the upstream requisition-to-order cycle time.

Where to get

This is typically stored as a reference field in the purchase order header or line item data.

Examples
PR-1008761000004321REQ-052023-01
Requester
Requester
The name of the individual who initially requested the goods or services.
Description

The Requester is the person within the organization who initiated the need for a purchase, often by creating the preceding purchase requisition. This is distinct from the user who may have created the purchase order document in the system, who is typically part of the purchasing department.

Analyzing by requester can help identify patterns in purchasing behavior. For example, certain requesters might consistently have urgent orders or orders that require frequent changes. This information can be used to provide targeted training on procurement policies or to improve requirement specifications at the source.

Why it matters

It identifies the business user who initiated the purchase, helping to analyze purchasing behaviors and improve the requirement specification process.

Where to get

This information is usually sourced from the associated purchase requisition or stored as a 'Requester' field on the purchase order itself.

Examples
Alice JohnsonRobert WilliamsChen, Wei
Required Recommended Optional

Purchase to Pay - Purchase Order Activities

This section details the key process steps and milestones crucial for capturing accurate process discovery and understanding your Purchase to Pay, Purchase Order workflow.
6 Recommended 9 Optional
ActivityDescription
Goods Receipt Posted
This activity represents the formal recording of received goods against the purchase order. It confirms that a shipment has arrived and has been entered into the system, often updating inventory levels.
Why it matters

This is a critical milestone that marks the fulfillment of the order from a logistics view. Analyzing on-time delivery performance depends heavily on the accuracy and timeliness of this event.

Where to get

This is an explicit transaction creating a goods receipt or product receipt document, which is linked to the purchase order.

Capture

Use the posting date or creation date from the material document or goods receipt transaction.

Event type explicit
Invoice Received
This event marks the receipt and entry of a supplier's invoice that references the purchase order. It signifies the start of the invoice-to-pay portion of the procure-to-pay cycle.
Why it matters

This activity links the procurement process with accounts payable. The time between goods receipt and invoice receipt is important for managing accruals and financial forecasting.

Where to get

This is an explicit transaction captured from the creation or posting of a vendor invoice document linked to the purchase order.

Capture

Use the creation, entry, or posting date of the vendor invoice document.

Event type explicit
Purchase Order Approved
This key milestone signifies that the purchase order has completed its internal approval workflow. The PO is now authorized for issuance to the vendor, representing an official financial commitment.
Why it matters

This is a critical milestone for measuring internal approval efficiency. Delays in approval directly impact the overall lead time and can strain vendor relationships.

Where to get

This event is usually inferred from a status change on the purchase order or captured from the timestamp of the final approval in a workflow history log.

Capture

Use the timestamp when the PO's final approval status is set or the last required approval action is recorded.

Event type inferred
Purchase Order Closed
This is the final activity, signifying that the purchase order is considered complete. A PO is typically closed when it is fully received and fully invoiced, and no further transactions are expected.
Why it matters

This activity marks the end of the purchase order lifecycle. The time to closure is a key metric for overall process throughput and helps identify lingering, inactive orders.

Where to get

This is often inferred from a terminal status like 'Closed' or 'Completed', which may be set automatically or manually.

Capture

Use the timestamp when a final closure status is set, or when both 'delivery completed' and 'final invoice' indicators are active.

Event type inferred
Purchase Order Created
This activity represents the initial creation of the purchase order document in the system. It signifies the formal start of the procurement commitment, often generated from an approved requisition.
Why it matters

As the primary case start event, this activity is fundamental for measuring the end-to-end cycle time of a purchase order. It establishes the baseline for all subsequent process steps.

Where to get

This information is captured from the creation timestamp of the primary purchase order record or header table.

Capture

Use the document creation date and time from the purchase order header record.

Event type explicit
Purchase Order Sent to Vendor
This activity marks the point when the approved purchase order is officially transmitted to the vendor. This can occur via various channels like EDI, a supplier portal, or email.
Why it matters

This is the first external touchpoint and marks the start of the supplier's lead time. Delays between internal approval and sending the PO to the vendor represent lost time in the procurement cycle.

Where to get

This is often captured from message output logs, communication records, or a specific status change like 'Sent' or 'Ordered'.

Capture

Identify the timestamp when the output communication message for the PO was successfully processed or sent.

Event type explicit
Goods Returned
This activity is recorded when previously received goods are sent back to the vendor. Returns are typically due to quality issues, damage during shipping, or incorrect shipments.
Why it matters

Tracking the frequency of returns is a key indicator of supplier quality and performance. High return rates can reveal systemic problems with specific vendors or products.

Where to get

This is captured by a specific return transaction or a reversal of the original goods receipt document.

Capture

Identify the posting date of a return material document or a goods movement with a return-specific type.

Event type explicit
Purchase Order Canceled
This activity represents the cancellation of a purchase order before it was completed. A cancellation can occur at various stages if the goods are no longer needed or the order was created in error.
Why it matters

Cancellations represent wasted effort and can signal process inefficiencies or poor demand planning. Understanding why and when POs are canceled can lead to process improvements.

Where to get

This is typically inferred from a specific document status like 'Canceled' or the activation of a deletion flag on the purchase order record.

Capture

Identify the timestamp when the deletion indicator is set or the document status changes to canceled.

Event type inferred
Purchase Order Changed
This event represents any modification made to a purchase order after its initial creation or approval. Common changes include adjustments to quantity, price, or delivery dates.
Why it matters

Frequent changes can indicate poor initial planning, supplier issues, or process instability. Each change often triggers re-approval, adding significant administrative overhead and delays.

Where to get

This information is captured from system change logs, document version history, or audit trail tables.

Capture

Use the timestamp from change document logs that are linked to the purchase order.

Event type explicit
Purchase Order Rejected
This activity occurs when an approver rejects the purchase order during the approval workflow. The PO is typically sent back to the creator for revision or cancellation.
Why it matters

Rejections introduce rework and delays into the process. Analyzing the frequency and reasons for rejections helps identify issues with data quality, policy compliance, or approver training.

Where to get

This is generally inferred from a status change to 'Rejected' or a similar state on the purchase order document.

Capture

Identify the timestamp when the PO's status is updated to reflect rejection.

Event type inferred
Purchase Order Submitted
This activity occurs when a drafted purchase order is formally submitted into an internal approval workflow. This transitions the document from a draft state to a pending approval state.
Why it matters

This event separates the PO creation or drafting time from the actual approval cycle time. Analyzing the delay between creation and submission can reveal user behavior or training issues.

Where to get

This is typically captured from an explicit user action, a status change, or an entry in a workflow log.

Capture

Identify the timestamp associated with the 'submit for approval' action or the corresponding status change.

Event type explicit
Purchase Requisition Approved
This event signifies that the purchase requisition has been reviewed and approved by all necessary stakeholders. This approval authorizes the creation of a formal purchase order.
Why it matters

This milestone marks the end of the internal demand approval process. Tracking the duration and success rate of requisition approvals is key to understanding pre-procurement efficiency.

Where to get

This is typically inferred from a status change on the requisition document or captured from a workflow history log.

Capture

Identify the timestamp when the requisition's final approval status is set or the final approval action is logged.

Event type inferred
Purchase Requisition Created
This activity marks the formal request for goods or services that precedes a purchase order. It is the initial document that captures the business need and typically initiates an approval workflow.
Why it matters

Analyzing the time between requisition creation and PO creation helps identify bottlenecks in the demand-to-order phase. High volumes of requisitions that do not become orders may indicate inefficient planning.

Where to get

This event is captured from the creation timestamp of the purchase requisition document or record in the procurement module.

Capture

Use the creation timestamp from the purchase requisition header table or document log.

Event type explicit
Services Confirmed
This activity is the equivalent of a goods receipt for service-based purchase orders. It confirms that a service has been rendered according to the terms specified in the PO.
Why it matters

For service procurement, this event is essential for tracking service delivery performance and is often a prerequisite for approving the corresponding invoice for payment.

Where to get

This is typically captured through the creation of a service entry sheet or a similar service confirmation document.

Capture

Use the creation or posting date of the service entry sheet or confirmation record.

Event type explicit
Vendor Acknowledged Order
This event signifies that the vendor has received, reviewed, and confirmed the purchase order. This confirmation often includes an agreement on price, quantity, and delivery dates.
Why it matters

Vendor acknowledgement provides confidence that the order will be fulfilled as requested. A lack of timely acknowledgement can be an early indicator of potential fulfillment issues or delays.

Where to get

This is captured from vendor-initiated transactions in a supplier portal, or through manual data entry based on email or fax confirmations.

Capture

Use the timestamp of the order confirmation document or the status update indicating vendor acknowledgement.

Event type explicit
Recommended Optional

Extraction Guides

How to get your data for process mining.

Extraction methods vary by system. For detailed instructions,

read our ETL guide

or select a specific process and system.