Case study · HR outsourcing

Insurance invoices reconciled to the cent,without line-by-line checks.

An HR and payroll outsourcing firm manages benefits for 20 client companies, each with 10 to 300 employees. Every month, its coordinators checked the carriers' invoices line by line. We built an engine that runs the reconciliation on its own and only surfaces the discrepancies.

Client
HR and payroll outsourcing firm
Industry
HR services, payroll, employee benefits
Scope
Monthly reconciliation of insurance invoices
Volume
20 client companies, each with 10 to 300 employees
Time saved
About 30 hours per month (estimated)
Accuracy
100% of discrepancies flagged, 0.5% wrongly flagged

The challenge

Every month, coordinators checked each client's insurance invoices line by line. They compared three sources: the carrier invoice, the benefits enrollment system and payroll. It took 1 to 3.5 hours per client per month.

Each carrier used its own invoice format, and those formats changed when contracts renewed. Errors added up quietly. Some employees were billed for months after they left. Others were enrolled but never billed.

What we built

  • Automatic runs. Coordinators drop the month's files in a shared folder. The reconciliation starts on its own.
  • Exact matching. The engine reads each carrier's invoice and checks that every total ties to the cent before it compares anything. Then it matches every employee and every benefit across the three sources.
  • Clear results. A color-coded workbook goes back to the coordinator. Green matches. Yellow needs a look. Red is a real discrepancy, with the amount and the likely cause.
  • Month-to-month memory. The system tracks open issues from one month to the next. A retroactive credit closes an earlier red automatically.
  • Drafts for brokers. It drafts the follow-up emails. A person reviews and sends them.

A deliberate choice: no AI where the math has to be exact

The firm's policy was clear: no employee data goes into AI tools. We built a deterministic engine, hosted inside the client's own cloud. It makes no outside calls. Every number can be traced back to a line in a source file.

Results

  • 100% of discrepancies flagged. On six months of past data, the engine flagged every discrepancy the team had found by hand.
  • Only 0.5% wrongly flagged.
  • About 30 hours saved per month (estimated) across the client book.
  • Recurring billing errors surfaced, which the firm can now recover from carriers.

Stack: n8n, Python, Microsoft SharePoint, Microsoft 365 email, client-hosted cloud virtual machine.

This project falls under our service AI automation.

Go further

Keep reading.

Whenever you're ready

Still checking invoices line by line?

Book a 30-minute call. We look together at your recurring reconciliations and what can be automated, including without AI when the math has to be exact.