# Cash-in forecasting with AI: know in advance who will pay late

> Cash-in forecasting with AI: how to estimate when customers will pay from payment history, what data you need, the limits and what a person decides.

Source: Giallo Studio (giallostudio.it) · Page: https://giallostudio.it/en/blog/ai-payment-forecasting · Published: 2026-12-01 · Updated: 2026-12-01

**Cash-in forecasting is an estimate of when and how much the company will collect, built on each customer's real behavior and not only on the due dates written on the invoice.** An invoice at 60 days does not mean "payment in 60 days": for some customers it means 45, for others 85. A system that knows the payment history can say so a few weeks ahead, while there is still room to decide.

For anyone running an SME, it is the difference between finding out at month-end that cash falls short and knowing a month ahead, when you can still negotiate with a supplier, advance an invoice or call a customer. **Giallo Studio, the brand of Refreesh S.r.l. SB, based in Milan, which designs custom AI agents and automations for SMEs and professional firms, builds these workflows starting from the company's payment schedule and payments**, and pairs them with the processes described in [AI for business administration](https://giallostudio.it/en/blog/ai-for-back-office-admin).

<div class="key-points">
<p class="kp-title">In summary</p>
<ul>
<li>Cash-in forecasting estimates the real payment date of each invoice using each customer's history, not just the due date.</li>
<li>It works only if past payments are accurately matched to invoices: it depends on the quality of the bank reconciliation.</li>
<li>It flags a risk of delay; it does not assess solvency or decide actions toward the customer.</li>
<li>With new customers or few payments the estimate is weak, and the system must say so.</li>
<li>The useful output is a weekly summary: expected cash, deadlines at risk, customers to call first.</li>
</ul>
</div>

## Why the due date on the invoice is not enough

The payment schedule says when an invoice should be paid. It does not say when it will be paid. The gap between the two moments is a variable every office lives with: the customer who pays on the 10th of the following month, the one who waits for the reminder, the one who pays in bulk at the end of the quarter, the one who always withholds a little over a dispute.

In Italy, payment terms between businesses are governed by [Legislative Decree 231/2002](https://www.normattiva.it/uri-res/N2Ls?urn:nir:stato:decreto.legislativo:2002-10-09;231), which transposes the [European directive on late payment in commercial transactions](https://eur-lex.europa.eu/eli/dir/2011/7/oj): it sets reference terms and provides for late-payment interest. Those rules establish what you can demand. Cash-in forecasting answers a different question, a purely operational one: what is realistic to expect, and when.

## How the forecast works, in plain words

The system does four things, in this order.

<ol class="steps">
<li><strong>It builds each customer's payment profile.</strong> For each one it calculates, from the history, how many days after the due date they usually pay, how much that delay varies, and whether they pay single invoices or in batches.</li>
<li><strong>It applies the profile to open invoices.</strong> For each invoice not yet collected it estimates a range of dates in which payment is likely, not a single day.</li>
<li><strong>It takes recent events into account.</strong> An open dispute, a partial payment, a change of contact person, a reminder already sent all change the estimate.</li>
<li><strong>It sums up and presents.</strong> A calendar of expected cash over the coming weeks and a list of deadlines at risk, ordered by amount and probability of delay.</li>
</ol>

AI does no magic here: most of the work is simple statistics and rules. It is mainly useful for reading the context that is not in the numbers, for example a customer email announcing "we will pay after acceptance testing", and turning it into information the forecast can use.

## What data you really need

The quality of the forecast depends on the quality of the starting data. Before thinking about the model, check these five elements.

| Date | Why It Serves | Typical problem |
| --- | --- | --- |
| Sales invoices with date and due date | Basis of every estimate | Due dates entered by hand and inconsistent |
| Payments matched to invoices | Tells you when each customer really paid | Payments unmatched or matched to the wrong invoice |
| Terms agreed per customer | Tells a delay from an on-time payment | Verbal agreements not recorded |
| Disputes and credit notes | Explain partial payments | Stay in emails rather than in the payment schedule |
| A history of at least a few months | Needed to recognize a behavior | New customer or few invoices |

The second point weighs the most: **a forecast built on wrong matches is worse than no forecast**, because it gives precise numbers on a false basis. For this reason the [bank reconciliation with AI](https://giallostudio.it/en/blog/ai-bank-reconciliation) is almost always the preceding step.

## What you get in practice

For an SME, the end product is a summary that someone reads on Monday morning. An example of content, with purely illustrative numbers:

<div class="callout"><strong>Illustrative example</strong> Expected cash over the next four weeks, in order of probability. Week 1: €18,000 almost certain (customers who always pay on time). Week 2: €12,000 probable, of which €7,000 from a customer who has been paying late for two months. Week 3: €25,000 uncertain, a single large invoice with an open dispute. Week 4: €9,000, new customers with a weak estimate. The numbers are invented for teaching purposes: they show the shape of the summary, not a result.</div>

From a summary like this, a person can decide concrete things: postpone a payment to a non-urgent supplier, call the week 3 customer before the due date passes, ask the accountant to check an exposure, put off a purchase.

## Two examples of how the work changes

The scenarios are constructed examples, not real clients.

**Example 1: a building-supplies company whose customers pay by progress payments.** Customers pay when they have been paid in turn. After a few months of history, the system notices that companies of a certain type pay on average well after the due date and that the variability is high. The forecast does not promise precise dates: it returns a range and flags which amounts are most exposed. Administration uses it to shift the courtesy call from punctual customers to those at risk.

**Example 2: a design firm with a few large customers.** With few customers and large invoices, a single delay changes the month's cash. The system does not have enough data for a statistical model: it uses simple rules and context (an email, a note from the project manager). The forecast states its limit. It stays useful because it forces you to keep the status of every large invoice up to date.

## From forecast to reminder, without blind automation

Predicting a delay is the beginning, not the end. The next step is deciding what to do, and here it matters that the system does not act on its own. A sensible workflow:

- the forecast flags an invoice at risk;
- the system checks the updated status (payment, dispute, agreement) and prepares a contact proposal;
- the person in charge approves, edits or discards it;
- the outcome is recorded and the forecast updates.

It is the same pattern as [automated payment reminders](https://giallostudio.it/en/blog/ai-payment-reminders), where the draft is prepared only on verified data and sending goes through the manager. Contacting the customer a few weeks ahead, while the relationship is still calm, is often more effective than a formal reminder after the delay has happened.

## Limits and risks to know

<div class="compare">
<div class="compare-yes"><h4>When the forecast helps</h4><ul><li>You have many invoices with recurring customers.</li><li>Payments are matched reliably.</li><li>Cash flow is a real concern.</li><li>You know who reads the summary and what decisions they make.</li></ul></div>
<div><h4>When to take it with caution</h4><ul><li>You have few customers, with large and infrequent amounts.</li><li>Payment data is incomplete or late.</li><li>Payments depend on external events (acceptance tests, public tenders, grants).</li><li>You would like to use it to judge a customer.</li></ul></div>
</div>

A few clarifications that avoid nasty surprises:

- **It is not a credit assessment.** Saying that a customer tends to pay late is not the same as saying they are insolvent. Reliability assessments need other sources and other skills.
- **A forecast is a probability.** It should be read as a range, not as a promise.
- **Decisions about people stay human.** If your customers include individuals or sole proprietorships, the [GDPR](https://eur-lex.europa.eu/eli/reg/2016/679/oj) applies: article 22 protects people from decisions that produce significant effects based solely on automated processing, and article 5 requires processing only the necessary data. You must not stop a supply because "the system says so". A general overview is in [AI and GDPR](https://giallostudio.it/en/blog/ai-and-gdpr).
- **The numbers must be validated.** Before trusting it, compare the forecast with what happens over a few weeks.

## Mistakes to Avoid

1. **Building the forecast before fixing payment matching.** It is the most common mistake and the most expensive.
2. **Asking for an exact date.** A good forecast gives a range and a probability; a precise date is false security.
3. **Using it to label customers.** The payment profile serves to organize work, not to classify people.
4. **Not recording agreements.** A postponement agreed by phone, if it is not in the system, looks like a delay and triggers an out-of-place reminder.
5. **Not comparing forecast and actual.** Without this check you do not know whether the system is getting better or worse.

## How to get started in an SME

The path is gradual. You start from the payment schedule and at least a few months of matched payments, build a first weekly summary and read it alongside your own perception: where the estimate and the office's experience diverge, you learn something. After a few weeks you decide whether to add alerts (for example a flag when a large invoice passes its most likely date) and whether to connect the forecast to the draft reminder.

Giallo Studio's indicative ranges for automating a single process run from €1,500 to €8,000 excluding VAT; the value depends on how many systems are needed (management software, bank, email) and how many exceptions there are. These are orders of magnitude, not a quote. For more examples of reporting useful to the office, there is [AI for Business Reporting](https://giallostudio.it/en/blog/ai-business-reporting), and to see how it connects to accounting, [AI for Accounting](https://giallostudio.it/en/blog/ai-for-accounting).

## To wrap up

Cash-in forecasting does not make customers more punctual: it makes the company less surprised. It works when it is based on carefully matched payments, when it states its limits, and when it produces a summary that someone really reads and from which a person's decisions follow.

If you want to see how to build it on your company's data, [Giallo Studio](https://giallostudio.it/en/business-process-automation) designs custom automations for SME administration: contact us to find out how to automate forecasting and management of cash-in.

## Frequently asked questions

### What is cash-in forecasting?

It is an estimate, based on each customer's past payments, of when and how much the company will collect in the coming weeks. It does not replace the payment schedule: it corrects it with the real behavior of those who pay.

### What data do you need to forecast cash-in?

You need the sales invoices with date and due date, the payments received and matched to invoices, the terms agreed with each customer and any open disputes. Without accurately matched payments, the forecast has little to stand on.

### Is the forecast reliable for new customers?

No, or very little. With few payments in the history the system has no behavior to observe, so it must say so and use a prudent estimate for that customer based on the contractual due dates, flagging it as low-reliability.

### Can AI say that a customer will not pay?

It can flag a risk of delay, but it cannot determine that a customer will not pay or assess their solvency. A decision that affects the customer, such as stopping a supply, stays with a person.

### Does cash-in forecasting involve personal data?

If customers are individuals, sole proprietorships or freelancers, yes, and the GDPR applies. You process only the necessary data, you inform the data subject in the privacy notice, and you do not leave decisions that produce significant effects to solely automated processing.

### Do you need new software?

Usually not. You read what is already in the management software and the bank statement, calculate the forecast and bring it where the office looks every day: a dashboard, a shared spreadsheet or a weekly email summary.

### How do you know if the forecast works?

By comparing, for a few weeks, what the system predicted with what actually happened. If the deviations are stable and explainable, the forecast is useful even if it is not perfect; if they are random, data is missing or the model needs revisiting.
