Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you do this? I am just getting into hledger and am curious about tracking this kind of stuff to see how much we would really save with a different electric supplier.




In my case (with beancount) an example transaction looks like:

  2025-12-04 * "CON ED OF NY CECONY 251203~ Tran: ACHDW"
    Assets:Schwab:Checking                                                                       -72.33 USD
    Expenses:Utilities:Electric:Supply:Rate                                                      143.00 KWH @@ 18.06 USD ; Supply 143.00 kWh @12.629¢/kWh
    Expenses:Utilities:Electric:Supply:Fees                                                        0.68 USD             ; Supply Merchant Function Charge
    Expenses:Taxes:Other                                                                           0.45 USD             ; Supply GRT & other tax surcharges
    Expenses:Taxes:Sales                                                                           0.86 USD             ; Supply Sales tax @4.5%
    Expenses:Utilities:Electric:Delivery:Service                                                  21.95 USD             ; Delivery Basic service charge
    Expenses:Utilities:Electric:Delivery:Rate                                                    143.00 KWH @@ 25.08 USD ; Delivery 143.00 kWh @17.539¢/kWh
    Expenses:Utilities:Electric:Delivery:Fees:Benefit                                            143.00 KWH @@ 0.71 USD ; Delivery System Benefit Charge @0.497¢/kWh
    Expenses:Taxes:Other                                                                           2.29 USD            ; Delivery GRT & other tax surcharges
    Expenses:Taxes:Sales                                                                           2.25 USD            ; Delivery Sales tax @4.5%

which I extract from the PDF bill I get from them.

Thanks! This gives me a base to start from.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: