-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ledger UUID breaks ofxid matching #133
Comments
Huh, interesting. This is a feature I didn't know about. I suspect it probably modifies the output somewhat. I will take a look. |
It's not just the UUID that breaks it I think. It's any metadata comments on the transaction. Just curious, why is it that the ofxid is below the account as opposed to below the transaction? I just started learning ledger-cli a few weeks ago, so there's a lot I don't know. I only found that thing about the UUID thanks to a lucky google search when I was trying to deduplicate transactions. |
@trcoffman For the positioning of the For your original issue, I'm also not familiar with the UUID feature. Am I correct in assuming that you will end up with two transactions with the same UUID, one with an I'll note also that I have a lot of other metadata tags in my Ledger files, and I haven't run into this issue yet (though I'm not sure if I'm on the latest version of |
@501st-alpha1, Basically, I'm downloading 2 QFX files from my bank. One is for the credit card, one is for the checking account. When I import them into ledger, I end up with 2 similar transactions that are really referring to 1 transaction: paying my credit card bill from my checking account. Each transaction has its own ofxid. So, I address this issue by manually attaching the same UUID metadata to both transactions. Ledger will now treat them as a single transaction. If I do this, then when I go back and run ledger-autosync again, those transactions show up again and ledger-autosync fails to use the ofxid to deduplicate them. |
Got around to digging into this issue again. Given
Balance correctly doesn't duplicate the payment:
Likewise,
And
Indeed, according to this comment:
I haven't been able to find a way to disable this functionality in Ledger, so I'm not sure that there is anything If you'd like a workaround, then what I do in this case is copy/paste the
(As mentioned above, this exact scenario is the reason for having the |
@501st-alpha1 Thank you for looking into this and providing a workaround! |
If I add a UUID to deduplicate this transaction (because it's in the history for both the card and the checking account), then ledger-autosync fails to detect its ofxid and it shows back up in the output of ledger-autosync despite already being synced.
The text was updated successfully, but these errors were encountered: