-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.bean
46 lines (37 loc) · 1.22 KB
/
example.bean
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
* Example beancount file
** Random metadata stuff
option "operating_currency" "GBP"
2000-01-01 custom "fava-option" "language" "en"
2000-01-02 commodity GBP
name: "British Pound"
** Prices
2022-01-01 price GOOG 50 GBP
** Open accounts
2023-01-01 open Equity:Bals
2023-01-02 open Assets:Bank GBP
2023-01-03 open Assets:Invest GOO "FIFO"
portfolio: "all"
2023-01-04 open Expenses:Food GBP, USD
2023-01-05 open Income:Job GBP
** Transactions
2023-02-01 * "Salary" ; comment
user: "Chris"
Assets:Bank 1000 GBP
Income:Job
2023-02-02 * "Buy food"
Assets:Bank -100 GBP
; comment
Expenses:Food 100 GBP
2023-02-03 * "Shop" "More food" #tag ^link
Assets:Bank -40.00 GBP
Expenses:Food 40.00 USD
** Balances and pads
2023-03-01 pad Assets:Invest Equity:Bals
2023-03-02 balance Assets:Invest 111 GOO
2023-03-03 balance Assets:Bank 860 GBP
** Other
2023-04-01 document Assets:Bank "./doc.pdf"
2023-04-02 note Assets:Bank "a note"
2023-04-03 query "name" "a bad query"
** Close an account
2023-05-01 close Assets:Bank