Blog · 24 November 2026 · 1 min read
The CFO and the dashboard disagree. Here is every euro of the difference
€1,207,466.29 versus €1,259,490.39 for the same month. Rebuilding both numbers from three systems and explaining the €52,024.10 gap down to €0.00.
Project: Revenue Reconciliation · live dashboard
The CFO says October revenue was €1,207,466.29. The sales dashboard says €1,259,490.39. Both teams think they are right. This project finds out who is, and why.
Click through the bridge in the interactive report to see the orders, payments and refunds behind every bar.
Rebuild both numbers first
Arguing about the totals goes nowhere. Instead, both numbers are rebuilt from the three source systems: the shop, the payment provider and the refund tool. Once the pipeline can reproduce each team's figure exactly, the difference stops being an opinion.
Match every order, label every difference
Each order is matched to its payments and refunds in dbt. Whatever does not line up gets a label. Seven labels explain the whole gap:
- failed payments counted as sales
- timing lag between order and payment
- a timezone shift at the month boundary
- duplicate orders
- currency conversion (FX)
- two different refund cases
Rows that cannot be matched land in their own bucket. Nothing disappears quietly.
A bridge that must close
The result is a bridge from one number to the other: €52,024.10 explained, €0.00 unexplained. That zero is not a hope. A dbt test fails the build if it is anything else.
Two ways to read it
A static report on GitHub Pages for people who want a document, and an interactive app for people who want to dig into line items.
What I would do differently
I would agree on the timezone for "October" with finance before writing any SQL. It was the smallest label and took the longest to find.