Your Order to Cash - Billing & Invoicing Data Template

Salesforce Sales Cloud
Your Order to Cash - Billing & Invoicing Data Template

Your Order to Cash - Billing & Invoicing Data Template

This template provides a comprehensive overview of the essential data attributes and activities required to effectively analyze your Order to Cash - Billing & Invoicing process. It outlines the specific information to collect for your event log, along with practical guidance on extracting this data. Use this resource to streamline your process mining initiatives and gain valuable insights.
  • Recommended attributes to collect
  • Key activities to track
  • Extraction guidance
New to event logs? Learn how to create a process mining event log.

Order to Cash - Billing & Invoicing Attributes

These are the recommended data fields to include in your event log for comprehensive Order to Cash - Billing & Invoicing analysis, ensuring all critical information is captured.
3 Required 5 Recommended 12 Optional
Name Description
Activity Name
ActivityName
The name of the specific business event that occurred in the billing process.
Description

This attribute describes the step or milestone that has been reached within the invoice lifecycle, such as 'Invoice Generated' or 'Payment Received'. These activities form the nodes in the process map.

Analysis of the Activity Name sequence is fundamental to process mining. It reveals the actual process flow, allowing for comparison against the designed process. It is used to identify deviations, bottlenecks between specific steps, and rework loops, directly supporting dashboards like 'Billing Process Rework & Errors' and 'Billing Compliance Violation Report'.

Why it matters

It defines the steps of the process, forming the backbone of the process map and enabling analysis of workflow, bottlenecks, and deviations.

Where to get

This is typically derived from changes to the Status field on the Invoice object or from records in related objects like Task or Event, which track specific actions.

Examples
Invoice GeneratedInvoice ApprovedInvoice Sent to CustomerPayment Received
Event Time
EventTime
The timestamp indicating when a specific activity occurred.
Description

This attribute provides the date and time for each activity, which is crucial for chronological ordering and performance analysis. The timestamps establish the sequence of events and enable the calculation of durations between them.

In process analysis, Event Time is used to calculate all time-based metrics, including cycle times, wait times, and durations of specific activities. It is the foundation for KPIs like 'Average Invoice Cycle Time' and 'DSO', and it powers dashboards such as 'Invoice Approval Cycle Time' and 'Payment Reconciliation Performance'.

Why it matters

This timestamp is critical for sequencing events correctly and calculating all performance metrics, such as cycle times and durations, which are key to identifying delays.

Where to get

This data often comes from system-generated timestamp fields like CreatedDate or LastModifiedDate on the Invoice object or related Task/Event records.

Examples
2023-04-15T10:00:00Z2023-04-16T14:30:00Z2023-05-20T09:05:12Z
Invoice Number
InvoiceNumber
The unique identifier for each invoice, serving as the primary case identifier for the billing process.
Description

The Invoice Number is the central attribute that groups all related billing activities into a single case. Each number represents a distinct billing document sent to a customer.

In process mining analysis, this attribute allows for the end-to-end tracking of an invoice's lifecycle, from its generation to final payment and closure. It is essential for constructing the process map and calculating case-level KPIs like 'Average Invoice Cycle Time' and 'Days Sales Outstanding'. Analyzing processes by Invoice Number helps to identify bottlenecks, rework loops, and compliance deviations for individual billing instances.

Why it matters

This is the essential key to link all related billing events together, enabling a complete, end-to-end view of the invoicing process for each unique transaction.

Where to get

This is typically the primary key of the Invoice object in Salesforce Sales Cloud, often represented by the InvoiceNumber or a similar unique ID field.

Examples
INV-00582INV-01934INV-10345
Billing Department
BillingDepartment
The department or team responsible for the billing activity.
Description

This attribute specifies the functional group, such as 'Accounts Receivable' or 'Sales Operations', that the responsible user belongs to. This is typically derived from the user's profile or role in Salesforce.

Analyzing performance by department is crucial for understanding process ownership and identifying systemic issues within specific teams. It is used in the 'Payment Reconciliation Performance' and 'Billing Team Workload & Performance' dashboards to compare efficiency and resource utilization across different functional areas.

