Cash flow forecast and month-end landing
See the cash of the next thirteen weeks by week or the next twelve months by month from your bank balances, open invoices and bills, recurring profiles, loan instalments, contract schedules, VAT and corporate tax, add the payments you expect, compare the best and worst case as scenarios, open every cell to the documents behind it, and see where this month's profit and loss will land.
The Forecast page
Accounting → Forecast (/accounting/forecast) shows the cash you will have, period by period, from what your books already know. It is in the Professional and Enterprise plans (the reporting.forecast feature); on another plan the page says "The cash forecast is in Professional" and the API refuses with feature_not_in_plan.
The page has two tabs, Forecast and Month-end landing (?tab=landing). The header of the Forecast tab holds:
- From: the first day of the forecast, today by default. A date before today opens on the ledger's bank balance of that date, but the open invoices and bills and the recurring profiles' next runs are the ones of today; a line under the controls says so, and the export prints the same line.
- Weeks | Months: thirteen weeks by week (the default) or twelve months by month. The choice is kept in the address (
?filter=), and it becomes your organisation's default: the next person who opens the page sees the same view. - The scenario chips: Base case, Best case, Worst case, your own scenarios and New scenario. Each chip you switch on draws its own line in the chart and its own rows in the table.
- Export: the forecast as Excel or PDF, every period and every row.
Below the header:
- The chart: the closing balance of each period, one line per scenario.
- The table: the Opening balance, one row per source of cash in, then one per source of cash out, the Net cash flow and the Closing balance, one column per week or month and a total. Every figure is a link: click it to see the documents behind it.
- Expected items: the payments and receipts you know about that are not in the books yet.
Walkthrough
Read thirteen weeks
- Accounting → Forecast. The page opens on Weeks: thirteen columns, the first starting today, each seven days long.
- Read the Opening balance: the ledger balances of your bank accounts on the From date. It equals the balances in the bank account registers, not the balance a bank feed reports.
- Read across: each week adds its cash in (Receivables, Recurring invoices, …) and takes away its cash out (Payables, Recurring bills, Recurring expenses, Loans, VAT, …). Week 13's Closing balance is the opening plus every row of the thirteen weeks.
Add an expected VAT payment
- Expected items → Add.
- Date 28 February, Direction Out, Amount 25,000, Description "VAT payment". Leave Scenario on Every scenario and Repeats on Never → Save.
- The item is listed in the card and the table gains an Expected item row with 25,000 out in the week that holds 28 February (set From so that the date falls inside the thirteen weeks). Every closing balance from that week on drops by 25,000.
An expected item can repeat weekly, monthly, quarterly or yearly, until a date or for a number of times, and it can belong to one scenario only. Edit and Delete are in the row's menu; Delete asks first.
Compare the best and worst case
Switch on the Best case and Worst case chips beside Base case. Each scenario is a set of adjustments to the same sources, never a typed total:
| Scenario | What it changes |
|---|---|
| Base case | Nothing: every open invoice and bill at its due date |
| Best case | Customers pay five days before the due date; bills are paid on their due date |
| Worst case | Customers pay thirty days after the due date |
The chart draws three closing lines and the table shows each scenario's rows. In a drill, an item a scenario moved is marked as adjusted.
To build your own, New scenario opens the scenario editor: a name (and an Arabic name) and one row per adjustment:
- Source: the row it changes (Receivables, Payables, Recurring invoices, …) or Every source.
- Shift days: move the dates by this many days, earlier (negative) or later (up to 365).
- Factor: multiply the amounts, for example
0.8for 80 % of the recurring invoices. - Exclude: leave the source out.
- Average delay: move each open invoice or bill by its contact's average days late over the last twelve months.
Save adds the chip. Editing Best case or Worst case saves your organisation's own copy; the pack's scenarios themselves cannot be deleted.
Drill a week
Click any figure in the table. A side panel opens with the documents behind it: the invoices, bills, recurring profiles, loan instalments, contract schedule rows, VAT returns, corporate tax computations and expected items, each with its number, contact, due date, the date the forecast expects the cash and the amount. The number opens the document; an expected item opens its editor. The amounts of the panel add up to the cell.
Change the horizon
Click Months in the header. The table shows twelve calendar months; the first runs from the From date to the end of that month. The choice becomes your organisation's default; Weeks puts it back.
Both views read the same engine and the same expected items, so a quarter in months equals the thirteen weeks it covers: with From on 1 April, the thirteen weeks run from 1 April to 30 June, and April, May and June in months carry the same cash in, cash out and closing balance.
What the forecast reads
| Source | What it reads |
|---|---|
| Opening balance | The ledger balance of each bank account linked to a ledger account on the From date. A bank feed's balance never replaces it. |
| Receivables, Payables | The open amount of each issued invoice and posted bill at its due date, or at the due date moved by the contact's average days late when a scenario asks for it |
| Recurring invoices, bills and expenses | The next runs of each active profile in the horizon. The forecast reads them; it never creates a document. |
| Loans | The instalments of the loan schedules. Prepaid and accrual schedules move no cash and are left out. |
| Contracts | The contract schedule rows not yet invoiced, with the VAT of each contract line: a standard-rated line adds the standard rate, a zero-rated, exempt, reverse-charge or out-of-scope line adds nothing |
| VAT | The unpaid settlement of a filed return at its due date, and the estimate of the open period from the ledger |
| Corporate tax | The tax of a final computation at its due date |
| Expected items | The items you added, with their repeats |
Every amount is in your base currency at the document's own rate, so an invoice in dollars counts at the rate it was issued at.
The month-end landing
The Month-end landing tab answers where this month's profit and loss will land. Pick the month (this month by default). Each row of the profit and loss shows:
- Actual: what is posted so far.
- Scheduled: the schedules due before the month ends (the prepaid, accrual and other schedule lines dated in the month that have not posted yet).
- Recurring: the recurring invoices, bills and expenses that run before the month ends.
- Landing: actual plus scheduled plus recurring.
- AI estimate and Landing with AI: a separate scenario row from each row's run rate of the last three months for the days left in the month, and the actuals plus that estimate.
Each row carries badges naming its sources: Actual, Schedule, Recurring and AI estimate. The bottom line is the result, income minus expenses.
Refresh the estimate asks for a new estimate. It is metered as AI usage (the feature Month-end landing estimate in the Usage view of Settings → Company → AI); the other columns are always read straight from the books and cost nothing.
In the report library
The forecast and the landing are report definitions: Cash flow forecast (cash_forecast) and Month-end landing (month_end_landing) are listed in Reports → Library. They run, export and can be scheduled like any other report: a weekly schedule of the cash forecast sends the thirteen weeks every Monday. A schedule of the cash forecast has Forecast periods instead of a period: Weeks, Months or As set on the forecast page; each run starts on its run day. Export on either tab gives the same file.
From the API
GET /reports/forecast/cash?from=&granularity=week|month&horizon=&scenarios=base,best,worstruns the forecast;bankAccountIds,booksandentityGroupnarrow it.GET /reports/forecast/cash/cell?scenario=&source=&period=w01lists the items behind one cell.GET /reports/forecast/landing?period=2026-11runs the month-end landing;estimate=truerefreshes the AI estimate (metered).GET|POST /reports/forecast/items,PATCH|DELETE /reports/forecast/items/{id}: the expected items.GET|POST /reports/forecast/scenarios,PATCH|DELETE /reports/forecast/scenarios/{id}: the scenarios.GET /reports/cash_forecast/export?format=xlsx|pdfandGET /reports/month_end_landing/export?format=xlsx|pdfexport them.- MCP:
get_cash_forecast,get_month_end_landing,list_forecast_items,save_forecast_itemandsave_forecast_scenario(both ask for confirmation first).
Reference: docs.alyabooks.ai.