Your Credit Management & Collections Data Template

Microsoft Dynamics 365
Your Credit Management & Collections Data Template

Your Credit Management & Collections Data Template

This template provides a comprehensive guide to collecting the necessary data for analyzing your credit management and collections process. It outlines essential data attributes, key activities to track, and practical guidance for data extraction. Use this resource to streamline your data preparation and accelerate your process mining journey.
  • Recommended attributes to collect for comprehensive analysis
  • Key process activities to track for accurate discovery
  • Practical guidance for data extraction from your system
New to event logs? Learn how to create a process mining event log.

Credit Management & Collections Attributes

These are the recommended data fields to include in your event log for a comprehensive analysis of your credit management and collections process.
3 Required 8 Recommended 9 Optional
Name Description
Activity Name
ActivityName
The name of the specific event or task that occurred at a point in the invoice lifecycle.
Description

The Activity Name describes a specific step or event within the credit and collections process, such as 'Invoice Generated', 'Dunning Letter Sent', or 'Payment Received'. This attribute is fundamental to process mining as it defines the nodes in the process map. Analyzing the sequence and frequency of these activities reveals the actual process flow, allowing for the identification of rework loops, inefficiencies, and non-compliant process paths. It directly supports the creation of all process flow visualizations and is used to segment cycle time calculations between different stages of the process.

Why it matters

This attribute defines the steps in the process map, making it possible to visualize and analyze the invoice lifecycle.

Where to get

This attribute is typically derived by mapping specific system events, status changes, or record creation dates from various tables like 'CustInvoiceJour', 'CustTrans', 'CustCollectionLetterJour', and 'CustPaymPromise' to standardized activity names.

Examples
Invoice Posted and SentDunning Letter GeneratedDispute RegisteredPayment Received
Event Time
EventTime
The timestamp indicating when a specific activity or event occurred.
Description

Event Time is the precise date and time that an activity was recorded in the system. It is a cornerstone of process mining, providing the chronological order necessary to build the process flow and calculate all time-based metrics. This attribute is essential for analyzing durations, identifying bottlenecks, and monitoring SLAs. For instance, the time difference between the 'Invoice Generated' and 'Payment Received' events is used to calculate Days Sales Outstanding (DSO), a critical business KPI. Without accurate timestamps, performance analysis and bottleneck identification are impossible.

Why it matters

This timestamp is essential for ordering events, discovering the process map, and calculating all performance metrics like cycle times and durations.

Where to get

This attribute is sourced from various date/time fields across D365 tables, such as 'CreatedDateTime' on 'CustInvoiceJour' or 'TransDate' on 'CustTrans', depending on the specific activity.

Examples
2023-01-15T09:30:00Z2023-02-28T14:12:55Z2023-03-20T11:05:10Z
Invoice Number
InvoiceNumber
The unique identifier for each customer invoice, serving as the primary case identifier for the credit management process.
Description

The Invoice Number is a critical attribute that uniquely identifies each financial transaction with a customer. It links all related activities, from invoice generation and posting to payment collection and final settlement. In process mining, this number is used to reconstruct the end-to-end journey of each invoice, allowing for a detailed analysis of its lifecycle. By tracking each invoice as a separate case, organizations can identify common process paths, bottlenecks, and deviations from the standard procedure. It is the foundation for calculating key metrics like Days Sales Outstanding and analyzing process variants.

Why it matters

This is the essential Case ID that connects all process events, enabling the reconstruction and analysis of the entire invoice-to-cash lifecycle.

Where to get

This is typically the 'Invoice' field from the 'CustInvoiceJour' table in Microsoft Dynamics 365 Finance.

Examples
INV-0012345CIV-2023-8876SI-9510034
Collector Assigned
CollectorAssigned
The name of the collection agent or team member responsible for managing the overdue invoice.
Description

This attribute identifies the individual employee responsible for collection activities on a specific invoice. It is crucial for performance and workload analysis. By filtering the process map or dashboards by collector, managers can assess individual productivity, compare collection strategies, and identify coaching opportunities. This attribute is a key dimension for the 'Collection Team Productivity' and 'Dispute Resolution Cycle Time' dashboards, as it helps attribute process outcomes to specific individuals or teams.

Why it matters

Enables performance analysis of the collections team, helps in balancing workloads, and identifies best practices by comparing collector effectiveness.

Where to get

Consult Microsoft Dynamics 365 documentation. This could be linked from a collections management module or user responsibility fields on customer or transaction records.

Examples
John SmithEmily JonesCollections Team A
Customer Name
CustomerName
The legal name of the customer to whom the invoice was issued.
Description

The Customer Name identifies the specific client associated with an invoice. This attribute is a primary dimension for filtering and segmentation. Analyzing the process by customer helps identify problematic clients who consistently pay late, raise disputes, or require extensive collection efforts. It is a key attribute for the 'Dispute Resolution Cycle Time' dashboard and for any deep-dive analysis into specific customer accounts.

Why it matters

Enables customer-specific process analysis, helping to identify patterns and manage relationships with key or problematic accounts.

Where to get

This information is typically joined from the 'CustTable' using the customer account number present in 'CustInvoiceJour'.

Examples
Contoso Ltd.Adventure WorksFabrikam Inc.
Customer Segment
CustomerSegment
A classification of the customer, such as by size, industry, or strategic importance.
Description

Customer Segment is a categorical attribute used to group customers into meaningful cohorts, for example 'Strategic Accounts', 'SMB', or 'Government'. This segmentation is vital for strategic analysis. It helps answer questions like 'Do strategic accounts have a lower DSO?' or 'Are write-offs more common in a particular industry segment?'. It is used directly in the 'Days Sales Outstanding Trend', 'Uncollectible Invoice Write-Offs', and 'Overdue Invoices By Segment' dashboards to provide higher-level insights beyond individual customers.

Why it matters

Allows for aggregated analysis across customer groups to identify strategic trends and tailor collection strategies for different segments.

Where to get

This is often a custom field or derived from attributes on the 'CustTable' (customer master table).

Examples
EnterpriseMid-MarketPublic SectorPartner
Days Overdue
DaysOverdue
The number of days an invoice is past its payment due date.
Description

Days Overdue is a calculated metric that measures the time elapsed since the Payment Due Date for an unpaid invoice. It is calculated as the current date minus the Payment Due Date. This is a key performance indicator for the collections team, as it helps prioritize which invoices to focus on. It is the primary metric in the 'Overdue Invoices By Segment' dashboard and is fundamental for assessing the health of accounts receivable and the effectiveness of collection efforts.

Why it matters

This is a critical operational metric used to prioritize collection efforts and measure the severity of payment delays.

Where to get

This is a calculated field. The logic is: IF Invoice is unpaid THEN (Today() - PaymentDueDate) ELSE 0.

Examples
1532910
Dunning Level
DunningLevel
Indicates the current stage or severity of the dunning (collections) process for an overdue invoice.
Description

The Dunning Level represents the step in a structured dunning procedure, for example, 'Level 1: Gentle Reminder', 'Level 2: Formal Notice', or 'Level 3: Final Warning'. Tracking this attribute is essential for evaluating the success of the collections strategy. The 'Dunning Strategy Effectiveness' dashboard uses this attribute to show what percentage of invoices are paid after reaching each level. This helps businesses refine their dunning workflows, making them more effective at securing payment while maintaining customer relationships.

Why it matters

This is key to measuring the effectiveness of the dunning strategy and understanding at which stage customers are most likely to pay.

Where to get

This information would be found in tables related to collections and dunning letters, such as 'CustCollectionLetterJour'.

Examples
123 - FinalLegal Action
Invoice Amount
InvoiceAmount
The total monetary value of the invoice.
Description

Invoice Amount represents the total financial value of the goods or services billed. This is a fundamental attribute for financial analysis within the process. It allows for segmenting cases by value to see if high-value invoices follow a different process or experience longer delays. This attribute is essential for the 'Uncollectible Invoice Write-Offs' and 'Credit Limit Management Analysis' dashboards, helping to quantify financial impact and assess risk.

Why it matters

Allows for financial impact analysis, prioritization of high-value invoices, and understanding how invoice value affects process behavior.

Where to get

Likely the 'InvoiceAmount' field in the 'CustInvoiceJour' table.

Examples
1500.7525000.00549.99
Invoice Status
InvoiceStatus
The current status of the invoice in its lifecycle.
Description

Invoice Status provides a snapshot of where an invoice is in the process, such as 'Open', 'Paid', 'Disputed', or 'Written Off'. While the activity log provides a detailed history, the current status is a useful case-level attribute for filtering and high-level reporting. It allows analysts to quickly segment the data to focus only on open overdue invoices or to analyze the characteristics of all written-off invoices. It's a simple yet powerful way to understand the current state of accounts receivable.

Why it matters

Provides a quick and easy way to filter for and analyze invoices based on their current state, such as focusing on all open or disputed cases.

Where to get

Derived from the settlement status of transactions in the 'CustTrans' table. An open transaction is unpaid, while a closed one is settled.

Examples
OpenPaidPartially PaidWritten Off
Payment Due Date
PaymentDueDate
The date by which the invoice payment is contractually due.
Description

The Payment Due Date is a critical date attribute defined by the payment terms agreed upon with the customer. This date serves as the baseline for determining if an invoice is overdue. It is the primary trigger for initiating collection activities, such as sending reminders or starting a formal dunning procedure. In process mining, it's used to calculate the 'Days Overdue' metric and to check for compliance with dunning policies, for instance, verifying that a reminder was sent within X days after the due date passed.

Why it matters

This date is the benchmark for measuring payment timeliness and is the trigger for all overdue and collections-related activities.

Where to get

Typically found as the 'DueDate' field in the 'CustTrans' or 'CustInvoiceJour' tables.

Examples
2023-02-142023-03-312023-04-30
Country
Country
The country of the customer's billing address.
Description

This attribute specifies the country associated with the customer's account. It is a common dimension for geographical analysis. Segmenting process KPIs like DSO or write-off rates by country can reveal regional differences in customer payment behavior, collection effectiveness, or economic conditions. This can lead to geographically tailored collection strategies or different payment terms for certain regions.

Why it matters

Enables geographical analysis to identify regional trends in payment behavior and collection process performance.

Where to get

This is derived by joining from the customer master record ('CustTable') to its primary address record, often in 'LogisticsPostalAddress'.

Examples
USADEUGBRCAN
Credit Limit
CreditLimit
The maximum amount of credit approved for the customer.
Description

The Credit Limit is the total amount of debt a customer is authorized to accrue. This attribute is crucial for risk management. The 'Credit Limit Management Analysis' dashboard compares this value against the invoice amounts for delinquent or written-off accounts. This analysis helps determine if credit limits are set appropriately, if they are being enforced, and whether customers who default tend to have recently increased limits, highlighting potential weaknesses in the credit approval process.

Why it matters

Essential for risk assessment, this attribute helps analyze if write-offs are related to poorly managed or inadequate customer credit limits.

Where to get

This value is typically stored on the customer master record in the 'CustTable'.

Examples
10000.0050000.000.00
Currency Code
CurrencyCode
The currency of the invoice, for example, USD or EUR.
Description

The Currency Code specifies the transactional currency of the Invoice Amount. This is an important contextual attribute, especially for multinational organizations. It is necessary for correctly interpreting financial values and may be used to analyze if payment cycles or issues are correlated with specific currencies, which could be related to complexities in foreign exchange or international payment processing.

Why it matters

Provides essential context for all monetary values and allows for analysis of processes involving multiple currencies.

Where to get

Typically found as the 'CurrencyCode' field on the 'CustInvoiceJour' table.

Examples
USDEURGBPCAD
Days Sales Outstanding
DaysSalesOutstanding
The time in days from invoice generation to payment receipt.
Description

Days Sales Outstanding (DSO) is a key financial KPI that measures the average number of days it takes to collect payment after a sale has been made. In this process model, it is calculated as the duration between the 'Invoice Generated' and 'Payment Received' activities for each invoice. A lower DSO indicates a more efficient collections process and better cash flow. This attribute allows for trend analysis over time and segmentation by dimensions like Customer Segment to see which groups are impacting the overall metric.

Why it matters

This is a critical KPI for measuring cash flow efficiency and the overall performance of the invoice-to-cash process.

Where to get

Calculated as the duration between the timestamps of the 'Invoice Generated' and 'Payment Received' activities.

Examples
28.545.261.0
Dispute Reason
DisputeReason
The reason provided by the customer for disputing an invoice.
Description

When a customer disputes an invoice, they typically provide a reason, such as 'Incorrect Pricing', 'Damaged Goods', or 'Duplicate Billing'. This attribute captures that reason. Analyzing dispute reasons is critical for root cause analysis. It helps identify recurring problems in the order-to-cash process, such as issues with the sales, shipping, or billing departments. Reducing disputes at the source is a key outcome of this analysis, which directly impacts DSO by preventing payment delays.

Why it matters

Provides critical data for root cause analysis of payment delays, helping to identify and fix upstream issues that lead to invoice disputes.

Where to get

Consult Microsoft Dynamics 365 documentation. This would be part of the dispute management or case management functionality.

Examples
Pricing ErrorQuantity ShortProduct Not ReceivedService Not As Described
Dispute Resolution Time
DisputeResolutionTime
The time taken to resolve a customer dispute from when it was first registered.
Description

Dispute Resolution Time measures the efficiency of the dispute handling process. It is calculated as the duration between the 'Dispute Registered' and 'Dispute Resolved' activities. Long resolution times can delay payment and negatively impact customer satisfaction. Analyzing this metric, segmented by collector or dispute reason, helps identify bottlenecks and areas for improvement in the dispute management workflow.

Why it matters

Measures the efficiency of the dispute handling process, which is a common cause of significant payment delays.

Where to get

Calculated as the duration between the timestamps of the 'Dispute Registered' and 'Dispute Resolved' activities.

Examples
7.215.83.5
Is Disputed
IsDisputed
A boolean flag indicating if an invoice has ever been disputed.
Description

This is a calculated flag that is set to true if an invoice case contains a 'Dispute Registered' activity. It simplifies analysis by allowing users to easily filter or compare the process flows of disputed versus non-disputed invoices. For example, one could easily compare the average DSO for disputed invoices against the average for non-disputed ones to quantify the impact of disputes on cash flow. It's a useful attribute for high-level dashboarding and comparative analysis.

Why it matters

Simplifies analysis and filtering by allowing for easy comparison between disputed and non-disputed invoice populations.

Where to get

This is a calculated field. The logic is: IF the case contains a 'Dispute Registered' activity THEN true ELSE false.

Examples
truefalse
Last Data Update
LastDataUpdate
The timestamp of the last data refresh or update.
Description

This attribute indicates the last time the dataset was updated from the source system. It is a critical piece of metadata for users of the process mining analysis, as it provides context on the freshness of the data. Knowing the data is current up to a specific point in time helps analysts make informed decisions and understand the scope of their findings. It is typically applied to the entire dataset during the data ingestion pipeline.

Why it matters

Informs users about the timeliness of the data, ensuring analyses are based on an understood timeframe and preventing decisions on stale information.

Where to get

This value is generated and stamped onto the dataset by the ETL/data pipeline at the time of execution.

Examples
2023-04-01T02:00:00Z2023-04-02T02:00:00Z
Source System
SourceSystem
Identifies the system from which the data originates.
Description

This attribute specifies the source application where the event data was recorded. In this context, it would be 'Microsoft Dynamics 365'. While it may seem static in a single-system analysis, it is crucial for data governance, troubleshooting, and future integrations. If data from other systems, like a separate CRM or a collection agency portal, were to be included, this field would be essential for distinguishing between them and understanding the complete cross-system process.

Why it matters

Provides clear data lineage and is essential for maintaining data quality and enabling analysis across multiple integrated systems.

Where to get

This is typically a static value added during the data extraction process to label the origin of the records.

Examples
Microsoft Dynamics 365D365 F&O
Required Recommended Optional

Credit Management & Collections Activities

These are the key process steps and milestones to capture in your event log for accurate discovery of your credit management and collections workflow.
9 Recommended 3 Optional
Activity Description
Dispute Registered
Signifies that the customer has formally disputed the invoice, and its status is updated accordingly. This is typically captured by a user changing the invoice's status to 'Disputed' in the collections management module.
Why it matters

This is the starting point for the dispute resolution process. Tracking this helps measure the frequency of disputes and the time taken to resolve them, impacting customer satisfaction and cash flow.

Where to get

Inferred from a status change on the customer transaction (CustTrans) or a related dispute management table (smmCaseDetail). A timestamped log of the status change is required.

Capture

Identify when the dispute status field for an invoice transaction is populated or changed to 'Disputed'.

Event type inferred
Dunning Letter Generated
Indicates that a formal dunning or collection letter has been created for the overdue invoice. This is captured when the periodic dunning process is run in Dynamics 365, which generates letter records for relevant invoices.
Why it matters

Tracks the initiation and frequency of formal collection efforts. It is essential for measuring dunning effectiveness and compliance with internal collection policies.

Where to get

An explicit record is created in the Dunning History table (CustCollectionLetterJour). The creation date of the dunning letter journal is the timestamp.

Capture

Extract creation events from the CustCollectionLetterJour table, linking back to the invoice.

Event type explicit
Invoice Generated
Marks the creation of a sales invoice record in the system, before it is officially posted. This activity is typically an explicit event captured when a user finalizes a sales order and generates the corresponding invoice document.
Why it matters

This is the primary start event for the invoice lifecycle. Analyzing the time from this point to payment is crucial for measuring Days Sales Outstanding (DSO).

Where to get

Recorded in the Sales Invoice Header table (SalesInvoiceHeader) or Sales Table (SalesTable) upon invoice creation. The creation timestamp of the record serves as the event time.

Capture

Capture the creation timestamp of the sales invoice record.

Event type explicit
Invoice Posted and Sent
Represents the official recording of the invoice in the general ledger, making it a formal accounts receivable. This event usually coincides with the invoice being sent to the customer and is captured when the posting routine is completed in Dynamics 365.
Why it matters

This is a critical milestone that officially starts the clock for payment terms and aging. Delays between generation and posting can hide inefficiencies in the billing process.

Where to get

Inferred from the posting date on the Customer Invoice Journal (CustInvoiceJour) or a status change to 'Posted'. The posting timestamp is the key data point.

Capture

Use the posting timestamp from the Customer Invoice Journal (CustInvoiceJour).

Event type inferred
Invoice Settled
The invoice is fully paid and its balance is zero, marking the successful completion of the process. This status is inferred when the sum of applied payments equals the total invoice amount.
Why it matters

This is the primary successful end point for the credit-to-cash process. Analyzing paths that lead here highlights best practices and efficient process variants.

Where to get

Inferred from the settlement date in the customer settlement table (CustSettlement). This occurs when the 'AmountCur' and 'SettleAmountCur' fields for the invoice in CustTrans sum to zero.

Capture

Identify the latest settlement date associated with the invoice transaction that makes its balance zero.

Event type inferred
Invoice Written Off
The invoice has been deemed uncollectible and is formally written off as bad debt. This is an explicit action performed by an authorized user, which clears the receivable and posts the loss.
Why it matters

