Credit and debit same day - how are low balances handled?

Given the confluence of two threads, I thought I’d cross post this here for visibility: