-
Notifications
You must be signed in to change notification settings - Fork 1
/
csv2journal.txt
22 lines (20 loc) · 1000 Bytes
/
csv2journal.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; Include meta.txt to have access to predefined accounts etc.
include meta.txt
; This Automated Transaction states:
; "Whenever you encounter the account Expenses:Rent in any transaction, reduce
; the account's amount by $260 and add $260 to the account
; Receivables:Flatmates."
; The rationale behind this is simple. Although the rent is paid by you, your
; flatmates will refund you later on. Thus, you don't really spent all that
; money on rent.
= expr account =~ /Expenses:Rent/
Expenses:Rent $-260
Receivables:Flatmates $260
; This Automated Transaction states:
; "Whenever you encounter the account Expenses:Utilities/Electricity, reduce
; the account's amount by 50% and and increase the account
; Receivables:Flatmates by the same amount."
; Same rationale as above.
= expr account =~ /Expenses:Utilities:Electricity/
Expenses:Utilities:Electricity -0.5
Receivables:Flatmates 0.5