Back to all projects
Summer 2026Automation / internal tooling

Billing Automation

An internal tool that takes a six-day manual invoice generation process down to about 20 minutes, across four products (CORE, IDComply, GeoGuard and Pre-Check). It reaches about 96% accuracy today; the team is working toward 100% before it replaces the manual process.

A GeoComply invoice with the customer details and amounts blurred out

01 The problem

What was the problem you were asked to solve?

The finance team depended on the BI team to export data from Databricks, then built the invoices using a lot of Excel files. We were also never able to give clients an estimate, because the process was so involved — all the information lived in different places: Databricks, NetSuite, Google Drive and other resources.

02 What they built

What did you actually build?

Billing Automation is built in Python and TypeScript. Through the interface a user can pull usage for a given period and generate an invoice in one click, store the invoice, check the terms that were applied, and use a chatbot to interact with it all.

It runs as a proper internal tool for the finance team rather than a script someone has to remember how to call. You start by choosing what you are invoicing — either by product, or, when that is simpler, by customer, so everything a client is billed for is pulled and invoiced in a single run.

From there it is a short form: pick one customer or several to pull them together, set the start and end of the period, and let it run, with a progress bar while it works. Generating an invoice and reviewing the basis for it sit alongside each other, so the number and the reasoning behind it are in the same place instead of in two different systems.

Pulling a period's usage — one customer or several together — with progress as it runs.
Pulling a period's usage — one customer or several together — with progress as it runs.
The starting point: pick what you are invoicing, or switch to billing a client across everything at once.
The starting point: pick what you are invoicing, or switch to billing a client across everything at once.

03 The result

What was the outcome?

A six-day invoicing process, down to 20 minutes.

In pilot use today, ahead of replacing the manual process.

More from the Lab