Skip to content
ERP
EN
Sign in

Forecast vs. actual cash flow from accounts payable and receivable

How to build forecast and actual cash flow from the ERP's accounts payable and receivable, with filters by company, revenue and expense center and period, and why analysis should not compete with day-to-day operations for the production database.

Two pictures of the same money

Every finance manager lives with two questions: how much should come in and go out of the bank in the coming days, and how much actually did. The first is the forecast cash flow; the second, the actual. On their own, each tells only half the story. Side by side, they show where the plan went wrong, which customers paid late, which payments were made early and which forecasts never materialized.

The common mistake is to treat them as separate reports, built in different spreadsheets from data copied at different times. When the forecast comes from an export taken on Monday and the actual comes from Friday's bank statement, the gap between them mixes real variance with stale data. The comparison is only reliable when forecast and actual come from the same database, under the same criteria.

It all starts with payables and receivables

In the ERP, the forecast is already recorded: it is the open items in accounts payable and accounts receivable, each with a due date, amount, company, revenue and expense center and source document. A purchase invoice creates installments to pay; an invoiced order or a contract creates installments to receive. On top of that come expected inflows and outflows, entries that do not have a document yet, such as payroll, taxes and recurring expenses, which are closed when the actual document arrives.

The actual comes from settlements. When an item is settled, the settlement records the date and the amount actually paid or received, with interest, penalties and discounts, and the bank account involved. With bank reconciliation up to date, the actual side of the cash flow matches the bank statement, not just what someone remembered to settle.

That is why the quality of the cash flow depends less on the report and more on data discipline: correct due dates, a revenue and expense center assigned at entry, forecasts that are reviewed and settlements recorded on the day. An item without a center or a forgotten forecast shows up in the cash flow as money that does not exist.

Filters that answer management questions

With forecast and actual coming from the same items, filters start answering concrete questions. By company, the group follows each company through its own items, always within the permissions of whoever is looking. By revenue and expense center, at the two levels the ERP works with (CRD I and CRD II), management sees which area or unit drifted furthest from plan.

By period, the same cash flow can be read by day, so treasury can decide what to pay tomorrow, or by week and month, so management can anticipate working capital needs. Groupings by origin and by document type help separate operations from everything else: how much cash comes from billing, how much goes to suppliers, how much to taxes and payroll.

Questions like “how much of this week's expected revenue has already come in?” or “which expense center overshot its forecast this month?” no longer require a new spreadsheet for every meeting. They become a query with three filters.

Why BI should not weigh on the production database

The ERP database works all day long: it issues invoices, records receipts, generates bank files and moves inventory. A dashboard that recalculates years of history on every click, or a BI tool set to reload entire tables every fifteen minutes during business hours, competes with those operations for CPU, memory, disk and locks. The symptom shows up far from the BI: the invoice takes longer to go out, the settlement hangs, the cashier waits.

A few principles prevent the problem. Read only what is needed, with company and period filters and only the columns in use. Paginate and limit instead of fetching everything at once. Separate what rarely changes, such as screen definitions and reference data, from what changes all the time, such as open items and settlements. And schedule larger loads for suitable times and volumes, preferably incremental, bringing only what has changed.

That is how the GTI ERP web portal was designed. Screen and report definitions come from packages loaded on the server, and only the rows are fetched from the customer's database, with parameterized queries, pagination and limits. For BI tools, the read-only REST API, with OAuth2 and company scope, replaces direct database connections with a generic user. GTi iT Solutions works out with each customer which views need minute-by-minute data and which can be refreshed in batches.

Where to start

Before any dashboard, it pays to review the revenue and expense center structure with the finance team and to check that recurring forecasts are registered and that settlements and bank reconciliation are up to date. With the data in order, forecast versus actual cash flow stops being a month-end exercise and becomes a routine lookup.

GTi implements and supports the ERP, tailors reports and dashboards to the way each company works and brings these lookups to the browser through the GTI ERP web portal. Entries, settlements and bank files remain in the ERP, where the rules and the audit trail live.

Back to the blog

Shall we talk about how your company is managed?

Tell us how your operation works today. A GTI specialist will show you the way with GTI ERP.

Sign in to GTI ERP

Each company has its own address. Enter your company code — the name before .gti-erp.com in the address — and we will take you to the right sign-in page.

.gti-erp.com
Don't know the code? Talk to GTI.