Customer story · Agentic automation

A global mining company recovers $40M+ in vendor credits in nine months with intelligent document processing

A global mining company’s accounts payable team was missing vendor credits buried in thousands of supplier statements. TSP built a credit-recovery automation that reads every statement, finds the credits and drafts the follow-up to vendors. In its first nine months, it recovered more than $40 million.

  • Mining
  • Global enterprise
  • Worldwide
  • SAP ERP
Hands sorting supplier statements on a desk in a mine site office overlooking an open pit
  • $40M+recovered in the first nine months
  • 900%more statements processed (300 to 3,000 a month)
  • 90%fewer manual hours (40 to 60 a week, down to under 5)

01 · The challenge

Credits were hiding in statements nobody had time to read

The company handles thousands of vendor statements every month. An earlier automation, built by another provider, could read only simple text-based PDFs, so most statements still needed manual review. Scanned and non-native PDFs failed OCR and credits were missed. Two to three people sifted partial OCR output and emailed vendors one at a time, and many statements were never reviewed at all, delaying credit recovery.

02 · The approach

A robot that reads every statement and drafts the follow-up

TSP built an AP credit-recovery automation that works in a loop with the AP analysts.

How it works

  1. Automated collection

    The robot downloads statements from Basware every day.

  2. Intelligent OCR

    UiPath Document Understanding reads PDFs of 1 to 100 pages, including scans, and Excel files.

  3. Credit logic

    Recognizes leading and trailing negatives, parentheses, dedicated credit columns and other vendor-specific patterns.

  4. Data layer

    Results are written to a SQL repository, with a refreshed master sheet after every run.

  5. The follow-up

    Analysts mark the rows that need outreach, and the robot generates tailored emails to vendors and restarts the cycle.

03 · The results

More than $40 million back in nine months

  • More than $40 million recovered in the first nine months
  • Statements processed up from 300 to 3,000 a month, a 900% increase
  • Manual hours down from 40 to 60 a week to under 5, a 90% reduction
  • Analysts now focus on complex discrepancies
  • Faster vendor communication has improved relationships and shortened the time to receive credits
  • New statement formats handled without code changes

More customer stories

More results like this

All case studies

Next step

Want a result like this in your SAP landscape?

Thirty minutes with a senior SAP architect on your landscape, your timeline and your priorities. You leave with a clear next step.

A senior SAP architect replies within one business day.

By sending this form, you agree to our Privacy Policy.

What happens next

  1. Tell us a little about your SAP landscape and what you're working on.
  2. A senior SAP architect reviews it before we talk.
  3. We meet, and you leave with an honest view and a clear next step.