Skip to content

simonmichael/hledger_finance

Repository files navigation

hledger finance repo

Here we track the hledger project's finances, for clarity, dogfooding, and as a real-world example of FOSS project accounting with hledger. (shortcut: https://finance.hledger.org)

See also the FINANCE section on the hledger website, eg Sponsor hledger, Regression bounty and FINANCE notes.

In this directory:

  • Justfile - maintenance and reporting scripts. just to see help.
  • hledger.conf - local hledger config
  • main.journal - top-level journal file
  • accounts.journal - account declarations
  • oc.* - hledger open collective CSV, conversion rules, journal
  • other.journal - other transactions, manually recorded

The rest of this README is reports, intended to be somewhat readable on Github. These are regenerated semi-automatically, and may improve as data and scripts are cleaned up.

Update process:

  1. View latest OC transactions with all kinds selected: https://opencollective.com/hledger/transactions?kind=CONTRIBUTION%2CEXPENSE%2CHOST_FEE%2CPAYMENT_PROCESSOR_FEE%2CPAYMENT_PROCESSOR_COVER
  2. click Download CSV; click Export CSV
  3. just update to gather the csv, regenerate and check journals, and update reports
  4. Review changes, investigate/resolve any issues, commit
  5. Check that the latest net asset balance matches https://opencollective.com/hledger#category-BUDGET > TODAY'S BALANCE
  6. git push to update https://github.com/simonmichael/hledger_finance

Reports

Yearly Assets & Liabilities

accountassets:opencollectiveTotal:
commodityUSDUSD
2017100.92100.92
2018290.99290.99
2019372.66372.66
20201437.231437.23
20214689.884689.88
20226863.666863.66
20237465.737465.73
20247557.017557.01
total

Yearly Revenues & Expenses

accountrevenues:donationsexpenses:bountiesexpenses:feesexpenses:miscTotal:
commodityUSDUSDUSDUSDUSD
2017120.000-19.080100.92
2018225.000-34.930190.07
2019105.000-23.33081.67
20201254.380-189.8101064.57
20214721.00-760.01-708.3403252.65
20223744.00-400.00-592.10-578.122173.78
20231868.00-862.00-303.93-100.00602.07
20241091.00-849.77-149.95091.28
total13128.38-2871.78-2021.47-678.127557.01

This Year's Revenues & Expenses

Income Statement 2024-01-01..2024-10-15

Commodity2024-01-01..2024-10-15
Revenues
donationsUSD1091.00
  October SwimmerUSD280.00
  Joyful SystemsUSD150.00
  Bas van DijkUSD100.00
  MarcUSD100.00
  usaAmchUSD100.00
  Jack TodaroUSD50.00
  akanshaG42USD50.00
  incognitoUSD50.00
  markokocicUSD50.00
  Brandon BarkerUSD20.00
  FrankUSD20.00
  James BlachlyUSD20.00
  Ken EwingUSD20.00
  Rishi HyankiUSD20.00
  Samim PezeshkiUSD20.00
  GuestUSD18.00
  Richard KellyUSD18.00
  doppy1988USD5.00
Total:USD1091.00
 
Expenses
bountiesUSD849.77
  Simon MichaelUSD400.00
  Bas van DijkUSD100.00
  usaAmchUSD100.00
  Pranesh PrakashUSD50.00
  William PierceUSD50.00
  akanshaG42USD50.00
  markokocicUSD50.00
  Ivan PopovychUSD49.77
feesUSD149.95
  Open Source CollectiveUSD77.94
  StripeUSD50.85
  PayPalUSD18.25
  Other Payment ProcessorUSD2.91
Total:USD999.72
 
Net:USD91.28

Yearly Net Income

2017	       101 
2018	       190 +
2019	        82 
2020	      1065 +++++++
2021	      3253 +++++++++++++++++++++
2022	      2174 ++++++++++++++
2023	       602 ++++
2024	        91 

Yearly Net Assets

2017	       101 
2018	       291 +
2019	       373 ++
2020	      1437 +++++++++
2021	      4690 +++++++++++++++++++++++++++++++
2022	      6864 +++++++++++++++++++++++++++++++++++++++++++++
2023	      7466 +++++++++++++++++++++++++++++++++++++++++++++++++
2024	      7557 ++++++++++++++++++++++++++++++++++++++++++++++++++

Assets Over Time

                                               hledger assets


                                        bal --depth=1 ^assets --historical
        ⢰⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢒⣒⣒⣒⣒⣒⣒⣒⣒⠒⠒⠒⠒⢲
  8000  ⢸ ⠠⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤                                                                    ⢀⣀  ⣀⡤⠴⠒⠳⠤⠦⠏⠉⠉⠉⠉⠉⠁  ⠙    ⢸
        ⢸             assets                                                       ⣠⣀⡠⠴⠶⠚⠉⠈⠉⠉                     ⢸
        ⢸                                                                     ⣀ ⣀⡔⠋ ⠁                             ⢸
  6000  ⢸                                                                   ⢀⡔⠻⠟⠁                                 ⢸
        ⢸                                                                 ⢀⡔⠋                                     ⢸
        ⢸                                                               ⣠⡶⠋                                       ⢸
  4000  ⢸                                                            ⣀⣤⠞⠁                                         ⢸
[USD]   ⢸                                                          ⣠⠚                                             ⢸
        ⢸                                                       ⢀⡴⠚⠁                                              ⢸
  2000  ⢸                                                    ⣀⡤⠚⠉                                                 ⢸
        ⢸                                             ⢀⣀⡤⠴⠒⠚⠉⠁                                                    ⢸
        ⢸    ⢀⣀⣀⣀⣀⣀⣠⣤⣤⣤⣤⣤⣤⠤⠤⠤⠤⠤⠤⠤⠤⠴⠖⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠛⠚⠉⠉⠉                                                           ⢸
      0 ⠘⠂⠒⠒⠲⠖⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠶⠐⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠰⠆⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠂⠶⠐⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠰⠆⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠂⠶⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠰⠖⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠖⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠒⠘


        2017        2018         2019        2020         2021        2022        2023         2024        2025

Revenues Over Time

                                        hledger monthly revenues


                                      bal --depth=1 ^revenues --monthly
       ⢰⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢒⣒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢲
       ⢸                                                                ⢸⢸  ⢰⢲             ⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤            ⢸
       ⢸                                                              ⢠⢦⢸⢸⢠⢲⢸⢸                         revenues   ⢸
       ⢸                                                          ⡤⠤⠤⠞⠋⠘⠚⠘⠚⢸⢸⠘⢦                                   ⢸
  400  ⢺                                                          ⡇        ⢸⢸ ⢸ ⢀⠤⡀                ⢠⢤             ⢸
       ⢸                                                      ⡤⡄⡤⡄⡇        ⠸⠼ ⠸⠤⠴ ⡇                ⢸⢸             ⢸
       ⢸                                                      ⡇⡇⡇⡇⡇               ⡇                ⢸⢸             ⢸
       ⢸                                                     ⡖⠃⡇⡇⢧⠇               ⣇⡀               ⢸⢸       ⡤⡄    ⢸
[USD]  ⢼                                                     ⡇ ⡇⡇                  ⡇   ⡎⡇          ⢸⢸⠄      ⡇⡇    ⢸
       ⢸                                              ⣀     ⢀⡇ ⣇⡇                  ⠓⠒⠚⠒⠃⠧⠤⠤⠤⠞⠹⠜⢹  ⢸⠉⢸⡀      ⡇⡇    ⢸
       ⢸                                            ⢰⠚⠈⠒⠒⠒⠒⠋⠉  ⠈                               ⠈⠉⠉⠉  ⢨⡇     ⡇⣇    ⢸
       ⢸                           ⢠⠖⡄              ⢸                                                ⠸⣃⣀⣀⣀⣀⣀⡇     ⢸
       ⣸    ⠠⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠴⠒⠒⠒⠒⠲⠤⠤⠤⠼ ⠧⠤⣄⣤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠼                                                             ⢸
    0  ⠘⠒⠒⠒⠂⠶⠐⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠆⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠆⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠂⠶⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠰⠆⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠂⠶⠐⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠆⠘


       2017         2018        2019         2020        2021         2022         2023        2024         2025

Expenses Over Time

                                        hledger monthly expenses


                                      bal --depth=1 ^expenses --monthly
       ⢰⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢒⣒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢲
       ⢸                                                                     ⢸⢸            ⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠄            ⢸
       ⢸                                                                     ⢸⢸                        expenses   ⢸
       ⢸                                                                     ⢸⢸                                   ⢸
  400  ⢺                                                             ⣠⣄      ⢸⢸                              ⡞    ⢸
       ⢸                                                             ⡇⢸      ⢸⢸                              ⡇    ⢸
       ⢸                                                             ⡇⢸ ⢀⣀   ⢸⢸                 ⢸⢹          ⡞⠁    ⢸
       ⢸                                                             ⡇⢸ ⢸⢸   ⢸⢸    ⣀            ⢸⢸          ⡇     ⢸
[USD]  ⢼                                                            ⡖⠃⢸ ⢸⢸   ⢸⢸    ⡏⡇     ⡯⢵    ⢸⢸          ⡇     ⢸
  200  ⢸                                                            ⡇ ⢸⢰⠚⢸⢰⢹ ⢸⢸⡀   ⡇⡇     ⡇⢸    ⢸⢸⢰⢳        ⡇     ⢸
       ⢸                                                            ⡇ ⢸⢸ ⢸⢸⢸ ⢸ ⢹   ⡇⡇ ⡏⡇ ⡎⠁⠈⢳   ⢸⠈⠚⠸⢤  ⠤⡄   ⡇     ⢸
       ⢸                                                      ⣠⡀⣀⡀⡴⠶⠃ ⠘⠚ ⠘⠚⠸⠼⠉ ⠘⠤⠶⣀⡇⡇ ⡇⢧⡀⡇  ⢸   ⢸   ⢸  ⡇⡇   ⡇     ⢸
       ⣸    ⣠⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣠⠤⣤⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣄⣀⣠⠖⠒⠒⠒⠒⠒⠒⠒⠋ ⠓⠃⠈                ⠉ ⠙⠉⠁ ⠓⠃  ⠈⠓⠒⠓⠚   ⠘⠒⠤⠃⠧⠤⠤⠤⠇     ⢸
    0  ⠘⠒⠒⠒⠂⠶⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠖⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠖⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠂⠶⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠰⠆⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠂⠶⠐⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠲⠆⠘


       2017         2018        2019         2020        2021         2022         2023        2024         2025