Find a file
2022-12-01 13:57:51 +10:00
docs poorly reconciled with additions to what we should do before launching 2022-11-30 23:19:03 +10:00
src/muneem it all works! 2022-12-01 13:57:51 +10:00
.gitignore we had to start over because i leaked passwords... 2022-11-25 23:25:49 +10:00
bb.edn we had to start over because i leaked passwords... 2022-11-25 23:25:49 +10:00
deps.edn we had to start over because i leaked passwords... 2022-11-25 23:25:49 +10:00
flake.lock we had to start over because i leaked passwords... 2022-11-25 23:25:49 +10:00
flake.nix it all works! 2022-12-01 13:57:51 +10:00
readme.rst started on assertions bit 2022-11-30 23:31:14 +10:00

======
Muneem
======

TODO
----
- [ ] Create assertion for each ingest to ensure we're tracking correctly
- [ ] Download NAB trade transactions and value
- [ ] Download spaceship returns
- [ ] MAYBE Mention uncategorized transactions in matrix chat so that i can categorize it 
- [ ] Post weekly spending in matrix chat


DONE
----
- [x] Read the CSV(s)
- [x] Figure out a way to download both CSVs from each account
- [x] Figure out what columns match to what data we care about
- [x] Marshall the data into a way that bean count understands
- [x] Open accounts that previously didn't exist
- [x] Write the transactions to the file
- [x] `pad` checking / savings accounts against some known value way in the past
- [x] MAYBE gonna have to write a rule engine that handles this
- [x] MAYBE Parse the transaction only once at the start, and then use the parsed map instead of passing around a vector of strings
- [x] Download Savings acct CSV
- [x] Import Savings acct CSV
- [x] RECONCILE

beancount:: 

  Beancount Format
  2016-12-06 * "Biang!" "Dinner"
    Liabilities:CreditCard   -47.23 USD
    Expenses:Restaurants


-----------
Assumptions
-----------

We'll also be making assumptions about the way accounts are structured. Since NAB provides categories we can put that into the account

=================== ==================================== =============== =======
Transaction Type    To                                   From            Misc
=================== ==================================== =============== =======
EFTPOS DEBIT        Expenses:<Category>:<Merchant Name>  Assets:Checking
TRANSFER CREDIT     Assets:Checking                      Assets:Savings
MISCELLANEOUS DEBIT Expenses:<Category>:<Merchant Name>  Assets:Checking
TRANSFER DEBIT      Expenses:Rent                        Assets:Checking IFF: (= amount 170) 

Additionally: 
- we'll may need to use account nunmber for distinguishing different CSVs
- The actual date is stored in Transaction details, which we can use as the comment