On Sat, Apr 27, 2019, at 18:28, Florian Lindner wrote:
> + How can I detect duplicates when I try to import the same transaction twice?

You should try zerosum plugin [1], possibly with my patch [2].

I used to do de-dup by add `__duplicate__` meta key to the transaction by 
matching narrations when importing. However, zerosum plugin provides a much 
simpler way: Just posting each duplicating transaction to a "ZeroSumAccount", 
and the plugin will match them for you. This way, you do not need to do de-dup 
at all.

Another good thing about using zerosum is that you do not have to "smudge" the 
date of one transaction while doing non-instantaneous transactions (e.g. from 
your checking account to your credit card).


[1] https://github.com/redstreet/beancount_plugins_redstreet/tree/master/zerosum
[2] https://github.com/redstreet/beancount_plugins_redstreet/pull/2

-- 
Zhuoyun Wei

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/7db0ff4e-9761-4723-b006-7c1a0be47069%40www.fastmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to