Year-end cash receipts can misstate periods when bank deposit dates replace receipt dates
A receipts report can place $840 in the wrong year while still passing a test that sums the full dataset. The problem arises when a bank import supplies the only date available, since a bank records when a deposit posted rather than when customers handed over their checks. In a fictional example, one check arrives December 30, 2026, and another on January 4, 2027, but both are posted together as one deposit on January 4. The author recommends reporting three figures: receipts received in the period, deposits posted in the period, and checks received but not yet posted at period close. A Python and SQLite script demonstrates this with regression tests across December, early January, and the full period, and a negative test shows that filtering by deposit date misplaces the December money. The author advises keeping feed-only records in staging until a payment record with a true receipt date exists.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in