# Multi-Entity Consolidated Financials

In a buy-and-build roll-up, every location is its own legal entity with its own QuickBooks — so any consolidated finance question means stitching instances together by hand. An agent works over a warehouse that unifies all of them: it reconstructs a signed general ledger from the raw accounting data (there's no prebuilt GL in the sync), consolidates it against a shared chart-of-accounts map, and both answers cross-entity questions and drives a dashboard app — TTM tiles, net margin by location, P&L by caption with monthly columns. What took a manual stitch across six QuickBooks files is one query.

- **Industry:** Financial Services
- **Business function:** Finance & Reporting
- **Stage:** Run the Business (Monitoring, compliance, reporting, and intelligence)
- **Status:** In progress
- **Added to catalog:** 2026-07-16
- **Web page:** https://www.asterlabs.ai/catalog/multi-entity-consolidated-financials

## Trigger

Deal team asks a consolidated financial question, or the monthly dashboard refresh runs

## Inputs

- Raw per-entity QuickBooks data (6 instances)
- Consolidated account-mapping file
- Reconstructed general ledger
- Natural-language finance questions

## Outputs

- Consolidated P&L by caption (monthly)
- TTM KPI tiles & net margin by location
- Dashboard app
- Ad-hoc cross-entity answers

## Integrations

- Snowflake
- QuickBooks

## Under the hood

- A signed general ledger is hand-reconstructed from the raw QBO API entities — the sync ships transactions, not a GL — then rolled into a consolidated P&L; ~99.8% of P&L dollars map cleanly
- The account-mapping join keys on the parsed account-name prefix because QBO's account numbering is unreliable (the number lives inside the name), across a 242-row consolidated chart of accounts
- One agent both answers cross-entity finance questions and drives the dashboard app, so the same consolidated model serves ad-hoc analysis and the standing report
- The warehouse exists because direct multi-instance QBO querying burned ~5x the tokens and steps — consolidating once into Snowflake is the fix
- Known-limitation honesty is built in: the payroll clearing account is excluded and footnoted, and per-entity numbers are validated against QBO before the dashboard is trusted
- The agent checks how fresh the synced accounting data is before answering and treats the current month as open, so a stalled upstream connector produces a warning rather than a partial month reported as complete

## Reference customers

- **Pool services roll-up**: Pool-services buy-and-build — consolidated financials across multiple separate-entity QuickBooks instances. Impact: Warehouse, agent and dashboard shipped; the deal team uses the agent for location-level service margins, with per-entity validation continuing before operations data is layered in.
