Update readme. Refactor toldg a little. Provide example files for testing by the user.

This commit is contained in:
2020-08-11 16:30:30 -04:00
parent 3138be8d17
commit 367c38592b
13 changed files with 337 additions and 98 deletions

View 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"]
}
]
}

View 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"]
}
]
}