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
Can we support option for CSV export without multiple lines per split? #5285
Comments
Think this change in v1.5.3 https://github.com/moneymanagerex/money ... ssues/3319 improved the output to handle split transactions. Perhaps what we could do, if CATEGORY AND SUBCATEGORY are not required in the CSV output then we could output a single line. I guess this is probably a logic thing to do. |
Can we just in general aggregate by the fields selected for output, e.g. you select just Date, Payee, Amount it will aggregate all transactions by those three fields only? |
Not sure what you are saying by 'aggregate all transactions by those three fields only' what are you aggregating? |
Understood. However we then lose the concept of a transaction, and I don't think we should be losing that. E.g. if we think of the originators issue with reconciling the output from the CSV export with their bank account then the 3x Paycheck/Taxes transactions are lost. |
Isn't the whole point of the split transaction that it is truly a single transaction, just covering multiple categories? So the 3x Paycheck/Taxes transactions are already 1 transaction in their bank account, otherwise they would (or should) have entered 3 separate individual transactions instead of 1 split transaction. Aggregating by ID should 1-to-1 match the number & value of transactions in their bank account. |
I'd hazard a guess that, exporting CSV from MMEX and cross checking that with a CSV from the bank using your own script is a pretty niche way of doing things. The OP could easily include the ID field in their CSV export and then do the aggregation in their Python script before comparing with the bank's CSV. I'd venture that a much more common approach is for users to periodically (i.e. monthly/weekly/daily?) download a CSV or QIF from the bank and import the transactions into MMEX. You are then guaranteed to get all the transactions rather than having to make sure that your manual entry of transactions in MMEX matches the reality in the bank. Much less work overall IMO. This latter approach will be even more popular if MMEX ultimately gets the ability to connect to bank feeds, which we have discussed elsewhere. |
No I was thinking of the scenario like.... . I go the bar, buy a glass of wine using my debit card, then feel like another (they never give you enough!), so buy another on my card. Two transactions - same date, same payee, same category. I think what you are suggesting would aggregate these. Unless I'm missing something. This would not then match the bank transactions.
Agreed.
Yes, I think with hindsight the best action would be for the user to aggregate by ID if they want a an aggregated amount. |
Same date, same payee, same category but unique IDs since they are two real transactions, so if you include ID in your export they would not be aggregated. |
Closing as originator is going to aggregate using the ID. |
https://forum.moneymanagerex.org/viewtopic.php?p=23470
I am using MMEX since 2012 and I am very grateful for it as it has all the features I need.
However, this is my problem. I usually export the transactions as CSV at the end of every month and then run a python script to check them against that months bank statement (CSV) to see if I did not forget to input any spending. It used to work like a charm but at some moment in the past MMEX started to export not the whole sum but individual items (e.g. shopping for groceries, bought bread for 1, eggs for 1 and butter for 2, before I had date - 4, now I have date-1, date-1, date-2). I think it was around version 1.3.5
I solved this by exporting the database using the older version of mmex, but as the db is modernized now, it does not work anymore.
Is there a way how to export the database in the old way? I could probably revert to the old db and use the older version but it is not neat.
Thanks for any tips
The text was updated successfully, but these errors were encountered: