Adds Beancount import helper script
Implements a script to import Beancount ledger transactions into the Castle accounting extension. The script fetches BTC/EUR rates, retrieves accounts from the Castle API, maps users, parses Beancount transactions, converts EUR to sats, and uploads the data to Castle. Adds error handling, dry-run mode, and detailed logging for improved usability. Displays equity account status and validates the existence of user equity accounts.
This commit is contained in:
parent
4ae6a8f7d2
commit
9054b3eb62
3 changed files with 724 additions and 0 deletions
1
helper/btc_eur_rates.csv
Symbolic link
1
helper/btc_eur_rates.csv
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/home/padreug/projects/historical-bitcoin-data/bitcoin_daily_prices.csv
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue