
Backtesting the Cash Forecast You Published
Every treasury team publishes a forecast. Very few go back and measure how wrong it was, at which horizon, and because of what. That measurement is where accuracy actually comes from.
Backtesting a cash forecast means comparing each published forecast against what actually happened, at each horizon, broken down by driver. The standard measure is mean absolute percentage error at fixed horizons such as week one, week four and week thirteen. The point is not the score itself. It is identifying which specific driver, customer or category is responsible for the error, because that is the only thing you can act on.
- A forecast that is never scored cannot improve. Most teams publish weekly and compare nothing.
- Measure error at fixed horizons rather than in aggregate. A forecast that is accurate at week one and useless at week eight has a specific, fixable problem.
- Decompose the error by driver. Collections timing, payables timing, payroll and one off items fail for entirely different reasons and need different fixes.
- Bias matters more than magnitude. A forecast that is consistently five percent low is more useful than one that is randomly two percent out, because bias can be corrected.
- ChatFin holds the forecast versions alongside actuals, quantifies the error by driver, and drafts the written explanation behind each variance.
There is a version of treasury work that looks productive and improves nothing. Publish the forecast on Monday, watch reality diverge from it all week, publish a new one the following Monday.
The old forecast is never scored. The reasons it was wrong are absorbed into the new one implicitly, through the forecaster's memory of what went badly, which means the model improves only as fast as one person's recall and degrades the moment they change role.
Backtesting turns that into something systematic. It is not a sophisticated exercise. It requires keeping your forecast versions, comparing them properly to actuals, and being specific about which part was wrong. This page sets out the method, the measures worth using and the traps that make backtesting look good while teaching you nothing.

Why almost nobody does this
The obstacle is usually not willingness. It is that the old forecasts no longer exist in a comparable form. The model is a spreadsheet that gets overwritten each week, so last month's week four view is gone, and with it any possibility of asking how good it was.
The second obstacle is that comparing to actuals is genuinely fiddly. The forecast is built by driver and category. The actuals arrive as bank transactions and ledger postings in a different shape. Mapping one to the other for a single week is an afternoon of work, and doing it for thirteen weeks across several entities is why the exercise gets postponed indefinitely.
Both obstacles are structural rather than analytical. Keep the versions and automate the mapping, and the analysis itself is straightforward.
The measures worth tracking
Two numbers do most of the work, and the second is more often neglected.
Absolute error by horizon
Mean absolute percentage error at week one, week four and week thirteen, tracked over time. These behave very differently and averaging them hides the story.
Bias
The signed average error. A forecast that is consistently low is systematically correctable. One that is randomly wrong is not, even at the same magnitude.
Hit rate on the decision
How often the forecast correctly predicted whether a facility draw would be needed. This is what the forecast is for, and it can be right when the numbers are somewhat wrong.
Volatility of the forecast itself
How much the week eight view moves each time it is republished. Large swings mean the model is reacting to noise.
Track all four monthly. The first tells you how good you are, the second tells you what to change, the third tells you whether it matters, and the fourth tells you whether the model is stable enough to trust.

Decomposing the error where the answers are
An aggregate error number is a scoreboard, not a diagnosis. The useful step is splitting the variance into the drivers that produced it, because each one fails for a different reason and takes a different fix.
In most first backtests, collections timing accounts for well over half the total error. That is good news, because payment behaviour by customer is one of the more learnable patterns in finance and is exactly what cash flow forecasting agents address.
Three traps that make backtesting useless
It is possible to run this exercise thoroughly and learn nothing. Three mistakes account for most of it.
Comparing the wrong version
Scoring the most recently updated forecast against actuals measures nothing, because it already contains information from the period. Always score the version as published at the time.
Netting the errors
A large collections overstatement and a large payables overstatement can produce an impressive net figure while both drivers are badly wrong. Measure absolute error by driver, then net.
Restating actuals
Adjusting actuals for what should have happened, or excluding unusual items, makes the score better and the model worse. The unusual items are precisely the ones the forecast needs to handle.
Scoring too rarely
An annual backtest produces a report. A monthly one produces a habit and a model that gets corrected while people still remember what happened.
The third trap is the most tempting because it feels like fair adjustment. Resist it, and record the unusual items separately instead so the pattern in them becomes visible over a year.