Why it matters

This allows for performance analysis at a team or department level, helping to identify group-specific bottlenecks, resource constraints, or training gaps.

Where to get

This information is usually stored on the User object in Salesforce, in fields like Department or Role.Name.

Examples
Accounts ReceivableFinance OperationsCollections Team
Invoice Status
InvoiceStatus
The current status of the invoice in its lifecycle.
Description

This attribute reflects the present state of the invoice, for example 'Draft', 'Awaiting Approval', 'Sent', 'Paid', or 'Void'. It provides a snapshot of where the invoice is in the process at any given time.

Invoice Status is a critical dimension for filtering and segmentation. It allows analysts to focus on specific cohorts of invoices, such as all invoices currently awaiting payment or all invoices that were rejected. This helps in prioritizing work and analyzing the characteristics of invoices that get stuck in certain stages.

Why it matters

It provides a clear snapshot of an invoice's current state, enabling filtering and analysis of open, closed, or problematic cases.

Where to get

This is typically a standard picklist field named Status on the Invoice object in Salesforce.

Examples
Awaiting ApprovalApprovedSent to CustomerPaidWritten Off
Invoice Total Amount
InvoiceTotalAmount
The total monetary value of the invoice.
Description

This attribute represents the total amount due from the customer for the goods or services rendered. It is a key financial metric associated with each invoice case.

Analyzing Invoice Total Amount helps in prioritizing high-value invoices and understanding how process performance differs for small versus large transactions. It can be used to segment analysis in dashboards, for example, to see if higher value invoices have longer approval times or are paid later. This is important for managing financial risk and focusing collection efforts effectively.

Why it matters

This allows for financial impact analysis, helping to prioritize high-value invoices and understand how monetary value affects process behavior, such as approval times or payment delays.

Where to get

This would likely be a standard currency field on the Invoice object, possibly named GrandTotal or a similar summary field.

Examples
5400.5012500.00850.75
Payment Due Date
PaymentDueDate
The date by which the customer is required to pay the invoice.
Description

This attribute specifies the deadline for payment, as stated on the invoice. It is calculated based on the invoice date and the agreed-upon payment terms.

The Payment Due Date is a critical data point for financial planning and collections management. It is the baseline against which actual payment performance is measured. It is essential for calculating the 'On-Time Payment Rate' KPI and for dashboards that track payment timeliness, such as 'Days Sales Outstanding (DSO) Trend'.

Why it matters

This is the benchmark for measuring payment performance, calculating DSO, and triggering collection activities like payment reminders.

Where to get

This is a standard date field on the Salesforce Invoice object, often named DueDate.

Examples
2023-05-152023-06-302023-07-01
User Responsible
UserResponsible
The user or agent who performed the activity.
Description

This attribute identifies the specific Salesforce user responsible for a given activity, such as approving an invoice or posting a payment. It is often linked to the user who last modified the record or owns the task.

Analyzing the process by User Responsible is key to understanding team performance, workload distribution, and identifying training needs. It directly supports the 'Billing Team Workload & Performance' dashboard by allowing performance comparisons and resource allocation analysis. It also helps in root cause analysis when investigating delays or errors.

Why it matters

It enables analysis of individual and team performance, workload balancing, and helps identify top performers or users needing additional training.

Where to get

This can be found in fields like LastModifiedById on the Invoice object or OwnerId on related Task or custom objects. These IDs would need to be joined with the User object to get the user's name.

Examples
Alice JohnsonBob WilliamsCharlie Brown
Account Owner
AccountOwner
The sales representative or account manager responsible for the customer account.
Description

This attribute identifies the internal owner of the customer relationship. This is typically the salesperson or account manager assigned to the Account in Salesforce.

While not directly involved in billing, the Account Owner can be a relevant dimension for analysis. Issues in the billing process can impact the customer relationship, and this attribute helps to connect process performance data back to the commercial side of the business. It can be used to see if accounts managed by certain owners experience more billing issues.

Why it matters

Links billing process performance to the commercial relationship owner, helping to understand the business impact of invoicing errors or delays.

Where to get

This is the Owner.Name field from the Account object, which is related to the Invoice.

Examples
David MillerSophia GarciaJames Wilson
Billing Country
BillingCountry
The country specified in the invoice's billing address.
Description

This attribute captures the country of the customer's billing address. It is a key geographical dimension for segmenting the process data.

Analyzing the billing process by country is essential for identifying regional variations in performance, compliance, and customer behavior. It can reveal if certain countries have longer payment cycles, different rework rates, or specific regulatory requirements that impact the process. This supports global process harmonization and localized optimization efforts.

Why it matters

Enables geographical analysis to identify regional variations in performance, compliance requirements, and payment behaviors.

Where to get

This is part of the standard address compound field on the Invoice object, typically BillingCountry.

Examples
USAGermanyJapanBrazil
Customer Name
CustomerName
The name of the customer or account being billed.
Description

This attribute identifies the client or company to whom the invoice is issued. It is typically linked from the associated Account record in Salesforce.

Analyzing the process by customer is essential for understanding client-specific behaviors and identifying issues that may be affecting key accounts. It can reveal if certain customers consistently pay late, require more rework, or have complex approval cycles. This insight helps in managing customer relationships and tailoring collection strategies.

Why it matters

Enables customer-centric analysis to identify patterns, such as which customers frequently pay late or require more invoice corrections, improving customer relationship management.

Where to get

This is sourced from the Account.Name field, linked via a lookup relationship from the Invoice object to the Account object.

Examples
ABC CorporationGlobal Tech Inc.Innovate Solutions LLC
Days Sales Outstanding
DaysSalesOutstanding
The number of days from when the invoice was sent until payment was received.
Description

Days Sales Outstanding (DSO) is a critical financial metric that measures the average number of days it takes for a company to collect payment after a sale has been made. It is calculated as the time between the 'Invoice Sent to Customer' event and the 'Customer Payment Received' event.

This KPI is a primary focus of the Order to Cash process, and this attribute makes it available for every single invoice. It directly supports the 'Days Sales Outstanding (DSO) Trend' dashboard and is essential for monitoring and improving cash flow.

Why it matters

This is a crucial KPI for measuring the effectiveness of the collections process and its direct impact on the company's cash flow.

Where to get

This is a calculated attribute. The calculation is (Timestamp('Customer Payment Received') - Timestamp('Invoice Sent to Customer')).

Examples
32 days58 days29 days
Event End Time
EventEndTime
The timestamp indicating when an activity was completed.
Description

This attribute records the completion time of an activity. While many activities in billing are instantaneous events where Start Time equals End Time, some, like an approval step, might have a measurable duration.

Having an End Time allows for the precise calculation of activity processing time, which is the duration an agent or system actively works on a task. It helps differentiate between active work time and waiting time, providing a more detailed view of process efficiency.

Why it matters

It enables the calculation of precise activity processing times, distinguishing active work from idle waiting time for more accurate efficiency analysis.

Where to get

This is often not a standard field. It may need to be derived by taking the StartTime of the subsequent activity in the case, or captured in a custom field.

Examples
2023-04-15T10:05:00Z2023-04-16T14:32:10Z2023-05-20T09:05:12Z
Invoice Currency
InvoiceCurrency
The currency code for the invoice amount, such as USD or EUR.
Description

This attribute indicates the currency in which the invoice is denominated. It is particularly important for organizations that operate in multiple countries.

This field provides essential context for any financial analysis. It allows for correct aggregation of monetary values and enables comparison of process metrics across different currency zones. It is a necessary filter when analyzing financial KPIs to avoid mixing different currencies.

Why it matters

Provides necessary context for all monetary values, ensuring accurate financial analysis and reporting, especially in multi-national operations.

Where to get

This is typically the standard CurrencyIsoCode field, available in Salesforce instances with multi-currency enabled.

Examples
USDEURGBPJPY
Invoice Cycle Time
InvoiceCycleTime
The total time elapsed from invoice generation to its closure.
Description

This calculated metric measures the full duration of the billing process for a single invoice. It is typically calculated as the time difference between the 'Invoice Generated' event and the 'Invoice Closed' or 'Payment Reconciled' event.

