MSBA-322 · Lesson 9 of 12 · 21 min

Cash flow forecasting

▶ Video coming soon A video version of this lesson is on the way.

Cobalt Ridge has a revolving credit facility with its bank, and every Monday Ludovica had to tell Thandeka how much of it the companies would need over the next six weeks. In the old process she built that answer from four exports: open receivables, open payables, the purchase order backlog and the payroll calendar. The ninth session showed how cash flow forecasting in Finance builds the same picture from transactions already in the system, and where Ludovica's judgment still has to be added.

What cash flow forecasting does

Cash flow forecasting estimates future cash receipts and payments and the resulting balances of cash accounts. Setup has two parts: identify the liquidity accounts, which are the cash and cash-equivalent main accounts, and configure how each kind of transaction is forecast to affect them. Finance then projects each open or planned transaction onto a date and a liquidity account. The setup lives on the Cash flow forecast setup page.

Sources on the left feed a cash flow forecast calculation in the middle: open customer invoices, unposted sales orders and free text invoices, open vendor invoices, unposted purchase orders, future-dated ledger transactions, budget register entries, demand forecasts and external data. The calculation produces forecast inflows and outflows by date and liquidity account, which feed the Cash overview workspaces on the right.
What feeds the cash flow forecast.

What is included

Microsoft lists the transactions that cash flow forecasting can include: unposted sales orders and free text invoices, unposted purchase orders, open customer and vendor transactions, ledger transactions with a future posting date, selected budget register entries, selected lines from demand and supply forecasts, and, when configured, external data, project forecasts and payments to sales tax authorities. Posted vendor invoice register entries that aren't linked to a purchase order are included; when the invoice register is linked to a purchase order, it is included once the invoice approval journal is posted.

Setting up liquidity accounts

On the general ledger part of the setup, Ludovica selected the main accounts to treat as liquidity accounts: 101100 operating bank, 101200 foreign currency bank, 101300 payroll bank and 101400 lockbox. Bank accounts linked to those main accounts appear automatically. Dependent accounts add a forecast in another main account as a percentage of a primary account's cash flow, which is useful for amounts that follow sales automatically, such as card processing fees. Cobalt Ridge didn't need them at first.

Timing for receivables and payables

For accounts receivable and payable, setup depends on terms of payment, customer and vendor groups and posting profiles, all designed in MSBA-321. The purchasing and sales forecast defaults set the timing: the time between delivery or shipping and invoicing, the terms of payment, and the time between the due date and the actual payment. The terms default applies only when a transaction has no terms of its own. A default liquidity account for payments is set, and a percentage can limit how much of each amount is forecast; blank means the full amount.

Timing can be overridden by customer or vendor group, and the liquidity account by posting profile. That mattered for Cobalt Ridge, because its customer groups paid very differently. Ikenna's analysis for MSBA-321 had found that municipal customers paid on average 18 days after their Net 45 due date, mining customers 9 days late, and distributors, who had a cash discount, close to the discount date.

Payment delays by customer group used in Cobalt Ridge’s forecast.
Customer groupTypical termsDays after due date before payment (forecast setting)
MUNINet 4518
MINENet 30 or Net 60, 20 percent deposit on large orders9
DISTNet 30, 1/10 discountMinus 20 (most pay within the discount period)
MISCNet 305

Worked problem

Forecasting when a municipal invoice will be paid

CRCA invoices a municipal customer 186,000 on November 2, 2026 on Net 45 terms. The MUNI group setting adds 18 days after the due date. On what date does the forecast expect the receipt?

Show solution
  1. The due date is November 2 plus 45 days: November has 30 days, so 28 days take it to November 30 and 17 more reach December 17.
  2. Add the 18-day delay: December 17 plus 18 days is January 4, 2027.

Answer: The forecast shows an inflow of 186,000 on January 4, 2027, in the liquidity account set for the MUNI posting profile.

Budgets, forecasts and other sources

