-
Notifications
You must be signed in to change notification settings - Fork 0
/
personal.import
47 lines (39 loc) · 1009 Bytes
/
personal.import
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
47
#!/usr/bin/env python3
import sys
from os import path
# Insert the directory of this file into the search path
# so that the following imports work.
sys.path.insert(0, path.join(path.dirname(__file__)))
from importers.td import td_csv
from importers.rbc import rbc_csv
from importers.eqbank import eqbank_csv
# set up the importers. This file is the configuration file used by
# bean-identify, bean-extract and bean-file commands
# https://beancount.github.io/docs/importing_external_data.html#configuration
CONFIG = [
td_csv.Importer(
"chequing",
"Assets:CA:TD:Chequing",
"CAD"
),
td_csv.Importer(
'credit',
'Liabilities:CA:TD:Credit',
'CAD'
),
rbc_csv.Importer(
'chequing',
'Assets:CA:RBC:Chequing',
'CAD'
),
rbc_csv.Importer(
'credit',
'Liabilities:CA:RBC:Visa',
'CAD'
),
eqbank_csv.Importer(
'savings',
'Assets:CA:EQ:Savings',
'CAD'
)
]