Update readme. Refactor toldg a little. Provide example files for testing by the user.
This commit is contained in:
28
example/configs/getofx.json
Normal file
28
example/configs/getofx.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"secret": "s3cr3t",
|
||||
"client": {
|
||||
"url": "https://ofx.bank.com",
|
||||
"userid": "userid",
|
||||
"org": "B1",
|
||||
"clientuid": "clientuid",
|
||||
"fid": "fid",
|
||||
"bankid": "bankid",
|
||||
"version": 220
|
||||
},
|
||||
"accounts": [
|
||||
{
|
||||
"name": "OFX Checking",
|
||||
"accttype": "checking",
|
||||
"acctid": "111111",
|
||||
"csv_file": "inputs/2018_checking.csv",
|
||||
"fields": [ "", "date", "description", "amount", "", "", "" ]
|
||||
},
|
||||
{
|
||||
"name": "OFX Credit",
|
||||
"accttype": "credit",
|
||||
"acctid": "111111",
|
||||
"csv_file": "inputs/2018_credit.csv",
|
||||
"fields": ["date", "", "description", "", "", "amount"]
|
||||
}
|
||||
]
|
||||
}
|
||||
17
example/configs/toldg.json
Normal file
17
example/configs/toldg.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"input_directory": "inputs",
|
||||
"output_directory": "processed",
|
||||
"mappings_directory": "mappings",
|
||||
"csv_configs": [
|
||||
{
|
||||
"account1": "assets:checking",
|
||||
"file_match_regex": ".*_checking\\.csv",
|
||||
"fields": [ "", "date", "description", "amount", "", "", "" ]
|
||||
},
|
||||
{
|
||||
"account1": "liabilities:credit",
|
||||
"file_match_regex": ".*_credit\\.csv",
|
||||
"fields": ["date", "", "description", "", "", "amount"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user