Sarantium

The professional biography of Michael Cohen.

← Overview

Automating payment reconciliation across four processors

This site is a professional biography. It is not for commercial use.


Global eCommerce Conglomerate

Payment Reconciliation Automation & Month-End Close Infrastructure

Industry: eCommerce: Payment Processing, Fulfillment, Customer Support

Structure: Multi-entity, privately held, 30+ countries

Engagement: Late 2025 – March 2026


The Problem

A global eCommerce conglomerate routes all payment processor transactions through a proprietary internal platform, which feeds Microsoft Dynamics NAV as the ERP. Every month, the finance team had to reconcile every payment processor against the internal platform. They confirmed that all transactions were captured, that merchant deposit amounts matched NAV and that merchant account balances were accurate.

The process was entirely manual. A current-state discovery session documented how it worked.

The monthly consolidation took 3–4 hours and required copying a Mapped Trial Balance from Dynamics into a custom Excel workbook by hand. By month-end, the finance lead was re-importing data from Dynamics up to five times in a three-hour window, because late entries from teammates invalidated her work mid-process. The consolidation could not start until the prior reconciliation step was complete, and that step was consistently delayed by inconsistent data exports from the development team. A single person handled all bank postings for all entities, which pushed the close back 1.5–3 days per entity, every month.

Dynamics was underused. Bank reconciliations and balance sheet work were done in external Excel files, bypassing the ERP. P&L analysis required manual line-by-line cost classification in a separate workbook, because transaction descriptions in Dynamics were too vague to classify automatically.

The target: a 5-day close executed concurrently across sub-entities, with exception-based review replacing the brute-force manual process.


The Work

I led the engagement as part of the Stalliant team, covering scoping, process documentation, close infrastructure and coordination with the engineering team. Two Stalliant engineers built the technical components of the reconciliation engine.

Automated 3-Way Merchant Reconciliation Engine

The Stalliant engineering team built an Electron desktop application with a Python/Pandas backend to my specification. It replaced the manual merchant matching process.

The engine compares each payment processor's transaction data against the internal platform records at the gross level, classifies transactions into the correct accounting categories, then validates that platform totals agree to bank deposits. It was designed to move reconciliation from a monthly close activity to a daily process, with discrepancies appearing on an exception dashboard instead of being found at month-end.

The processors covered are PayPal (including chargeback categorization logic, confirmed against manual results), Stripe (transaction-level order ID matching), Braintree and NMI. NMI also served as the integration model for the Phase 2 expansion.

The finance team confirmed that the tool's output matched their manual reconciliation results. The code was delivered at v37 through Teams. The client owns it, and it has no proprietary dependencies.

Month-End Close Workbooks and Dynamics Connection

The close workbooks connect directly to Dynamics NAV, so GL and trial balance data is pulled live instead of exported and pasted by hand. That removed the repeated re-imports at the source. Standardized month-end close workbooks replaced the ad hoc Excel consolidation. Power BI was connected to Dynamics NAV with a twice-daily refresh, giving the finance team a live view of the GL without manual exports.

Current-State Documentation and Future-State Recommendations

Before any build work, I walked through the existing reconciliation and close workflow, covering every step, input source, bottleneck and compliance risk. I delivered four key findings to the client. The single-person bank posting bottleneck was the structural cause of close delays. Dynamics was underused, with its native bank reconciliation features unused. The P&L workbooks carried a risk from future-dated costs. And sequencing problems were the root cause of the month-end scramble, which made it a process design issue and not a capacity issue.

The proposed future state was exception-based review, Dynamics as the single source of truth for real-time collaboration across the accounting team, and flagging logic for prepaid and future-dated cost items.

Phase 2 Scoped

Expansion of the reconciliation engine to a second business unit and six additional payment processors: CBD, Coinflow, First Data, Fiserv Me, Fiserv VIP and Talus. The scope was documented for execution.


Outcomes

A 3–4 hour manual reconciliation replaced with an automated engine. It covers four payment processors. The 3-way match logic was validated against the existing manual process, and an exception dashboard replaced the month-end scramble with real-time visibility.

The copy-paste loop eliminated. The direct Dynamics connection removed the manual GL export step and the repeated re-imports. The finance team works from live data instead of exports.

Process root causes documented. The discovery and future-state deliverable set out for the client team what was broken, why, and in what order to fix it.

Phase 2 scoped. The expansion to the second business unit is documented for the client to execute.


Why It Mattered

This client runs multiple payment processors, a proprietary internal transaction layer and a central ERP, and its finance team was reconciling all of it by hand at month-end.

The engine uses a 3-way match, an exception dashboard and a daily refresh cadence. NMI served as the integration model for the six additional processors in Phase 2.


Engagement Lead: Michael Cohen (Stalliant team)

Engineering: Stalliant engineer 1 (API pipelines, processor integrations), Stalliant engineer 2 (Python backend, Electron/React application)

Stack: Python · Pandas · Electron · React · TypeScript · Microsoft Dynamics NAV · Power BI · Excel · Google Drive