H6.ai adopts Lakebase Postgres for AI invoice regression testing
Databricks reports that H6.ai has selected Lakebase Postgres as the core system of record for its AI-powered accounts-payable platform. Each customer receives a dedicated database containing financial context, while copy-on-write branches preserve invoice-processing states for repeatable regression tests that combine deterministic checks with AI judges. H6.ai says the setup lets production code paths run against copies of customer data without writing to live databases or customer ERPs.
The implementation offers a concrete pattern for testing AI-driven financial workflows against changing production data while preserving customer isolation and auditability, although the product details come from the vendors.
Traditional accounts payable and invoice processing tools often force companies into a trade-off: moving quickly using AI automation and risk losing control, or maintaining tedious manual oversight. H6.ai was founded to solve this problem.
H6.ai automates accounts payable on top of a company's existing ERP. It reads each invoice, matches it to a purchase order, assigns its lines to the right accounts and checks it against the company's own policies. Our approach combines AI-assisted understanding with approved, deterministic and auditable policy execution. Our challenge was finding a backend solution that could support frequent regression testing at scale.
The challenge: financial data never stands still
In this industry, no two customers look alike. Each has its own ERP, suppliers, purchase orders, chart of accounts and policies. Invoices range from a one-line service bill to documents with hundreds of lines.
And the data keeps moving. At 10 AM an invoice matches an open purchase order with enough quantity left. By the afternoon that order may be partly consumed, amended or closed. Process the same invoice again and the answer changes, even though our code has not.