This is a primary KPI for measuring the overall efficiency of the billing process. It is used in the 'Average Invoice Cycle Time' KPI and the 'End-to-End Billing Cycle Overview' dashboard to monitor and benchmark process performance over time. Reducing this cycle time can lead to faster cash conversion.

Why it matters

This is a key performance indicator that measures the end-to-end efficiency of the billing process, directly impacting the cash conversion cycle.

Where to get

This metric is not in the source system. It is calculated by the process mining tool by subtracting the timestamp of the first event from the timestamp of the last event for each case.

Examples
25 days 4 hours45 days 12 hours60 days 2 hours
Is Late Payment
IsLatePayment
A calculated flag indicating if the payment was received after the due date.
Description

This boolean attribute is derived by comparing the 'Customer Payment Received' timestamp with the 'Payment Due Date'. It is true if the payment was late and false otherwise.

This flag simplifies the analysis of payment behavior and the effectiveness of collections. It is the basis for the 'On-Time Payment Rate' KPI and helps in segmenting customers into on-time and late payers for further analysis. It provides a clear, binary outcome for payment performance on each invoice.

Why it matters

This provides a clear success metric for collections, directly supporting the 'On-Time Payment Rate' KPI and enabling analysis of factors contributing to late payments.

Where to get

This attribute is not in the source system. It is calculated in the ETL layer or process mining tool by comparing the payment date to the PaymentDueDate field.

Examples
truefalse
Is Rework
IsRework
A calculated flag that indicates if an invoice has undergone a rework loop.
Description

This boolean attribute is derived during data processing. It is set to true if an invoice's activity sequence shows evidence of rework, such as returning to an earlier stage after passing it (e.g., 'Invoice Corrected' after 'Invoice Approved').

This flag is critical for quickly identifying and quantifying process inefficiencies. It directly powers the 'Invoice Rework Rate' KPI and the 'Billing Process Rework & Errors' dashboard, allowing analysts to isolate and examine cases with costly and time-consuming rework loops.

Why it matters

This flag directly quantifies process inefficiency by identifying cases with correction loops, helping to pinpoint sources of errors and calculate the cost of poor quality.

Where to get

This attribute is not in the source system. It is calculated by the process mining tool or in the ETL layer based on the sequence of activities for each case.

Examples
truefalse
Last Data Update
LastDataUpdate
Timestamp of the last data refresh from the source system.
Description

This attribute indicates when the data for the process mining analysis was last extracted from Salesforce Sales Cloud. It is a metadata field applied to the entire dataset during each refresh.

This timestamp is vital for users to understand the freshness of the analysis. It helps them know if the dashboards and KPIs they are viewing are up-to-date, which is critical for making timely and informed business decisions based on the process insights.

Why it matters

Informs users about the timeliness of the data, ensuring that decisions are based on a current and relevant view of the process.

Where to get

This value is generated and stamped onto the dataset by the ETL tool or data pipeline during each execution.

Examples
2023-10-27T02:00:00Z2023-10-28T02:00:00Z
Payment Terms
PaymentTerms
The agreed-upon conditions for invoice payment, such as 'Net 30' or 'Due on Receipt'.
Description

This attribute defines the rules governing when and how an invoice should be paid. It often dictates the calculation of the Payment Due Date and may include provisions for early payment discounts.

Analyzing by Payment Terms helps to understand how different agreements affect payment behavior. It is crucial for the 'Early Payment Discount Utilization' dashboard, which compares payment dates against terms to identify missed financial opportunities. It also provides context for why some invoices have longer or shorter payment cycles.

Why it matters

It provides context for payment deadlines and is essential for analyzing payment behavior, DSO, and the effectiveness of early payment discount programs.

Where to get

This information is likely stored in a picklist or text field on the Invoice or associated Account object in Salesforce.

Examples
Net 30Net 602% 10, Net 30Due on Receipt
Source System
SourceSystem
Identifies the system from which the data originated.
Description

This attribute specifies the source application where the event data was generated. For this process, it will typically be 'Salesforce Sales Cloud'.

