Case study
Financial analytics that turns small-business accounting data into statements, ratios, forecasts, valuations, and AI-assisted explanations.
BizAnalyzer is the flagship app of 2diff.io, the financial-analytics platform I founded and build through my company, Second Difference Solutions. It connects to a small business's QuickBooks Online account with read-only access and turns raw accounting data into standardized financial statements, ratios, forecasts, goals, business valuations, and plain-language commentary.
I own it end to end: discovery, architecture, backend, the AI layer, billing, and deployment. Financial calculations and generated commentary need different checks, and both need to be traceable to the underlying accounting data.
My compliance background informs the validation approach. The pipeline includes monthly-to-annual reconciliation with a defined tolerance to detect parsing or classification drift. Those checks help identify inconsistencies; they do not make every source record or generated explanation correct.
Small-business owners live inside QuickBooks but rarely get analysis out of it. Turning bookkeeping into decisions has historically meant hiring a consultant or a fractional CFO, which most owners cannot justify.
The hard part is not the dashboard, it is trusting the numbers. Every business names its accounts differently, so two companies with identical economics produce completely different report JSON. And an AI that confidently invents a dollar figure on a financial statement is worse than no AI at all.
The core is a layered financial pipeline: standardize the statements, derive the ratios, manage the periods. It normalizes inconsistent QuickBooks report JSON into one comparable model and is validated against real multi-year datasets, including a check that the monthly figures reconcile back to the annual statement.
Above that sits a multi-provider AI layer over Claude, OpenAI, and Gemini, with an anti-hallucination contract: the model receives a structured financial context and is instructed to omit what it does not have rather than estimate it. The platform runs serverless on Firebase and Google Cloud with Python Cloud Functions, encrypted OAuth tokens, Stripe billing, and a static-export Next.js front end.
The parts worth pointing at
Where the engineering decisions actually mattered.


Matthew Dettman is a graduate of the Goldman Sachs 10,000 Small Businesses program, which trains small-business owners on the same kind of financial fundamentals BizAnalyzer is built around.
Open the free demo, review the financial statements, and compare an AI explanation with the sample numbers. No account connection is required.