1 ;; -*- mode: beancount -*-
2 ;;
3 ;; An example of doing the equivalent of "virtual" transactions
4 ;; using only tags.
5 ;;
6 ;; See discussion here for details:
7 ;; https://groups.google.com/d/msg/ledger-cli/N8Slh2t45K0/aAz0i3Be4LYJ
8
9 2010-01-01 open Equity:OpeningBalances
10 2010-01-01 open Income:Employer:Salary
11 2010-01-01 open Assets:BofA:Checking
12 2010-01-01 open Assets:WellsFargo:Checking
13 2010-01-01 open Liabilities:Payables:Tithe
14 2010-01-01 open Liabilities:CreditCard
15 2010-01-01 open Expenses:Tithe
16 2010-01-01 open Expenses:Taxes
17
18
19 2010-01-02 * "Depositing some real money"
20 Equity:OpeningBalances -2000.00 USD
21 Assets:BofA:Checking 1000.00 USD
22 Assets:WellsFargo:Checking 1000.00 USD
23
24
25
26 2014-04-15 * "Receiving salary deposit"
27 Income:Employer:Salary -5000.00 USD
28 Expenses:Taxes 2000.00 USD
29 Assets:BofA:Checking 3000.00 USD
30
31 2014-04-15 * "Booking Tithe, see holy book for calculation details" #virtual
32 Assets:BofA:Checking -450.00 USD
33 Liabilities:Payables:Tithe
34
35
36
37 2014-05-02 * "Receiving allowance from Gran-ma"
38 Income:Employer:Salary -2000.00 USD
39 Assets:WellsFargo:Checking 2000.00 USD
40
41 2014-05-02 * "Booking Tithe" #virtual
42 Assets:WellsFargo:Checking -380.00 USD
43 Liabilities:Payables:Tithe
44
45
46
47 2014-05-10 * "Paying off some Huqullah using debit card" ^1cf30432b7f6
48 Assets:BofA:Checking -400.00 USD
49 Expenses:Tithe
50
51 2014-05-10 * "Booking off for Huququllah" ^1cf30432b7f6 #virtual
52 Assets:BofA:Checking 400.00 USD
53 Liabilities:Payables:Tithe
54
55
56
57 2014-05-15 * "Paying off some Huqullah using my credit card" ^0af2fffdc5f3
58 Liabilities:CreditCard -400.00 USD
59 Expenses:Tithe
60
61 2014-05-15 * "Booking off for Huququllah" ^0af2fffdc5f3 #virtual
62 Assets:WellsFargo:Checking 380.00 USD
63 Assets:BofA:Checking 20.00 USD
64 Liabilities:Payables:Tithe