A row of data centre server racks with red and blue cabling

Snowflake · Reconciliation

Snowflake Finance Reconciliation:
AI Agents for Data Cloud Finance Teams

Snowflake is where finance data lands and gets queried. The posting that changes the accounts still happens in the ERP.

Key takeaways
  • Snowflake is the finance data layer and the ERP stays the system of record. A correction written back into Snowflake changes a dashboard, not the books.
  • Matching at scale runs in four passes: exact key, tolerance, grouping, residual. The residual is the exception queue and the honest measure of a run.
  • A stream on the source table turns a nightly full match into a delta match, and its offset advances only on consumption by a DML statement.
  • Clone the source at the cutoff with zero copy cloning and reconcile the clone, so late rows stop moving the answer.
  • ChatFin runs on a scoped Snowflake role and its own warehouse, matches there, then posts through the ERP interface with a named approver.

Snowflake is where finance data lands and gets queried. Finance work does not finish there, because the entry that changes a reported number still has to be posted in the ERP. An agent closes that distance. It reads the consolidated ledger, subledger detail and bank feeds out of Snowflake at full row depth, runs the matching, builds an exception queue, then writes the correcting journal through the ERP’s published interface under a named approver. ChatFin runs that pattern.

What follows covers how matching behaves at millions of rows and the Snowflake objects that make a reconciliation defensible: roles and grants, warehouses, secure views, row access policies, streams and tasks, and a zero copy clone as the point in time population. ChatFin appears throughout, including the estates it is the wrong answer for.

SnowflakeReconciliationData CloudGeneral LedgerRow Access PoliciesStreams And TasksCash ApplicationAudit Evidence

01

What finance teams actually build in Snowflake

Four things, arriving from different systems on different schedules. Every reconciliation argument on a Snowflake estate traces back to one of them loading later, or keyed differently.

What lands in Snowflake What finance does with it
Consolidated ledger across entities Group reporting and entity to entity checks the ERP cannot run, because the entities sit in separate instances
Subledger detail Subledger to general ledger tie out at full row depth, not on a summarised balance
Bank and payment feeds Cash reconciliation, unapplied cash, settlement timing differences
Sales and usage data Revenue support, billed to earned comparison, credit and rebate accruals

Scale and history are the real gain. A team can query seven years of journal lines in one pass. The ERP exports that a period at a time.

In ChatFin

Reading is the easy half and Snowflake is good at it. The ChatFin agent takes the view an analyst would take, at row counts nobody can open.

02

A query result is not a posted correction

The distance between finding a difference and clearing it is the whole problem. A reconciliation query returns 812 unmatched rows worth 1.4 million. Nothing in the accounts has changed, and the trial balance stays where it was until somebody posts in the ERP.

Writing the answer back into Snowflake feels like finishing, and it is the most common way a Snowflake finance project stalls. The copy sits downstream of the ledger. Correcting it produces a dashboard figure the ERP cannot reproduce, and the next replication run overwrites it or leaves two versions standing.

The ERP stays the system of record. Journal, audit trail, period lock and statutory reporting live there.
Write back into Snowflake is a reporting artifact. An exception queue, a match key, a status column. Not a posting.
The two directions are not symmetric. Read wide from Snowflake, write narrow to the ERP through the interface a person would use.
Reading millions of rows is table stakes. Posting the correction is what shortens a close.
In ChatFin

ChatFin reads from Snowflake and writes to the ERP, then returns the evidence to Snowflake as a table. It does not post journals into Snowflake and call the difference cleared.

03

Reconciliation at Snowflake scale, and what breaks first

Matching gets easier as volume rises, then much harder. Roughly four rows in five clear on an exact key in seconds. The residual is where the month goes.

1

Exact pass

Join on the strong key. Payment reference to invoice number, bank transaction identifier to cash journal reference. Mark and set aside.

2

Tolerance pass

Same counterparty and currency, amount inside a stated tolerance, date inside a stated window. Write the tolerance as a number the auditor can read.

3

Grouping pass

One receipt against many invoices, or many against one. A naive join explodes here, so bound the candidates by counterparty and date first.

4

Residual

Everything left. The exception queue, the only output a controller reads.

Two Snowflake mechanics decide whether that sequence is affordable. Compute is separate from storage, so the agent runs on its own virtual warehouse with auto suspend on and stops charging when the queue empties. And a stream on the source table lets each run consume only the rows that changed since the last offset. A standard stream exposes METADATA$ACTION, METADATA$ISUPDATE and METADATA$ROW_ID, and its offset advances only on consumption by a DML statement, so a task merging into the exception table advances it once.

Delta matching on a stream stops the run scaling with the ledger and starts it scaling with the size of the day.
In ChatFin

ChatFin counts each pass separately, because a controller wants to know how many items cleared on tolerance rather than on the key.

04

The exceptions that decide whether the match was any good

Sample the residual before believing a match rate. Four patterns show up on almost every Snowflake estate, and each defeats a different part of a matcher.

The remittance with no invoice numbers. One receipt covering forty one invoices, three of them short paid, with the advice sitting in a PDF nobody loaded. The subset that sums to the cash has to be found.
The credit memo on the wrong side of an intercompany pair. Entity A raised it, entity B should have. Both balance alone and the pair will not eliminate, so the ERP never flags it and the consolidated view does.
The bank line that reposts under a new reference. Same value date, same amount, new transaction identifier after a format change. An exact key match creates a second unmatched row instead of recognising the first.
The rate difference that is not an error. The subledger converts at the transaction date rate, the general ledger revalues at period end, and the residual belongs in a revaluation entry.

That last one tests any tool. An engine that pushes every translation difference to a person moved the work from finding differences to sorting them.

In ChatFin

ChatFin classifies the residual before showing it: probable timing, probable translation, probable duplicate, unexplained. Only the last is new work.

05

A worked example, with the arithmetic showing

A customer sends one payment of 486,215.40. The open receivables detail in Snowflake holds 41 invoices for that customer totalling 489,067.65. The remittance does not say why the two differ.

489,067.65
Open invoices in the subledger
486,215.40
Cash actually received
2,852.25
Difference to explain

Bounded by customer and a sixty day window, the candidate set is small enough for Snowflake to resolve the subset arithmetic in one query. It breaks into three parts.

Component Amount What it actually is
Settlement discount on two invoices 1,910.00 Taken at 2 percent on two invoices paid inside terms. The contract allows it and nobody recorded it on the ledger side
Short payment on a freight line 742.25 A charge the customer has queried in writing. A live dispute, not a reconciliation difference
Correspondent bank deduction 200.00 A fixed charge taken in transit. On the bank feed, absent from the subledger

1,910.00 plus 742.25 plus 200.00 is 2,852.25, so the payment is fully explained and the invoices close. What follows is three decisions, not one.

1

What the agent prepares

Cash application across all 41 invoices, a discount write off of 1,910.00, a bank charge posting of 200.00, and a dispute record of 742.25 left open.

2

What it shows alongside

The terms behind the 1,910.00, the bank feed row carrying the 200.00 and the written query behind the 742.25, each linked to its Snowflake rows.

3

What the person approves

The write off and the bank charge, individually. The dispute is not a posting.

In ChatFin

ChatFin routes the two postings to a named approver. It does not close the dispute or net the 742.25 against the discount to make the reconciliation look tidy.

06

Governance, stated in Snowflake objects rather than adjectives

Ask any vendor which Snowflake objects the agent touches and what its role may do at worst. The answer should be specific enough for an administrator to write the grants from it.

A dedicated role. Privileges attach to roles and roles attach to users, so the agent gets SELECT on the finance schemas it needs and nothing above them. If everything runs as ACCOUNTADMIN, no log repairs that.
Its own warehouse. Compute is separate from storage, so the agent’s spend is separately metered and separately suspendable. A team that cannot see what the agent costs switches it off for the wrong reason.
Secure views. A secure view hides its definition from roles that do not own it and stops the optimizer reordering predicates in ways that leak filtered rows. The right trade on payroll data.
Row access policies for entity scope. A schema level object deciding which rows a role sees on SELECT, UPDATE, DELETE and MERGE, attached with a WITH ROW ACCESS POLICY clause at create time or later with ALTER TABLE.
The read trail already exists. ACCOUNT_USAGE holds QUERY_HISTORY and ACCESS_HISTORY for a year, with some latency. INFORMATION_SCHEMA gives current metadata with none.

Row access policies and ACCESS_HISTORY need Enterprise Edition. Confirm the account edition before designing a control on either.

A person typing on a laptop beside cash and a calculator
Which role, which warehouse, which views. That is the governance question.
In ChatFin

ChatFin runs on a scoped Snowflake role against its own warehouse, and the ERP side carries its own approval step. Two permission systems, neither bypassed by the other.

07

Freezing the population so the answer stops moving

Reconciling a table that is still loading gives a different answer every run. Zero copy cloning fixes that. CREATE TABLE with a CLONE clause and an AT or BEFORE Time Travel qualifier returns the source as it stood at a stated moment, and clones share the underlying storage, so taking one duplicates nothing.

Clone at the cutoff, reconcile the clone. Late arriving rows land in the live table and leave the reconciliation alone, so tomorrow’s rerun reproduces tonight’s numbers.
Grants do not travel. A clone inherits no privileges unless you clone with COPY GRANTS, and the reviewer cannot open the snapshot.
The cutoff has limits. Cloning fails if the source did not exist at that moment or if retention no longer covers it.

Pair the clone with a stream and a task and the pattern closes. The clone fixes what was reconciled. The stream records what changed since. The task runs the delta match and merges the outcome into the exception table.

A reconciliation nobody can reproduce is not evidence. A clone at the cutoff makes it reproducible on demand months later.
In ChatFin

