Franco Nidea

Deep dive · Stripe reconciliation

Inside the 16 checks

The work described here is at TixTrack, where I'm a Senior Financial Analyst.

The console I built to replace KNIME runs 16 checks before it lets me export a journal entry. Most of them are checks I was still doing by hand every week, even with KNIME running. It's still in testing.

Why checks

KNIME got our weekly Stripe reconciliation from 4 hours a week, and 6 at month end, down to under 30 minutes. But I still checked the output by hand every week, because nothing in the run did those checks for me.

The hand-typed dates showed why that mattered. One booked week had an extra day in each week range, a day that had already been booked.

So when I specified the console, most of the checks I'd been doing in my head went into it, and now they run every time. There are 16, and it won't let me export until they've all run.

The 16 checks

I think of them as four questions. Each check answers one of them.

Is everything here?

Six checks make sure nothing is missing before anything gets added up.

Does it add up?

Could it post wrong, or twice?

Does it look normal?

← Back to the deep dive

Deep dive · Stripe reconciliation

Every check the console runs before it lets me export, grouped by the question it answers, with the results from one real week.

From a real run · client data removed
Weekly payout console
WEEK ENDING SEP 20, 2026
14 PASS · 1 WARN · 1 OVERRIDE

Is everything here?

  • Pass Source view is completeEvery category in Stripe's ledger is declared, and no fee-bearing transaction is missing
  • Pass Source population accounted forEvery category the query returns is declared, and its cost matches
  • Override No uncategorized feesEvery cost row lands in a bucket. Overridden this week: a $0.03 fee with no account
  • Warn No unattributable network costCost Stripe sends with no client posts to the platform line
  • Pass Every account has a NetSuite nameNo client's cost posts without a name
  • Pass Retention invoices suppliedThe week's retention invoices are in

Does it add up?

  • Pass Journal entries balanceDebits equal credits in every entry
  • Pass Cost reconciles to sourceJournal lines add back to the Snowflake cost total
  • Pass Entity allocation tiesPlatform cost splits across entities with nothing created or lost
  • Pass Retention matches the rec sheetClient by client

Could it post wrong, or twice?

  • Pass Nothing already accruedEvery row checked against earlier runs by Stripe's own row ID
  • Pass No cost on a provisional accountA placeholder account is not a mapping
  • Pass Entity validatedChecked against journal entries already posted
  • Pass No open findingsNothing recorded as looking off this week

Does it look normal?

  • Pass Cost/revenue ratio is plausibleA big move means cost and revenue disagree about the week
  • Pass Cost composition is stableNew, vanished or shifted cost types get flagged

All 16 checks, named as the console names them, with their results from the run for the week ending September 20, 2026. No client data is shown.

All 16 checks, grouped by the question each one answers, with the results from the run for the week ending September 20. No client data is shown.

One real week

The week ending September 20 is the one I have a full run for. 14 checks passed, 1 warned and 1 was overridden.

The warning was network cost that couldn't be tied to a client. Stripe doesn't send all of its fee data into Snowflake, so some fees can't reach a client at the line level. The console posts those to the platform line with no client name and warns me about it, instead of guessing.

The override was an uncategorized fee of $0.03. When a check gets overridden, the reason is written into the run log right next to the numbers it excused.

The reason on this one said to map the fee to an account. Writing that down doesn't map it, though. The fee stayed unmapped and unbooked, and that check will keep failing every week until the mapping gets added.

Replaying a week

Every run saves the exact data it used with a fingerprint, 581 rows for the week ending September 20. Snowflake keeps changing, so without that snapshot I couldn't go back to a week and get the same answer.

The same run checked 228,255 new rows against earlier runs by Stripe's row ID, and none of them had been accrued before.

To test the snapshot, Claude rebuilt the journal entries from it separately, client by client for each payout window, and compared them with the import file. 14 of 16 groups matched to the cent. The other two were the $0.03 fee with no account mapped and $0.01 of rounding.

The extra day

Run in parallel with the manual process, the console exposed an error in one week's booked entry. Hand-typed date windows had given each week range an extra day that was already booked. I flagged it and it got fixed.

← Back to the deep dive

Deep dive · Stripe reconciliation

Hand-typed date windows gave each week range an extra day that had already been booked. The console showed it when it ran next to the manual process.

Illustration · not the real dates

Last week, bookedSeven days

MonTueWedThuFriSatSun

This week, as it should beSeven days

MonTueWedThuFriSatSun

This week, as typedEight days. The first one is already in last week

Sun booked twiceMonTueWedThuFriSatSun

Booked last week This week Booked twice

An illustration of the pattern. The real week and amounts are not shown.

An illustration of the pattern, not the real dates: each week range picked up a day that was already in the week before.

Designed, not built yet

Two parts of the design aren't in the console yet. Both are in progress.

Limits and what's next

How these numbers are sourced

Parsed from the console itself: the 16 checks and what each one tests, from the console page with names and amounts replaced. From its run for the week ending September 20: 14 passed, 1 warned and 1 overridden, the override reason in the run log, the 581-row snapshot and its fingerprint, the 228,255 new rows and none already accrued, the six files and the posting phase that isn't built. The rebuild of 14 of 16 groups to the cent was recomputed by Claude from that run's snapshot.

From the design spec: the thresholds that start unset and block posting, and the approval step.

My own account: the 4 hours a week, 6 at month end, and under 30 minutes, that most of the checks were ones I still did by hand, that the console is in testing and matches what was booked, the fees that can't reach a client, the extra day and that the thresholds and approval step are only designed so far. Claude wrote the code.

← Back to the Stripe reconciliation case study