Skip to content

Instantly share code, notes, and snippets.

@achiang
Created June 5, 2015 22:05
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save achiang/1b16a49f432375c68941 to your computer and use it in GitHub Desktop.
2015/05/01 Opening Balance
Assets:Cash 100 TZS
Equity:Initial Capital
2015/05/07 Prepay for EUR
Assets:Cash -50 TZS
Currency:TZS 50 TZS
Assets:EUR 55.556 EUR
Currency:EUR -55.556 EUR
#######################################################
ledger -f prepaid.dat balance
55.556 EUR
50 TZS Assets
50 TZS Cash
55.556 EUR EUR
-55.556 EUR
50 TZS Currency
-55.556 EUR EUR
50 TZS TZS
-100 TZS Equity:Initial Capital
--------------------
0
#######################################################
ledger --version
Ledger 3.1.0-20141005, the command-line accounting tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment