Finance and supply chain optimization with AI process mining

A global leader in retail pharmacy turned hidden inefficiencies into measurable value, unlocking millions

Process mining

Who we worked with

A global leader in retail pharmacy.

What the company needed

  • Complete visibility to spot and solve hidden bottlenecks for finance transformation and supply chain optimization

  • To establish transparent, dispute-free payment processes to protect reputation and supplier trust

  • Duplicate payment recovery and implementation of controls to prevent duplicate payments

  • A strategic approach to managing working capital for greater cash flow and financial agility

How we helped

  • Deployed Celonis' AI process mining to integrate SAP data and transform processes like procure to pay (P2P), accounts payable (AP), and supply chain

  • Enabled real-time goods receipt/invoice receipt (GRIR) reconciliation, duplicate invoice detection, duplicate payment recovery, and automated vendor debit recovery

  • Used AI to analyze supplier notes, detect sentiment, and identify risk factors to prioritize collections

  • Optimized payment terms with Celonis dashboards, driving better vendor negotiations and working capital management

What the company got

  • Resolved more than $90 million in disputes, stabilizing the supply chain, and reduced aged GRIR items by 98%

  • Delivered $45 million in total profit and loss (P&L) impact, including $15 million saved from duplicate payment recovery and $30 million from debit balance recovery

Challenge

When chaos ruled the finance and supply chain processes

Imagine running a supply chain where you can't see the friction until it stops everything. That's where this company found itself, drowning in massive amounts of data, but unable to use it. Manual operations meant missed insights, delayed actions, and mounting risks. Without a dedicated tool for duplicate payment recovery audits or insights into vendor balances, the team was always reacting, never ahead. The result? Friction that threatened the stability of the company's supply chain and market reputation.

 

It faced a perfect storm:

 

  • Broken trust: Payment disputes led 11 vendors to halt business, leaving shelves empty and reputation and working capital at risk

  • Massive backlogs: Nearly $93 million in open GRIR items, aged beyond 90 days

  • Financial leaks: $15 million in historical duplicate invoices, driven by daily manual extraction of SAP reports

  • Piled-up debit balance: Inaccurate aging of the supplier debit balance in the database, leading to high turnaround time (TAT) and untimely follow-ups

  • Blind spots: Lack of visibility into supplier payment terms meant working capital wasn't optimized
     

The status quo was expensive and unsustainable. The retail pharmacy company needed a new way of working.

Solution

Turning process headaches into smart moves with AI process mining

We didn't just patch the process; we reimagined it using Celonis as a value discovery platform. By integrating data from the data lake, we mapped specific use cases to their core processes – P2P, AP, claims, and supply chain – and deployed targeted solutions to transform them.

 

Real-time intelligence

 

We replaced manual dispute management with a GRIR data intelligence layer. The system now identifies, classifies, prioritizes, and resolves GRIR reconciliation end to end. It's a move from reactive dispute management to proactively understanding root causes and remediations, such as upstream process gaps and invalid deductions, before they become disputes.

 

Stopping the cash drain

 

We deployed a Duplicate Invoice Checker using Celonis' AI/ML capability. This tool identifies potential duplicates in SAP in real time and helps block duplicate payments based on audit rules before the money leaves the account.

 

Proactive recovery

 

For vendor debit balances, we replaced manual databases with automated triggers to enable timely follow-ups, validations, and daily reporting of suppliers with debit balances for faster recovery.

 

Future-ready ops

 

The solution also integrates Celonis' gen AI capabilities to stop teams from drowning in unstructured supplier notes. It analyzes responses, detects sentiment, and pinpoints risk to prioritize collections. It turns messy data into actionable insights, guiding teams for faster follow-ups and escalations.

 

Pay term rationalization

 

A powerful Celonis dashboard delivered clear insights on vendor payment terms versus spending, days payable outstanding (DPO), and material price trends. A simulation model determined the top contributors (vendors) by total spend and optimum payment terms for each, empowering the retail pharmacy for smarter negotiations and real-time decisions to optimize working capital across the business.

Impact

From past problems to million-dollar success with AI process mining

The impact on the retail pharmacy company was measurable. By obsessing over operations and sweating the small stuff, the partnership delivered massive value:
 

  • Over $90 million in disputes resolved in two years, stabilizing the supply chain

  • 98% reduction in aged open GRIR items (from $93 million down to $2 million)

  • $30 million in total P&L impact delivered in the fiscal year by reducing the debit balance from $45 million to $15 million

  • $15 million in duplicate payment recovery

  • $12 million in potential working capital impact uncovered through payment term rationalization
     

AI process mining helped the retail pharmacy company achieve finance transformation and supply chain optimization. It stopped guessing and started knowing. And in today's market, that is the difference between surviving the storm and steering the ship.

Like what you see?