Hi all,
I stumbled across PTA just two weeks a go and as a software developer I don’t have to say how much I love plain text and the advantages of having everything in a git repository.
I used GnuCash for around three years now and it worked quite well so far, but it’s an application and you need to have it installed to work with your data.
I’d like to switch to PTA and I’ve already converted my GnuCash files over to hledger format, which is the tool I decided to start with. I’ve also setup some rules to import my bank account statements, which also work as expected (or even better as I expected).
One thing I can’t get my head around is to merge (or set entries as cleared) with the statement of the bank. As example:
Go to the grocery, buy bread and a t-shirt. Back home I’ll add the receipt manually like this:
2025-11-06 Grocery XYZ
exp:grocery:food 10 ; Delicious bread
exp:grocery:cloth 15 ; A new t-shirt for myself
asset:bank -25
At the end of the month I’ll get the statement of the bank and import it, with some rules, to my journal, which then may look like this:
2025-11-06=2025-11-07 (UNIQUE_CODE) Grocery XYZ
exp:grocery 25
asset:bank -25
Now I’ve the same entry twice. So I edit it manually, probably work with flags to see which one to check, and then I’d like to have something like this:
2025-11-06=2025-11-07 (UNIQUE_CODE) Grocery XYZ
exp:grocery:food 10 ; Delicious bread
exp:grocery:cloth 15 ; A new t-shirt for myself
asset:bank -25
Does anyone has a good workflow to achieve this? Maybe it’s already written somewhere and I just used the wrong search terms (Not a native English speaker).
I already thought about a manual entry journal like this:
- Collect my receipt of the current month in a
manual.journal - Import the statement from the bank to my
main.journal - Use a diff tool like meld to merge the entries from the
manual.journaltomain.journal - Clean up
manual.journalto start the new month again
Thanks for any suggestions, idea or hint.