In environments with multiple integrated systems, this field is crucial for data lineage and troubleshooting. It helps in understanding the context of the data and ensuring that events from different systems are correctly merged and interpreted within the process mining tool.

Why it matters

It provides crucial context about data origin, which is essential for data governance, validation, and analysis in multi-system environments.

Where to get

This is typically a static value added during the data extraction, transformation, and loading (ETL) process to label the dataset's origin.

Examples
Salesforce Sales CloudSFSC
Required Recommended Optional

Order to Cash - Billing & Invoicing Activities

These are the key process steps and milestones to capture in your event log for accurate process discovery and performance evaluation.
5 Recommended 8 Optional
Activity Description
Customer Payment Received
The customer has made a payment against the invoice, and the funds have been received. This is typically recorded by creating a related 'Payment' record and linking it to the invoice.
Why it matters

This is the most important milestone in the cash collection part of the process. It is the end point for the DSO calculation and signifies the successful receipt of revenue.

Where to get

Captured from the creation date of a 'Payment' custom object record that is related to the Invoice object. It could also be inferred from an invoice status change to 'Paid'.

Capture

Creation of a related Payment record.

Event type explicit
Invoice Approved
An authorized user has reviewed and approved the invoice, confirming its accuracy and readiness to be sent to the customer. This event is usually captured when the invoice status is changed to 'Approved'.
Why it matters

This is a key milestone that gates the rest of the billing process. Delays here create significant bottlenecks, impacting DSO and overall cycle times, which is measured by the 'Invoice Approval Cycle Time' dashboard.

Where to get

Inferred from a status field on the Invoice object changing to 'Approved'. If Salesforce Approval Processes are used, this can be explicitly captured from the ProcessInstance object history.

Capture

Change in invoice status field to 'Approved' or completion of a formal approval process step.

Event type inferred
Invoice Closed
The invoice lifecycle is complete, as it has been fully paid and reconciled. This is the final activity for a successfully processed invoice and is typically recorded by a status update.
Why it matters

This activity serves as the primary end point for the process, allowing for accurate end-to-end cycle time calculation. It provides a clear definition of completion for process analysis.

Where to get

Inferred from the timestamp when the Invoice object's status field is updated to 'Closed', 'Paid in Full', or a similar terminal state.

Capture

Change in invoice status field to a final 'Closed' value.

Event type inferred
Invoice Generated
This activity marks the creation of a new invoice record within Salesforce. It is the official start of the billing process for a specific transaction and is typically triggered after an order is fulfilled or a contract milestone is met. The event is captured from the creation timestamp of the invoice record.
Why it matters

This is the primary start event for the billing process. Analyzing the time from this point to payment helps measure the overall Order-to-Cash cycle time and identify initial data entry delays.

Where to get

This event is captured from the creation date (CreatedDate field) of the Invoice custom object or a similar object representing the invoice in Salesforce.

Capture

Record creation timestamp of the invoice object.

Event type explicit
Invoice Sent to Customer
The approved invoice has been officially delivered to the customer via email, mail, or a portal. This event is often captured by a 'Sent Date' field being populated or a status change to 'Sent'.
Why it matters

This marks the start of the payment collection period and is the starting point for calculating Days Sales Outstanding (DSO). It is a critical milestone for tracking customer communication and payment timelines.

Where to get

Inferred from the population of a 'Sent Date' field on the Invoice object or a status update to 'Sent'. It could also be an explicit event logged in Activity History if sent via an integrated email tool.

Capture

Timestamp when a 'Sent_Date__c' field is populated.

Event type inferred
Cash Applied/Reconciled
The received payment has been fully matched and applied against the specific invoice in the system, closing out the receivable. This is captured by a final status change on the payment or invoice record.
Why it matters

This marks the final step in the cash conversion cycle. The 'Payment Reconciliation Performance' dashboard relies on this activity to measure the efficiency of the finance team in applying cash.

Where to get

Inferred from a status change on the Invoice or a related Payment object to a terminal status like 'Reconciled' or 'Applied'.

Capture

Change in invoice or payment status to 'Reconciled'.

Event type inferred
Invoice Corrected
Represents a manual correction or update to an invoice after it was rejected or found to have an error. This is often inferred when an invoice's status reverts to a previous state, such as from 'Rejected' back to 'Draft'.
Why it matters

Identifying correction loops is crucial for measuring the 'Invoice Rework Rate' KPI. High volumes of corrections indicate problems in the initial invoice generation process that lead to delays.

Where to get

Inferred from field history tracking by detecting a status change from a later-stage value (e.g., 'Rejected', 'Approved') back to an earlier-stage value (e.g., 'Draft', 'In Progress').

Capture

Invoice status moves backward in the process flow.

Event type inferred
Invoice Rejected
An approver has rejected the invoice, usually due to errors or discrepancies, requiring it to be corrected and resubmitted. This is captured by a status change on the invoice record to 'Rejected'.
Why it matters

This activity signifies rework and process inefficiency. Analyzing the frequency of rejections helps identify common error sources and supports root cause analysis for the 'Billing Process Rework & Errors' dashboard.

Where to get

Inferred from a status field on the Invoice object changing to 'Rejected'. This data may also be found in comments within a formal Approval Process history.

Capture

Change in invoice status field to 'Rejected'.

Event type inferred
Invoice Submitted for Approval
The invoice has been finalized and submitted for internal review before being sent to the customer. This activity is typically captured by a status field change on the invoice record, for example, from 'Draft' to 'Pending Approval'.
Why it matters

Tracking this activity helps isolate the time spent in the approval queue. It is a critical first step for calculating the 'Average Invoice Approval Time' KPI.

Where to get

Inferred from the field history tracking on the Invoice object when a status field is updated to a value like 'Submitted for Approval' or 'In Review'.

Capture

Change in invoice status field to 'Pending Approval'.

Event type inferred
Invoice Written Off
A decision has been made to cancel the debt, and the invoice is closed without full payment. This represents an alternative, unsuccessful end to the billing process.
Why it matters

Tracking write-offs helps quantify revenue loss and identify customers or situations that lead to bad debt. It is a critical exception path to monitor for financial health.

Where to get

Inferred from the timestamp when the Invoice object's status field is updated to 'Written Off' or 'Canceled - Bad Debt'.

Capture

Change in invoice status field to 'Written Off'.

Event type inferred
Payment Due Date Reached
This is a calculated event representing the moment in time when the invoice payment becomes due according to its payment terms. It is not a user action but is derived from invoice data.
Why it matters

This activity provides a critical benchmark for analyzing payment behavior and measuring the 'On-Time Payment Rate' KPI. It helps differentiate between on-time and late payments.

Where to get

This is a calculated event. It is derived by comparing the current timestamp with the 'Due Date' field on the Invoice object. It does not exist as a stored event in Salesforce.

Capture

Calculated by comparing the current date to the invoice's Due Date field.

Event type calculated
Payment Posted to Ledger
The received payment has been formally recorded in the company's financial accounting system or ledger. This may be captured via a status update on the payment or invoice record after an integration runs.
Why it matters

This activity separates payment receipt from financial reconciliation. The time between payment receipt and posting can highlight delays in internal accounting processes.

Where to get

Inferred from a status field change on the Payment or Invoice object to a value like 'Posted' or 'Exported to ERP', often updated via an API integration.

Capture

Change in payment or invoice status to 'Posted'.

Event type inferred
Payment Reminder Issued
A communication has been sent to the customer to remind them of an upcoming or overdue payment. This is often logged as a specific Activity (Task or Email) record linked to the invoice.
Why it matters

Tracking reminders helps evaluate the effectiveness of collection strategies. It is essential for the 'Payment Reminder Effectiveness' dashboard and the 'Payment Reminder Trigger Rate' KPI.

Where to get

Captured from the creation of an Activity (Task or Email) record related to the Invoice object, where the subject or type indicates it is a payment reminder.

Capture

Creation of a related Task or Email record with a specific type/subject.

Event type explicit
Recommended Optional

Extraction Guides

How to get your data from Salesforce Sales Cloud