Skip to content
Insights

How Long Until They Pay? Answers That Count the Cases Still Open

Average the days-to-pay on paid invoices and you leave out the slowest payers, because they haven't paid yet. The Querri Scientist answers "how long until" questions for invoices, residents, leads and claims, counting the cases that are still open.

Dave Ingram
Dave Ingram
November 26, 2026
5 min read
How Long Until They Pay? Answers That Count the Cases Still Open

Month-end, and the CFO wants one number for the cash meeting: how much of today's open receivables will actually come in over the next 60 days?

The usual answer starts from paid invoices. Average the days from invoice to payment, apply it to the open ledger, done. And it comes out too rosy every time, for a reason that's easy to miss. The slowest payers aren't in that average, because they haven't paid yet. Neither are the invoices that will end up written off. You've measured the customers who paid and quietly assumed everyone else will behave like them.

Time-to-event analysis

"How long until" questions all have this shape. How long until an invoice is paid, a resident moves out, a lead closes, a damage claim settles. At any moment some cases have finished and some haven't, and the unfinished ones are usually the ones you're worried about.

Time-to-event analysis (statisticians call it survival analysis) keeps them. An invoice that's been open for 70 days tells you something real: it took at least 70 days. That gets counted as a case that hasn't ended yet, for exactly as long as it's been open. It also keeps track of cases that end a different way. An invoice can be paid or written off. A lead can close or be marked lost. Those get counted and reported, so a write-off doesn't sit in the data looking like a payment that's merely late.

Ask the Scientist in Querri:

How long do customers take to pay us, by segment, and how much never gets collected?

What comes back

A short paper. Up top, the median time to pay by segment, which is the day by which half the invoices are paid. Next to it, the chance an invoice is paid within the window you care about, such as 60 days. Then how many invoices were still open, how many ended another way, and the share that never gets collected.

Invoice collections figure: cumulative share collected by days since issue, one line per segment. Collections level off around 120 days; SMB pays fastest early but ends lowest at 92.4%, mid-market reaches 96.6%, enterprise pays later but ends highest at 99.6%, and 95.5% overall.

That's from a run on example invoices, and it shows why one average hides so much. Small businesses pay fastest in the first month but more of them never pay at all. Enterprise customers are slow to start and then pay almost everything. Collections across the board level off at about 120 days, so an invoice still open past that point is a different conversation.

The paper also says what makes payment come sooner or later. Each driver comes back as a hazard ratio with a range: above 1 means sooner, below 1 means later. Customers on 60-day terms paying later than those on 30 would show up there, with a measure of how sure it is.

Questions people ask

  • "How much of today's open receivables should we collect in the next 60 days?"
  • "How long do residents stay, by care level, and what share move out within a year?"
  • "How long until a damage claim is settled, by carrier?"
  • "How long until a first-time buyer orders again?"
  • "How long from first touch to a closed deal, by source?"

If your question is whether something happens rather than when, a yes-or-no prediction fits better.

What people do with it

Forecast cash from today's ledger. Attach today's open invoices to the investigation's project and ask for the chance each one is paid within 60 days. The saved model accounts for how long each invoice has already been open, so a 90-day-old invoice isn't scored as if it went out yesterday. Add up the expected payments and you have a collections forecast built on how your customers really pay.

Attaching the open invoices to the investigation and getting the probability each is paid within 60 days.

Point collections at the right accounts. The segments with the longest median time and the highest write-off share get the effort first.

Plan census and revenue. In senior living, length of stay by care level and the share who move out within a year go straight into occupancy and revenue planning for the owners.

Ask the next question. Follow-ups continue the same work: "Is the gap between segments the same for large and small invoices?"

What data it needs

One row per case (an invoice, a resident, a lead), with how long it lasted, either to its end or, if it's still open, to the date of the export. Plus how it stands: the event happened, it's still open, or it ended another way. Every way a case can end has to be named.

It needs at least 10 cases where the event happened, and at least 30 rows overall. With fewer, you get a plain reason, such as "only 9 cases had the event: too few to estimate how soon it comes", instead of an answer that can't hold up.

The full detail is in the docs under How long until. For the other question types, see Meet the Scientist.

How much of today's receivables will come in this quarter? Querri it.

Tags

#Scientist #Accounts Receivable #Cash Collection #Length of Stay #Time to Event #Senior Living
Dave Ingram
Dave Ingram
Dave Ingram is Founder and CEO of Querri, focused on building practical, AI-powered data solutions that help teams turn complex problems into clear, actionable insights.
November 26, 2026
5 min read

Share this article

Ready to unlock your data's potential?

Turn raw data into decisions in minutes