On the budgeting part of the setup, budget models are selected for inclusion, and new budget register entries in those models are included once the model is enabled; individual entries can also be included through a column named Include in cash flow forecasts. This is how amounts that no transaction represents yet, such as next quarter's property tax or an insurance premium, get into the forecast. Ludovica selected FCST27, the rolling forecast model from lesson 1, rather than OP27, because the forecast was updated each quarter and the original budget wasn't.

From inventory management, a demand forecast model can be included, so that expected sales that haven't become orders still produce expected receipts. Project forecasts can be included with the project cash flow feature, using a reduction-type forecast model; Microsoft warns not to send the same project forecasts to a ledger budget model as well, or they are counted twice. A further feature forecasts payments to sales tax authorities from unpaid tax transactions, settlement periods and the tax period payment terms. Cobalt Ridge turned on the tax payment feature, because GST and HST remittances in Canada and sales tax remittances in the US were large and predictable.

The setup also has a dimensions tab, where up to two financial dimensions can be chosen for filtering in the cash flow workspace; Cobalt Ridge chose BusinessUnit and Plant. An external source tab lets incoming and outgoing categories be defined for external data, which requires Finance insights.

Calculating the forecast

Forecast amounts aren't calculated live. The Calculate cash flow forecasts process projects the cash impact of each transaction, and it must run before the analytics are viewed. Its method is Total, which clears all forecast transactions and recalculates, or New, which adds forecasts only for new transactions. Microsoft recommends Total if forecasts haven't been updated for a long time. The process can run as a recurring batch job, or, with the cash flow forecast automation feature, on a schedule per company in process automation, after clearing older cash flow batch jobs.

After each calculation, the analytics read from the entity store, so the measurement behind the workspace has to be refreshed; Microsoft names it the LedgerCovLiquidityMeasurementV2 aggregate measurement. Ludovica scheduled a nightly Total calculation in each company followed by the refresh, so that Monday's report used figures no more than a day old.

Where the forecast appears

Two Cash overview workspaces present the results. Cash overview, all companies shows every company, in the system currency set on the system parameters page; by default it is for the chief executive, the chief financial officer and the financial controller. Cash overview, current company shows one company in its accounting currency, for roles such as accountant and accounts payable and receivable managers. Both show a chart of inflows and outflows, bank balances, forecast transaction details and forecast currency balances, so treasury can see, for example, how many US dollars CRCA expects to receive next month. Drill-down is available from the trial balance, sales and purchase orders and forecast pages.

A bar chart of six weeks with inflows above the axis and outflows below. A line shows the projected closing balance, dipping below a horizontal line that marks the minimum balance in week four, which is the week the credit facility would be drawn.
A six-week forecast for CRCA with the minimum balance line (invented figures).

Finance insights

Finance insights adds a cash forecast that uses machine learning. Microsoft describes intelligent long-term forecasting through AI Builder, saved snapshots that can be edited and compared with actual results, what-if comparison of optimistic, pessimistic and realistic snapshots, and views across currencies and legal entities. Customer payment predictions in Finance insights can also improve the timing of receivables. Thandeka was interested but cautious: Cobalt Ridge would start with rules-based forecasting, measure its accuracy for six months, and then decide whether the machine learning forecast was worth setting up.

Judgment still matters

Annelise was clear about the limits. The forecast is only as good as the transactions and settings behind it. Capital purchases not yet on order, a large customer known to be in difficulty, dividends and loan repayments that no transaction represents yet all need to be added, either as budget register entries in the forecast model, as ledger transactions with future dates, or as manual adjustments in Ludovica's weekly review. She recommended keeping a short list of such adjustments with a reason for each, and comparing each week's forecast with what actually happened, so that the payment delay settings could be tuned.

Worked problem

Measuring forecast accuracy

For the week of November 9, 2026, the forecast for CRCA expected receipts of 2,140,000; actual receipts were 1,883,000. What is the forecast error as a percent of the forecast, and what might Ludovica check?

Show solution
  1. The error is 2,140,000 minus 1,883,000, which is 257,000.
  2. As a percent of the forecast: 257,000 divided by 2,140,000 is about 0.12, or 12 percent.
  3. Check which customers paid later than forecast; if several are in one group, its payment delay setting may be too short.

Answer: Receipts were about 12 percent below forecast; Ludovica reviews late payers by customer group and adjusts the group delay if the pattern repeats.

Building the Monday report

Ludovica's weekly report followed the same steps each time. On Sunday night the Total calculation ran in each company, followed by the entity store refresh. On Monday morning she opened Cash overview, all companies, checked that the calculation date was the previous night, and exported the six-week view of inflows, outflows and closing balances by company. She then added her list of manual adjustments, such as a planned dividend or a loan repayment, each with a reason, and compared the projected closing balance each week with the minimum balance Thandeka had set.

Any week in which the projected balance fell below the minimum was flagged, with the amount of the shortfall and the options: move cash between companies, convert part of a foreign currency balance, delay a discretionary payment, or draw on the revolving credit facility. Thandeka made the decision; Ludovica's job was to make sure she had the numbers early enough to choose the cheapest option rather than the fastest one.

Worked problem

Setting a group payment delay from history

Ikenna’s team pulls six recent MINE invoices and the number of days each was paid after its due date: 4, 12, 7, 15, 9 and 7. What average delay should the MINE group use, and what does the spread suggest?

Show solution
  1. The total is 4 plus 12 plus 7 plus 15 plus 9 plus 7, which is 54.
  2. The average is 54 divided by 6, which is 9 days.
  3. The values range from 4 to 15 days, so individual receipts will often land a week either side of the forecast date.

Answer: Use 9 days, which matches the current setting; because the spread is wide, Ludovica treats the weekly MINE total as more reliable than any single receipt date.

Tuning the settings over time

The first forecasts were rough, and Annelise said they would be. Payment delays based on one year of history change as customers change, and new customers have no history at all. Ludovica agreed to review the delay for each customer group every quarter, using the same calculation as the example above, and to look separately at the ten largest customers, whose payments moved the forecast most. Where one large customer behaved very differently from its group, Ikenna's team could move it to a group of its own, so that its timing could be set separately.

The forecast accuracy measure from earlier in the lesson gave the review a target. Thandeka asked for receipts to be within 10 percent of forecast in most weeks by the end of the first year. Ludovica tracked the weekly error in a simple chart on the treasury page, so that everyone could see whether the tuning was working.

Common mistakes

  • MistakeViewing the cash overview without recalculating the forecast.

    InsteadRun Calculate cash flow forecasts and refresh the entity store measurement first.

  • MistakeUsing contractual terms as if customers pay on the due date.

    InsteadSet payment delays by customer group from actual history.

  • MistakeSending project forecasts to both a budget model and the project cash flow feature.

    InsteadInclude them only once, or they are counted twice.

  • MistakeTreating the system forecast as complete.

    InsteadAdd known items such as loan repayments and dividends, with a reason for each.

Summary and key terms

  • Cash flow forecasting projects open and planned transactions onto liquidity accounts and dates.
  • Receivable and payable timing comes from terms, shipping-to-invoice time and payment delays, which can be set by group.
  • Budget models, demand forecasts, project forecasts, tax authority payments and external data can be included.
  • The Calculate cash flow forecasts process, Total or New, must run before results are viewed, followed by an entity store refresh.
  • Cash overview workspaces show inflows, outflows, balances and currency balances for one company or all companies.
Liquidity account
A cash or cash-equivalent main account included in cash flow forecasting.
Dependent account
A main account forecast as a percentage of a liquidity account’s cash flow.
Payment delay
The forecast time between an invoice due date and the expected payment.
Calculate cash flow forecasts
The process that projects transactions into forecast cash flows.
Cash overview workspace
A workspace showing forecast inflows, outflows and balances.
Cash forecast (Finance insights)
A machine learning forecast with snapshots and what-if comparison.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. An invoice dated November 2 has Net 45 terms. What is its due date?

    Show answer

    December 17.

  2. Why did Ludovica include FCST27 rather than OP27 in the forecast?

    Show answer

    FCST27 is updated quarterly and reflects current expectations; the original budget does not change.

  3. In which currency does Cash overview, all companies show amounts?

    Show answer

    The system currency defined on the system parameters page.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz