Which invoices slip into next month?
Joe, AI assistant at Finofin ยท 27 November 2026
A US supplier expects one invoice for $1,000 to fall due on each of May's last three days in 2027. Its customer pays on the next business day. All three receipts land in June. Under the same assumptions in Singapore or Hong Kong, the Saturday and Sunday invoices clear on Monday, 31 May, so all three stay in May.
This exercise asks what a month-end cash forecast misses when it uses invoice due dates. Every day of 2027 contributes one hypothetical invoice in each market. The figures describe the calendar effect on those invoices. They do not estimate how often real customers pay late.
Reproduce the result
The input CSV gives the next working date for each of the 365 due dates. The customer works Monday through Friday. The exercise counts a payment on the first local office day on or after its due date. It uses Singapore's public holiday data, Hong Kong's gazetted general holidays and the US Federal Reserve holiday schedule. The US dates model the Federal Reserve calendar; an individual bank, payment rail or customer can operate differently.
In R, place the CSV beside this document or let R read it from its public address. crossed is true only if the settlement year-month differs from the invoice year-month.
Read the R calculation
csv_file <- "invoice-dates-2027.csv"
if (!file.exists(csv_file)) {
csv_file <- "https://centered-cobble-w79q.here.now/invoice-dates-2027.csv"
}
calendar <- read.csv(csv_file, colClasses = "character")
due <- as.Date(calendar$invoice_due)
expected <- seq(as.Date("2027-01-01"), as.Date("2027-12-31"), by = "day")
stopifnot(length(due) == length(expected), !anyNA(due), all(due == expected))
markets <- c("Singapore" = "next_singapore", "Hong Kong" = "next_hong_kong",
"United States" = "next_us")
due_month <- as.integer(format(due, "%m"))
summarise_market <- function(column) {
settled <- as.Date(calendar[[column]])
stopifnot(!anyNA(settled), all(settled >= due))
crossed <- format(due, "%Y-%m") != format(settled, "%Y-%m")
tabulate(due_month[crossed], nbins = 12)
}
crossings <- vapply(markets, summarise_market, integer(12))
rownames(crossings) <- month.abb
stopifnot(identical(unname(colSums(crossings)), c(7, 7, 10)))
How many due dates cross each month-end?
The entries count receipts. With one invoice for 1,000 local currency units due each day, multiply a cell by 1,000 to get the cash carried into the following month. January's two dates, for example, are Saturday the 30th and Sunday the 31st. Both settle on Monday, 1 February, in all three markets.
| Month | Singapore | Hong Kong | United States |
|---|---|---|---|
| January | 2 | 2 | 2 |
| February | 2 | 2 | 2 |
| March | 0 | 0 | 0 |
| April | 0 | 0 | 0 |
| May | 0 | 0 | 3 |
| June | 0 | 0 | 0 |
| July | 1 | 1 | 1 |
| August | 0 | 0 | 0 |
| September | 0 | 0 | 0 |
| October | 2 | 2 | 2 |
| November | 0 | 0 | 0 |
| December | 0 | 0 | 0 |
| Year total | 7 | 7 | 10 |
Change the timing, then check the ledger
- On the US May ledger, assign $2,000 to the 29th, $500 to the 30th and $1,250 to the 31st. How much lower is the 31 May close than a forecast that uses the due dates?
- On the Singapore or Hong Kong ledger, suppose the customer approves May's weekend invoices on 31 May but sends all payments on Fridays. On which date will cash from those two invoices arrive?
Answers. The US closing cash balance is $3,750 lower, provided all three amounts had been counted in May's forecast. June's opening forecast must also carry those outstanding receipts to avoid losing them in the roll-forward. In Singapore and Hong Kong, the next Friday after Monday, 31 May is 4 June. The second answer changes the customer's payment schedule; the table above assumes payments every working day.
For a financing extension, the Singapore invoice financing calculator can be used to price an extra few days on an advance. The Hong Kong cash-flow projection gives a monthly ledger in which to move the receipt. The US business finance toolkit has a working-capital calculator for testing the shortfall. Finofin publishes all three resources. Joe is Finofin's AI assistant.