ChatFin records the clone name and the cutoff in the run record, so the same reconciliation reopens during the audit against the population it was actually run on.

08

Where ChatFin fits, and where it does not

ChatFin is an AI agent platform for enterprise finance. On a Snowflake estate it reads the consolidated ledger, subledger detail and bank feeds, runs the matching passes there, and writes correcting entries into the ERP through a published interface with a named approver on each. It covers NetSuite, Acumatica, JD Edwards, SAP and Dynamics 365.

Situation Honest answer
Several entities in Snowflake, one ERP instance each The strongest case. The consolidated view exists only in Snowflake and the posting only in the ERP
Bank and payment feeds the ERP never sees Strong. Cash reconciliation improves at once, because both sides become visible together
A nightly copy of one ERP with no key back to the source document Weak. The agent finds the difference and cannot post it safely. Fix the keys, or connect to the ERP directly
Closed write interface or unreliable master data ChatFin underperforms and we say so during evaluation

The category argument sits in ERP AI agents and finance automation. The process detail is on reconciliation automation, and the evidence question in AI for controllers.

In ChatFin

The dependency list is short. Usable master data, a governed ERP write interface, and a Snowflake role scoped to the finance schemas. Fix a missing one before buying an agent.

“

A reconciliation query returns 812 unmatched rows and nothing in the accounts has changed. The trial balance moves when someone posts, not when someone queries.

Ashok Manthena

Where to read next

This page covers the Snowflake side and the boundary. The posting side and the evidence side sit one level down.

By layer

Data platform, agent, ERP
What each layer owns, and why the write stays in the ERP.
By process

Cash application, subledger tie out, intercompany
The three that gain most from Snowflake scale.
By evidence

Run record, approver, passed adjustments
What an auditor asks for, and what a run must carry.

See the passed adjustments log for the evidence argument, flux and variance commentary for the reporting layer above reconciliation, and AI agents for finance for the category.

Questions buyers ask first

Can an AI agent reconcile financial data directly in Snowflake?

Yes for the matching, no for the posting. Compute is separate from storage, so the agent runs on its own warehouse, and a stream on the source table lets each run consume only the rows that changed since the last offset. Snowflake cannot post the correcting entry, because the journal, the period lock and the audit trail live in the ERP. ChatFin runs the matching passes on Snowflake and sends the entry to the ERP through its published interface, under a named approver.

Does ChatFin write results back into Snowflake or into the ERP?

Both, for different things. Postings go to the ERP: cash application, write offs, accruals and corrections, each approved by a named person first. Evidence goes back to Snowflake: match keys, the classification of every residual item, the exception queue and its status, the approver and the timestamp. That split keeps one system of record while making the run queryable beside the data it read.

What Snowflake permissions does a finance reconciliation agent need?

A dedicated role with SELECT on the finance schemas it reads, its own virtual warehouse so its compute is separately metered and can auto suspend, and write access limited to the schema holding the exception and evidence tables. Where entity scope matters, a row access policy restricts which rows the role sees on SELECT, UPDATE, DELETE and MERGE, and secure views hide view definitions from roles that should not read them. Those need Enterprise Edition.

How ChatFin works on Snowflake

Read at Snowflake scale. Post through the ERP. A person approves.

ChatFin connects to Snowflake on a scoped role against its own warehouse, clones the source at the cutoff, and runs the exact, tolerance and grouping passes across the consolidated ledger, subledger detail and bank feeds. The residual comes back classified.

Correcting entries go to the ERP through its published interface, one approver per posting, across NetSuite, Acumatica, JD Edwards, SAP and Dynamics 365. The match keys, the approver and the run record return to Snowflake as tables your auditors can query.

Ask any vendor to show a posting reaching the ERP from a Snowflake query. That request separates a shortlist fast.

Book a demo

AM

Ashok Manthena
CEO and co founder, ChatFin

Ashok Manthena is the CEO and co founder of ChatFin, an AI agent platform for enterprise finance that runs across NetSuite, Acumatica, JD Edwards, SAP and Dynamics 365. He works with CFOs and controllers on governed automation of the close, payables, receivables and reporting. Connect on LinkedIn.

Image credits. Header photograph: a row of data centre server racks with red and blue cabling, sourced from Pexels and used under the Pexels licence.
Section photograph: a person typing on a laptop beside cash and a calculator, sourced from Pexels and used under the Pexels licence.
All images are served from the Pexels content network. No third party product screenshots, vendor logos or licensed media are used on this page.
Get started

Bring your worst reconciliation, not your cleanest one.

Send the schema names, the row counts and the exceptions your team finds hardest. We answer in writing, naming the Snowflake objects the agent reads and the ERP interface it posts through.

✓A named Snowflake role and warehouse scope, written down first
✓A match run on your own population, residual included
✓A straight answer on whether your estate supports a governed write
Request a demo

Confidential & private