You shipped the feature. The client said it looks great. You sent the invoice, and then… nothing.

If you freelance or run a small dev shop, you already know the next part. You check your bank account twice a day. You open a blank email, type "Just following up!", delete it, and decide to wait one more week. Meanwhile you have rent, a laptop that needs replacing and a client who is probably not avoiding you at all.

Late payment isn't a you problem. Xero's data shows US small businesses waited an average of 29.3 days to be paid in the June quarter of 2026, with payments arriving 8.5 days after the agreed terms. Remote's 2025 contractor report found that 85% of freelancers have invoices paid late at least some of the time. I keep a list of verified late payment statistics with sources if you want the bigger picture.

So the goal isn't to avoid late payments entirely. It's to have a calm, repeatable way to deal with them, the same way you'd handle any other recurring bug.

Here's the system I'd recommend.

Why invoices actually go unpaid

Before writing a single reminder, it helps to know what you're debugging. In my experience, most "late" invoices aren't refusals. Something ordinary got stuck:

  • Wrong inbox. You sent it to the person you worked with, not the person who pays suppliers.
  • Missing details. Finance needs a purchase order number nobody gave you.
  • Stalled approval. It's waiting on a manager who's busy or on holiday.
  • Simply missed. It slipped past a payment run.

Every one of these is fixed by a clear, specific question, not by a firmer tone. Keep that in mind for the emails below.

A schedule you decide once

The worst part of chasing invoices is deciding when to chase. So decide once, for every invoice:

When Purpose What to ask
3 days before due Help them prepare "Do you have everything you need to process this?"
Due date Bring it into view A short note that it's due today
3 days overdue Get an update "Has this been scheduled, or is something missing?"
7 days overdue Find the blocker "Is it waiting on an approval or a PO number?"
14 days overdue Hand over to a human Call, or write personally. Stop automating.

Two rules make this work:

  1. Pause when the client replies. If they say "paying Friday", don't let the next scheduled email go out on Thursday.
  2. Stop when the money arrives, and only then. "I've sent it" is not the same as money in your account. Check before you mark anything as paid.

I wrote a longer version of this invoice reminder schedule with notes on when to pause and when to stop.

Three emails that get replies

Every good reminder answers three questions for the reader: which invoice, what's the situation, and what do you need from me. Here are three I'd keep as templates.

Before the due date

Subject: Invoice 1042 due on 5 December

Hi Alex, a quick heads-up that invoice 1042 for $1,200 is due on 5 December. Could you confirm it reached the right person? Happy to resend it or add a PO number if that helps.

A few days overdue

Subject: Payment update for invoice 1042

Hi Alex, invoice 1042 for $1,200 was due on 5 December and still shows as open on my side. Could you let me know when it's scheduled for payment, or if anything is holding it up? If it's already on its way, thanks, and please ignore this.

After a partial payment

Subject: Remaining balance on invoice 1042

Hi Alex, thanks for the $400 toward invoice 1042. That leaves $800 outstanding. Could you let me know when the rest is scheduled?

Notice what's missing: no "as per my last email", no "URGENT", no invented late fees. A plain question with an invoice number gets matched and paid. A clever or passive-aggressive one gets a second read and a shrug.

Build a tiny aging report

Once you have more than a handful of clients, you need to see what's owed at a glance. Accountants use an accounts receivable aging report for this: it groups unpaid balances by how far past their due date they are.

You don't need accounting software for a basic one. Here's a dependency-free version:

const DAY = 24 * 60 * 60 * 1000; // Dates are 'YYYY-MM-DD' strings; money is in integer cents to avoid floating-point drift. function daysPastDue(dueDate, asOf) { const due = Date.parse(`${dueDate}T00:00:00Z`); const ref = Date.parse(`${asOf}T00:00:00Z`); return Math.round((ref - due) / DAY); } function bucketFor(days) { if (days <= 0) return 'current'; if (days <= 30) return '1-30'; if (days <= 60) return '31-60'; if (days <= 90) return '61-90'; return '90+'; } function agingReport(invoices, asOf) { const totals = { current: 0, '1-30': 0, '31-60': 0, '61-90': 0, '90+': 0 }; for (const invoice of invoices) { const outstanding = invoice.totalCents - invoice.paidCents; if (outstanding <= 0) continue; // fully paid totals[bucketFor(daysPastDue(invoice.dueDate, asOf))] += outstanding; } return totals; } const invoices = [ { id: 'INV-101', dueDate: '2026-12-05', totalCents: 120000, paidCents: 0 }, { id: 'INV-098', dueDate: '2026-11-12', totalCents: 80000, paidCents: 30000 }, { id: 'INV-090', dueDate: '2026-10-15', totalCents: 45000, paidCents: 0 }, { id: 'INV-081', dueDate: '2026-08-20', totalCents: 250000, paidCents: 100000 }, { id: 'INV-077', dueDate: '2026-07-01', totalCents: 60000, paidCents: 60000 }, ]; const usd = new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }); const report = agingReport(invoices, '2026-11-29'); for (const [bucket, cents] of Object.entries(report)) { console.log(bucket.padEnd(8), usd.format(cents / 100)); } 

Output:

current $1,200.00 1-30 $500.00 31-60 $450.00 61-90 $0.00 90+ $1,500.00 

A few details that matter more than they look:

  • Use the remaining balance, not the invoice total. INV-098 was $800 but $300 was paid, so only $500 is aged. Using original totals makes the report lie.
  • Pin the "as of" date. An aging report answers "what did things look like on this date?" Pass the date in explicitly instead of calling new Date() inside the function, and your report becomes testable.
  • Treat dates as dates. Parsing '2026-11-12' at UTC midnight on both sides avoids the classic off-by-one when your laptop's timezone shifts the day.
  • Don't mix currencies. If you bill in USD and EUR, run one report per currency. Adding them together without an explicit exchange rate gives you a number that means nothing.

If you'd rather not run code, I built a free invoice aging calculator that does the same thing in the browser, with no sign-up.

If you automate reminders, avoid these three bugs

It's tempting to wire up a cron job that emails anyone with an overdue invoice. I've spent a lot of time on exactly this problem, and these are the bugs that hurt client relationships:

1. Sending a stale balance. The reminder was queued on Monday with the full amount; a partial payment came in on Tuesday; the email goes out Wednesday asking for the full amount. Always re-read the balance right before sending, not when you schedule the job.

2. Duplicate emails on retry. Your email provider times out. Did the message send? You don't know, so your job retries, and the client gets the same reminder twice. Give each reminder a stable key (invoice ID plus step) and don't blindly retry an uncertain send. Check what actually happened first.

3. Weekend and timezone surprises. "3 days before the due date" lands on a Sunday at 2 a.m. in your client's timezone. Schedule in the recipient's working hours, and move weekend sends to the next working day:

const OFFSETS = [-3, 0, 3, 7, 14]; function reminderDates(dueDate) { return OFFSETS.map((offset) => { const date = new Date(`${dueDate}T00:00:00Z`); date.setUTCDate(date.getUTCDate() + offset); const weekday = date.getUTCDay(); if (weekday === 6) date.setUTCDate(date.getUTCDate() + 2); // Saturday -> Monday if (weekday === 0) date.setUTCDate(date.getUTCDate() + 1); // Sunday -> Monday return { offset, date: date.toISOString().slice(0, 10) }; }); } console.log(reminderDates('2026-12-05')); 

None of these are hard to fix. They're just easy to miss when "send an email when an invoice is overdue" sounds like a ten-minute task.

The short version

  • Decide your reminder schedule once, then stop thinking about it.
  • Ask one specific, answerable question in every reminder.
  • Pause when a client replies, and stop only when payment is confirmed.
  • Track remaining balances, not invoice totals.
  • If you automate, re-check before every send and never blindly retry.

Late invoices are a process problem. Treat them like one, and they stop living rent-free in your head.

Disclosure: I'm building Rinvayo, a tool that sends invoice reminders from your own Gmail or business email. Everything above works without it. The code is yours to copy.