This is the primary unsuccessful end point of the process. Tracking write-offs is critical for understanding credit risk, collection failures, and financial losses.

Where to get

Captured from a specific general journal transaction used for writing off bad debt, linked to the original invoice. The posting date of the write-off journal serves as the timestamp.

Capture

Identify journal entries with a specific write-off posting profile that reference the invoice.

Event type explicit
Payment Due Date Passed
A calculated event that occurs when the current date surpasses the invoice's due date. This activity does not correspond to a direct user action but is derived by comparing the system date to the invoice due date field.
Why it matters

This event is the trigger for all collection activities. It allows for the analysis of overdue invoice volume and the timeliness of dunning actions, supporting KPIs like Dunning Policy Adherence.

Where to get

Calculated by comparing the current timestamp against the 'DueDate' field in the Customer Transactions table (CustTrans). The event timestamp is the DueDate itself.

Capture

Create an event when 'NOW()' is greater than the invoice's DueDate.

Event type calculated
Payment Posted
Represents the official posting of the customer payment to the general ledger and its application to settle an invoice. This is captured from the posting date of the customer payment journal.
Why it matters

Finalizes the payment part of the process. The time between payment receipt and posting, the Cash Application Lag, is a key efficiency metric for the finance department.

Where to get

Captured from the posting timestamp of the Customer Payment Journal (LedgerJournalTrans). This confirms the payment has been fully processed in the ledger.

Capture

Use the posting date from the posted Customer Payment Journal.

Event type explicit
Payment Received
Indicates that a payment from a customer has been received and entered into the system, typically via a payment journal. This event precedes the final posting and application of the cash to the specific invoice.
Why it matters

This is a crucial milestone for calculating DSO and understanding cash flow. The time lag between this event and Payment Posted reveals bottlenecks in the cash application process.

Where to get

An explicit event captured from the creation date of a customer payment journal line (LedgerJournalTrans) before it is posted. It represents the date the payment was recorded as received.

Capture

Use the transaction date from the Customer Payment Journal lines.

Event type explicit
Collection Activity Logged
Represents a manual collection action, such as a phone call or email, logged against the customer or invoice. This is captured when a collector uses the Activities feature within the collections workspace to record their interactions.
Why it matters

Provides visibility into the manual effort of the collections team. Analyzing these activities against payment success helps measure team productivity and the effectiveness of different contact methods.

Where to get

Logged in the Activities (smmActivities) or related case management tables associated with the customer account. Requires linking the activity back to a specific invoice if possible.

Capture

Capture creation of Activity records where the type is 'Phone Call' or 'Email' related to collections.

Event type explicit
Dispute Resolved
Marks the conclusion of the dispute process where a resolution has been reached and documented. This event is captured when a user updates the dispute status of an invoice to 'Resolved' or closes the associated dispute case.
Why it matters

This activity concludes the dispute sub-process. The duration between dispute registration and resolution is a key KPI for measuring the efficiency of the resolution team.

Where to get

Inferred from a status change on the customer transaction (CustTrans) or when the related dispute case (smmCaseDetail) is closed. The timestamp of this status change is the event time.

Capture

Identify when the dispute status field for an invoice is cleared or changed to 'Resolved'.

Event type inferred
Payment Promise Created
A customer has committed to making a payment on a specific future date, and this promise is recorded in the system. This event is logged explicitly when a collections agent enters a promise-to-pay detail in the collections module.
Why it matters

Tracks informal payment agreements and their fulfillment rates. Comparing promises to actual payments can help in forecasting cash flow and evaluating customer reliability.

Where to get

Likely recorded in tables related to the collections workspace or case management, specifically for promise-to-pay functionality. The creation date of the promise record is the event time.

Capture

Capture creation events from a promise-to-pay or collections case detail table.

Event type explicit
Recommended Optional

Extraction Guides

How to get your data from Microsoft Dynamics 365