Go to file
Simon Michael de5a97600c imp: lib: Hledger.Read.Common: rename/add amount parsing helpers
removed:
 amountp'
 mamountp'

added:
 parseamount
 parseamount'
 parsemixedamount
 parsemixedamount'
2022-10-07 06:34:34 -10:00
.github ci: binaries-linux-x64-static: fix gather binaries step 2022-08-29 13:35:46 +01:00
.sandstorm
bin stack: bump to 2022-09-01 resolver 2022-09-01 15:30:33 -07:00
checks
doc doc: update github release links 2022-09-01 18:36:51 -07:00
docker
docker-static-arm32v7
examples examples: bcexample: drop beancountish double quotes 2022-07-23 02:35:17 +01:00
hledger ;doc: csv: clarify newest-first 2022-10-06 23:16:44 -10:00
hledger-install install: 1.27.1 2022-09-18 08:51:30 -10:00
hledger-lib imp: lib: Hledger.Read.Common: rename/add amount parsing helpers 2022-10-07 06:34:34 -10:00
hledger-ui ;doc: update manuals 2022-10-01 16:09:26 -10:00
hledger-web ;doc: update manuals 2022-10-01 16:09:26 -10:00
tools tools: release: use new binaries branch (and force a new build) 2022-06-05 00:03:39 +01:00
.ci
.ctags
.dockerignore
.editorconfig
.ghci
.gitignore tools: stop ignoring site/ 2022-04-14 10:58:31 -10:00
.hlint.yaml cln: silence some warnings/lints 2022-03-26 08:34:21 -10:00
.mailmap
.version ;pkg: bump version to 1.27.99 2022-09-01 18:37:40 -07:00
ACHIEVEMENTS.md ;doc: update achievements listing 2022-08-01 22:54:24 +01:00
azure-pipelines.yml
BACKLOG.org
bench-ledger.sh ;imp: perf: Ledger-friendly bench-ledger.sh, for comparative benchmarking 2021-11-20 22:05:19 -10:00
bench.sh
BENCHMARKS.md ;doc: fix tables of contents in developer documentation 2022-07-31 10:57:09 +01:00
cabal.project
CHANGELOGS.md doc: RELEASING, CHANGELOGS 2022-09-18 10:03:44 -10:00
CHANGES.md doc: changelogs 2022-09-18 10:02:25 -10:00
CODE.md ;doc: fix tables of contents in developer documentation 2022-07-31 10:57:09 +01:00
COMMITS.md ;doc: fix tables of contents in developer documentation 2022-07-31 10:57:09 +01:00
CONTRIBUTING.md ;doc: contributing: add haskell-hledger popcon chart 2022-08-25 05:13:14 +01:00
CREDITS.md doc: CREDITS: consistent heading 2022-07-24 07:21:54 +01:00
dev.hs
dir
Dockerfile
DOCS.md ;doc: fix tables of contents in developer documentation 2022-07-31 10:57:09 +01:00
EXAMPLES.md
FINANCE.md doc: FINANCE: fix TOC 2022-07-24 07:21:54 +01:00
hie-other.yaml ;tools: generalise hie-mac.yaml 2022-04-17 07:18:22 -10:00
ISSUES.md ;doc: fix tables of contents in developer documentation 2022-07-31 10:57:09 +01:00
LICENSE
MAKE.md
Makefile dev: make ghci*: allow use of Debug.Breakpoint 2022-08-26 11:29:16 +01:00
Makefile.helpsys
PULLREQUESTS.md ;doc: fix tables of contents in developer documentation 2022-07-31 10:57:09 +01:00
README.md CREDITS.html -> CREDITS.md 2022-06-09 17:12:32 +01:00
RELEASING.md doc: RELEASING, CHANGELOGS 2022-09-18 10:03:44 -10:00
ROADMAP.org
Shake.hs stack: bump to 2022-09-01 resolver 2022-09-01 15:30:33 -07:00
SHAKE.md
stack8.10.yaml imp: ui: support/require fsnotify 0.4.x 2022-09-19 18:18:50 -10:00
stack9.0.yaml imp: ui: support/require fsnotify 0.4.x 2022-09-19 18:18:50 -10:00
stack.yaml imp: ui: support/require fsnotify 0.4.x 2022-09-19 18:18:50 -10:00
TESTS.md ;doc: fix tables of contents in developer documentation 2022-07-31 10:57:09 +01:00
VERSIONNUMBERS.md
WORKFLOWS.md ;doc: fix tables of contents in developer documentation 2022-07-31 10:57:09 +01:00

hledger

Robust, intuitive plain text accounting

license on hackage github issues

Welcome! This a brief intro to hledger. For a more detailed version, see the home page: https://hledger.org

hledger is lightweight, cross platform, multi-currency, double-entry accounting software. It lets you track money, investments, cryptocurrencies, invoices, time, inventory and more, in a safe, future-proof plain text data format with full version control and privacy.

hledger aims to help both computer experts and regular folks gain clarity in their finances and time management. Though the UIs are basic, hledger can model any accounting situation and provide precise, clear reports. It is reliable, quick, and backed by the highly supportive Plain Text Accounting ecosystem. Using it is an excellent way to learn double entry accounting.

Compared to other PTA apps, hledger is actively maintained, with regular releases, and a strong focus on being easy to use and practical for everyday accounting.

More features: - Installs easily on unix, mac or windows - Complete, built-in documentation in multiple formats, beginner videos, tutorials etc. - Multiple UIs: command-line, terminal, web, mobile, editors/IDEs - Good at importing and exporting CSV; also outputs text/HTML/JSON/SQL - A robust, general, well-specified multi-currency accounting engine - Fast, analysing 25k transactions per second on a macbook air m1 - Accurate to 255 decimal places - Supports your preferred account names, currencies, number formats - Inspired by and partly compatible with Ledger CLI; interconvertible with Beancount - Scriptable by CLI, HTTP or API, with plenty of examples - Clean Haskell codebase, continually improved since 2007, with $100 regression bounties - Free software licensed under GPLv3+.

Examples

I use hledger to: - track income and spending, sometimes with budgets - see time reports by day/week/month/project - track reimbursables, invoices and payments - predict cashflow and account balances - get accurate numbers for tax filing - research past events

Heres an example of the journal file format:

2022-01-01 opening balances as of this date
    assets:bank:checking                $1000
    assets:bank:savings                 $2000
    assets:cash                          $100
    liabilities:creditcard               $-50
    equity:opening/closing balances

2022-01-15 market
    expenses:food             $50
    assets:cash              $-50

2022-02-01 GOODWORKS CORP
    assets:bank:checking           $1000
    income:salary                 $-1000

and some simple reports:

$ hledger bs
Balance Sheet 2022-02-15

                        || 2022-02-15 
========================++============
 Assets                 ||            
------------------------++------------
 assets:bank:checking   ||      $2000 
 assets:bank:savings    ||      $2000 
 assets:cash            ||        $50 
------------------------++------------
                        ||      $4050 
========================++============
 Liabilities            ||            
------------------------++------------
 liabilities:creditcard ||        $50 
------------------------++------------
                        ||        $50 
========================++============
 Net:                   ||      $4000 
$ hledger is --monthly                                            
Income Statement 2022-01-01..2022-02-28                                               
                                                                                      
               ||  Jan    Feb                                                         
===============++=============                                                        
 Revenues      ||                                                                     
---------------++-------------                                                        
 income:salary ||    0  $1000                                                         
---------------++-------------                                                        
               ||    0  $1000                                                         
===============++=============                                                        
 Expenses      ||                                                                     
---------------++-------------                                                        
 expenses:food ||  $50      0                                                         
---------------++-------------                                                        
               ||  $50      0                                                         
===============++=============                                                        
 Net:          || $-50  $1000                                                         

More examples and screenshots: https://hledger.org/#how-to-get-started

Funding

hledger is brought to you by Simon Michael, 140+ contributors, and the generous financial sponsors below.

After enjoying some personal or organisational success with hledger, you might want to become one of them, to help support this work. Its easy! Please see https://hledger.org/sponsor.html for details.

Organisational sponsors

Individual sponsors

If your logo/avatar needs to be added, let me know!