From Dev.to
Detecting a missing bank statement from balance carry-forward (not from dates)
To find a missing bank statement, sort each account's statements by period and compare every statement's closing balance with the next statement's opening balance. They should be identical to the cent...