Where the tooling sits
Treasury and cash management platforms have improved substantially on forecast building. Kyriba and GTreasury support scenario modelling and multi entity consolidation. Trovata and Agicap connect directly to bank APIs and give strong actuals visibility with far less setup. Most now offer some form of accuracy reporting.
What varies is version retention and driver level decomposition. Comparing a stored forecast against actuals requires the platform to have kept every published version and to map actuals back to the driver categories the forecast was built from. Where the forecast is assembled in a spreadsheet outside the platform, which remains extremely common, none of that exists.
The explanation always requires the ERP detail, which is why ChatFin runs this against live ledger data rather than against a summarised feed, in the same way it supports treasury automation.
How ChatFin scores and explains the forecast
ChatFin keeps each published forecast version and compares it against actuals as they land, without anyone rebuilding the mapping each cycle. Because it reads the ERP directly, the actuals arrive with the invoice, customer and category detail attached rather than as bank totals.
The analytics agent quantifies the error at each horizon and splits it by driver. The pattern recognition agent identifies which customers and vendors are behind the timing error and how their behaviour differs from the assumption in the model. The conversational finance AI layer then answers the question a treasurer actually has, which is why week six was wrong rather than by how much.
| Version retention | Every published forecast kept and comparable against actuals at each horizon |
| Reconciliation agent | Maps actual receipts and payments back to the forecast driver categories automatically |
| Analytics agent | Calculates absolute error and bias by horizon and by driver, tracked over time |
| Pattern recognition | Identifies the customers and vendors driving timing error and their actual behaviour |
| Governed write back | Prepares updated payment behaviour assumptions for the treasurer to approve before they apply |
The last row matters. Model assumptions are not silently updated. The agent proposes the revised assumption with the evidence behind it, and a person accepts or rejects it, which keeps the forecast something the treasurer owns.

Running your first backtest this month
You need one thing to start, which is a set of previously published forecasts. If those no longer exist, start retaining them this week and run the first backtest in six.
Recover the versions
Find the forecasts published over the last three months as they were published. Do not use an updated file.
Fix the horizons
Pick week one, week four and week thirteen. Score each published forecast at each of those points against actuals.
Split by driver
Break every variance into collections timing, collections amount, payables timing, payroll and one off items. Do not net them.
Act on the largest driver only
Take the single largest component and fix that one assumption. Fixing everything at once means learning nothing from the next cycle.
Then repeat monthly. The value comes from the series, not from any single run, and the second backtest is always more informative than the first because you can see whether your correction worked.
A forecast that is consistently five percent low is more useful than one that is randomly two percent out. Bias can be corrected. Noise cannot.
ChatFin
Frequently Asked Questions
How accurate should a 13 week cash forecast be?
Accuracy expectations should differ sharply by horizon rather than being set as a single target. Week one should be close to exact because most of it is already known, and error there points to a data or process problem rather than a forecasting one. Accuracy degrades naturally further out, and the useful benchmark is your own trend over time rather than an external figure, since the mix of drivers varies enormously by business model.
What is the difference between forecast accuracy and forecast bias?
Accuracy is how far off you were, measured without regard to direction, usually as mean absolute percentage error. Bias is the direction of the error on average. A forecast that is always low has poor bias and can be systematically corrected by adjusting the assumption causing it. A forecast that is off by the same amount in random directions has an accuracy problem that no single adjustment fixes.
Why decompose forecast error by driver?
Because the aggregate number tells you nothing you can act on. Collections arriving late, collections arriving short, payment runs moving and one off items being mis dated are four different failures requiring four different corrections. Teams that decompose usually find collections timing dominates the total, which redirects the effort towards learning customer payment behaviour rather than rebuilding the model.
Can ChatFin improve cash forecast accuracy?
ChatFin scores each published forecast against actuals at fixed horizons and splits the error by driver, then identifies which customers and vendors are behind the timing variance based on their actual payment behaviour. It proposes revised assumptions with the supporting evidence, and the treasurer approves or rejects them. The improvement comes from correcting the model against measured evidence each cycle rather than from a black box prediction.
See ChatFin backtest your last three months of published forecasts.
ChatFin compares each forecast version against actuals at week one, week four and week thirteen, splits the error by driver, and identifies the customers and vendors behind the timing variance.
Revised assumptions are proposed with the evidence behind them and applied only when the treasurer approves, so the forecast stays yours.
Book a DemoBring three months of published forecasts.
ChatFin will score them against actuals at each horizon and show which driver produced most of the error, along with the customer level behaviour behind it.