Case study · Financial intelligence

One automated pipeline for three sources of truth.

A Swiss SaaS company ran its finances across Stripe, Qonto and Pipedrive — three systems that never agreed. We built one pipeline that pulls from all three, unifies every client, computes 30+ monthly KPIs, reconciles money against invoices, and checks the CRM's story against what actually hit the bank.

Sector B2B SaaS Stack Stripe · Qonto · Pipedrive Scope Financial data pipeline Output Analyst CSVs + HTML reports

Client anonymised. Figures below describe the delivered system, not the client's accounts.

The challenge

Four questions the numbers couldn't answer.

Each tool held part of the truth. None of them, alone, could answer the questions that actually run a business.

01

How much are we really making?

MRR, ARR, revenue, collections, churn — computed inconsistently across tools, never consolidated into one de-duplicated view.

02

Are we burning more than we earn?

No reliable burn rate, cash balance or runway — the numbers needed to know how long the company could operate.

03

Did every euro match an invoice?

Money landing in the bank was never systematically reconciled against the invoices that were issued.

04

Does the CRM tell the truth about churn?

Pipedrive's view of who had churned drifted from what Stripe and Qonto showed had actually been paid.

What we built

Twelve scripts, five stages, one command.

A single orchestrated run — parallel where it can be, fail-fast where it must be — turning three raw APIs into analyst-grade output.

Stage 01

API exports

Pull invoices, subscriptions, charges, bank transactions and CRM deals from each source — with rate-limit backoff, retries, and cents-level precision throughout.

StripeQontoPipedrive
Stage 02

Client unification

Link every Stripe customer to its Qonto identity through a four-pass match — manual overrides, exact email, exact name, then fuzzy name — giving each client one stable, cross-platform ID.

4-pass matchfuzzy ≥ 80%unified IDs
Stage 03

KPI engines

Compute 30 monthly KPIs twice — once from Stripe subscriptions, once from Qonto invoicing — so revenue, MRR and churn are cross-checked rather than taken on faith.

MRR / ARR / NRRquick ratioper-client breakdown
Stage 04

Reconciliation & consolidation

Match bank money-in to invoices with weighted fuzzy scoring, surface orphan transfers and unpaid invoices, and consolidate one monthly P&L with burn rate and runway.

bank ↔ invoiceburn & runwayconsolidated P&L
Stage 05

Cross-check & reporting

Validate the automated exports against the manual accounting ledger, build a human reconciliation worklist, and render stakeholder-ready HTML reports alongside the CSVs.

ledger cross-checkworklistHTML reports
The flagship control

Where the CRM and the bank disagree.

The centrepiece joins every CRM deal to its real money — reconstructing each client's true subscription state from Stripe and Qonto, and flagging four kinds of drift between what the CRM believes and what actually happened.

Silent churn CHURN_SILENCIEUX

The client stopped paying — subscription cancelled or payment failed — but it was never marked as churn in the CRM. Revenue quietly gone, still counted.

Missed re-invoice OUBLI_REEMISSION

Still "active" in the CRM, but coverage expired with no renewal issued — a client we simply forgot to re-invoice.

Charging after churn ENCAISSEMENT_APRES_CHURN

Marked churned in the CRM, yet Stripe or Qonto is still charging — a refund exposure and a trust risk with the customer.

Amount mismatch INCOHERENCE_MONTANT

The CRM's recorded MRR doesn't match what's actually being billed — a billing desync caught before it compounds.

Each alert is tagged expired or imminent, and migrations between Stripe and Qonto are detected so a client simply moving systems is never mistaken for churn.

0Sources of truth, unified
0+KPIs computed every month
0Categories of CRM-vs-reality drift caught
0Command to run the whole pipeline
Why it holds up

The engineering underneath.

Tri-source triangulation

Money (Qonto), subscriptions (Stripe) and intent (Pipedrive) reconciled against each other and the manual ledger.

De-duplication everywhere

Cross-platform clients counted once, through a stable unified client ID.

Decimal precision & timezone-correct buckets

Cents/Decimal maths and UTC→Europe/Paris conversion for clean month-end cutoffs.

Weighted fuzzy reconciliation

Bank matching scored on amount (50%), date (30%) and reference text (20%), with auto / suggest / orphan thresholds.

Migration-aware churn

Distinguishes a true churn from a client moving between Stripe and Qonto.

Human-in-the-loop overrides

Override files for the few cases automation shouldn't decide alone.

Individually, each tool was a blind spot. Connected and reconciled, they became a single source of financial truth — recomputed automatically, every run.
Your turn

Have a stack that doesn't agree with itself?

That's exactly the gap we close. Tell us where your numbers diverge and we'll map the first reconciliation.

Start a conversation →