• 2H → SEC

    Reconciling a business partner

  • +50,000

    Receipts posted in 20 minutes, without blocking the operation

  • +20

    Business partners in production, each with its own file format

HDI modernizes its collections on fifteen years of legacy

THE STARTING POINT.

  1. 2008

    HDI creates the receipt lookup

    HDI writes the core procedure of its receipt lookup. Its collections operation will grow on top of it.

  2. 2009–2016

    The system accumulates 30+ changes

    Different HDI developers sign off more than 30 changes on the same foundation.

  3. 2016

    HDI adjusts the system to sustain it

    HDI's developers add indexes so the system can handle the growing volume.

  4. 2024

    Emerald takes on the project

    In February 2024, HDI entrusts us with modernizing its collections, with a replacement under development that had not yet gone into operation.

THE MISSION.

Give HDI's collections a system that handles the volume of its operation.

Nearshore software development for your operation

Dark globe with Mexico highlighted in green. Bars of green pixel squares.
  • Income clean-up

    Income
  • Receipt lookup

    Reports
  • Business partner application

    Income
  • Payroll deduction and direct debit

    Income

UNDERSTAND FIRST.

Understanding the operation before rebuilding it

  1. 01

    Starting point

    Technical inventory

    We started with a technical inventory of the repositories and the database of the system we received.

  2. 02

    Diagnosis

    Reverse engineering

    We rebuilt the business logic module by module, from the code and in sessions with HDI's teams, including modules that were not visible in the system.

  3. 03

    Execution

    A working minimum in operation

    We cut the scope down to a working minimum and put it into operation, to measure progress with running software.

With that knowledge we proposed rebuilding the system. The most complex modules, business partners and payroll deduction, needed a new foundation.

USE WHAT ALREADY EXISTS.

Stop reinventing

+1,000

Lines of SQL assembled at the moment it ran

The filter was serialized to XML, travelled to the server, was taken apart there and concatenated into text variables. Impossible to index, because the query did not exist until it ran.

HDI had solved that problem in 2008, in the stored procedure its developers had spent fifteen years tuning.

A Roman bust integrated into a retro computer.

We didn't build a faster query. We stopped reinventing the one that already existed.

BACK TO THE FOUNDATION.

Twelve months to rebuild it

  • ~50

    Analysts and coordinators using it every day

  • 12 MONTHS

    Of rebuilding to take the complex modules to production

  • +10,000

    Agents with access to the portal

In June 2025 we began the rebuild with two advantages: the infrastructure already deployed and the domain knowledge from the months of stabilization.

2025

We rebuilt from the ground up

Business partners and payroll deduction, the most complex modules, now run in production.

First we built a base template: data access, email, notifications and errors with traceability. Then the modules, starting with the ones carrying the least business logic.

Insurance software development

Illustrative operations dashboard, with the day's indicators and recent shortcuts. Illustrative payment reconciliation screen, with its table of batches and statuses.

OPERATIONAL IMPACT.

What changed in the operation

Reconciling a business partner's receipts

The analyst received the client's file and checked it receipt by receipt, adding up by hand. In user testing, one analyst spent two hours on a single partner. Today the analyst uploads the file and the system checks it in seconds, with the discrepancies flagged and the totals calculated.

Posting receipts in bulk

Posting more than 50,000 receipts took over an hour and locked the table: the rest of the operation waited. Today it takes 10 to 20 minutes, without stopping the rest of the operation.

Collecting a premium with no reference

The agent would call or email a photo of the payment slip, and follow-up depended on email; resolving it took anywhere from a few hours to two days. Today the agent files the request from the portal with the slip attached and it is resolved the same day.

The scale

More than 20 business partners configured in production, each with its own file structure. A portal open to a roster of more than 10,000 agents. Around 50 analysts and coordinators working inside the system every day.

OPERATIONAL DISCIPLINE.

How we worked

  • 2D → MIN

    To rebuild the test environment

  • +300

    Versioned procedures, each with its execution plan

We wrote down HDI's database standard and codified it. We built a tool that checks every delivery against that standard before it is released.

OPERATIONAL AUTONOMY.

Today

The new collections system is now run by the HDI team. We stabilized it, rebuilt it and handed it over for their people to keep running.

Let's talk — 30 minutes
Illustrative payment reconciliation screen, with its table of batches and statuses. Illustrative panel of pending transactions. Illustrative closing summary panel for a batch.