diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index de4cd74ca417..1e368997091d 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -1034,7 +1034,7 @@ class Invoice extends EntityModel implements BalanceAffecting $dueDay = $lastDayOfMonth; } - if ($currentDay >= $dueDay) { + if ($currentDay > $dueDay) { // Wait until next month // We don't need to handle the December->January wraparaound, since PHP handles month 13 as January of next year $dueMonth++;