Case studies
Cross-border e-commerce / FinanceAI ConsultingCustom Systems2026-11

Forward deployed for 2–3 weeks: 20 manual finance processes turned into 24 online tools

A cross-border e-commerce group

Every month the client's finance team exported data from several e-commerce ERPs, carriers, payment platforms and ad accounts, then stitched, matched and calculated it by hand in Excel. Working as a forward deployed engineer inside the finance team, we used AI to recover the calculation rules process by process, wrote them as deterministic code, verified the output cell by cell against the team's own spreadsheets, and shipped each process to an internal online tool platform.

Tool run log (illustrative, no real data)
Tool run log (illustrative, no real data)

Challenge

Raw data ran to hundreds of thousands of rows a month. Similar reports were split across several people, with the rules living in personal know-how and scattered documents. Exchange rates were read off screenshots by hand every day. Commission and profit sheets had long formula chains that were hard to reconcile, and cash flows between entities needed ledger entries matched one by one, with little traceability.

Approach

  1. 1Walked through each person's processes and collected their finished spreadsheets as the acceptance baseline; AI coding agents reverse-engineered the rules, rules already confirmed in team chats were written into the spec, and open questions were flagged for the finance team to decide
  2. 2Wrote each process as deterministic Python, compared the output cell by cell with the manual result, and explained every variance in a report signed off by the owner
  3. 3Built an internal online tool platform (FastAPI + React): inputs by upload, in-browser editing, shared-sheet links or an upstream tool's result; a job queue with concurrency, overnight scheduling, retries and cron jobs
  4. 4Every tool runs an input gate first: anything that would produce wrong numbers is blocked, anything that needs a human gets a warning; outputs are validated against a schema
  5. 5Automatic sign-in and data pulls from e-commerce ERPs and parcel-tracking platforms; OCR on exchange-rate and balance screenshots with cross-checks
  6. 6Inputs and outputs archived to object storage with sha256 and code version for traceability; results of hundreds of thousands of rows previewed in the browser
  7. 7Each process ships with its rules, a flowchart, a variance report and a plain-language calculation guide for finance; only tools that pass end-to-end tests can run, and releases deploy from git tags
The same report: manual Excel vs the online tool
The same report: manual Excel vs the online tool

Results

In about 2–3 weeks, about 20 manual processes became 24 online tools covering FX rates, order revenue, cash on delivery, commission, marketplace re-calculation, cash reconciliation and cost allocation
Every live process matches the manual output cell by cell, or every variance is explained and confirmed by the finance team; recalculated formula sheets match Excel
A monthly report over hundreds of thousands of order rows finishes in about 25 minutes, most tools in seconds; FX rates run daily and monthly averages calculate automatically on the 1st
Near-daily releases after the first tool went live, about 150 commits of continuous iteration
Tool run data flow: eight steps from input to archive
Tool run data flow: eight steps from input to archive

More case studies

Have a similar project?

Contact us