Following refund adjustments and holding periods
A refund can arrive after the payout has already been deposited, meaning it has to be posted in the period it belongs to, not the period the money moved. Marketplaces also routinely hold funds during dispute windows or delivery confirmation, so the deposit you see may be older than the sales it represents.
The same reasoning covers chargebacks and dispute holds: they belong beside the order that caused them, not beside the bank line that carried the deduction.