Arth
Decision 7 of 18

Keep the date out of the duplicate check

One decision from Arth, which asks: Can an app understand your money without ever being told what it is?


Transactions arriving from different sources are deduplicated on what identifies the payment itself — and for transactions carrying a strong bank reference, the date is deliberately left out.

This was discovered, not designed. An SMS alert and a statement row describing the same real-world payment can disagree on transaction date versus posting date. A date-sensitive check would have silently created duplicate records for a meaningful fraction of transactions — silently being the operative word, because nothing would have errored and the totals would simply have been wrong.

It is the kind of rule that looks arbitrary in a diff and obvious in a bug report, which is exactly why it has tests around it.

Your opinion

Would you have decided this differently?

Where do you stand?

What gets published. I read every opinion and publish substantive ones, including those that disagree with me, as a scroll on this page. I may add a reply. I leave out spam, abuse and anything off-topic, so please include only what you’d be happy to see in public.

Where it goes. I keep your opinion, your stance and, if you allow it, your name in a database run by Neon. I don’t ask for your email or store your IP address, but Netlify, which hosts this site, may log it when it handles your request. To have yours removed, email pkrishna@vaulthai.health. A published opinion is removed from the site, though it can remain in my site’s version history.

Next