Accountancy

ledger – powerful, command-line double-entry accounting system

Ledger is a command-line based double-entry bookkeeping application.

Ledger uses text files for input. It reads the files and generates reports; there is no other database or stored state. To use Ledger, you create a file of your account names and transactions, run from the command line with some options to specify input and requested reports, and get output. The output is generally plain text, though you could generate a graph or html instead. Ledger is simple in concept, surprisingly rich in ability, and easy to use.

The software is published under an open source license.

Ledger is written in ANSI C++.

Key Features

  • The software never creates or modifies your data. Your entries are kept in a text file that you maintain, and you can rest assured, no automated tool will ever change that data.
  • The amount of data required by Ledger is minimal. It figures out from looking at your data what you mean by it and how you want it reported back to you. Accounts are created as they appear; currencies are created as they’re referenced. Anywhere that a value can be calculated, you can leave it out.
  • Double-entry accounting tool, meaning that all entries must balance. If an entry does not balance, it will cause an error and the report will not be generated. Ledger is always checking the accuracy of your entries at every run; you won’t ever run into problems with “unaccounted” sums in an account.
  • 100% currency-agnostic. You can store multiple currencies in any account, convert between them, or even pay in one currency and receive change in another.
  • International. UTF8 is accepted anywhere in data files, Ledger uses ISO format dates, attaches no meaning to the naming of accounts, and can accept data in either US or European decimal formats. It will report currencies back to you following the manner of your own entries.
  • Uses a simple set of base commands which can be extended in countless ways. You can create monthly reports, average reports, check account balances, reconcile accounts, keep track of capital gains on stocks, etc.

Website: www.ledger-cli.org
Support: Documentation, GitHub Code Repository
Developer: John Wiegley and many contributors
License: BSD license

ledger is written in C++. Learn C++ with our recommended free books and free tutorials.


Related Software

Accountancy Software
LedgerPowerful, command-line double-entry accounting system
hledgerElegant, versatile accounting program
AkauntingOnline accounting software for small businesses and freelancers
Frappe BooksDesktop accounting software for small and medium businesses
BeancountDouble-entry accounting from text files
InvoicePlaneSelf-hosting invoicing for freelancers and small businesses
SQL-LedgerDouble entry accounting system
BigcapitalAccounting and inventory software
LedgerSMBDouble entry accounting system based on SQL-Ledger
rustledgerRust implementation of Beancount
GNUKhataBusiness software for small/medium size companies
GnuCashPersonal and small-business financial accounting software
Ledger (Go)Command line application for plain text accounting
Fruit CreditsKeep plain text accounts
AbandonText based, double-entry accounting system

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments