Add converter test data
This commit is contained in:
69
tests/converters/cbacsv_v0/rules.json
Normal file
69
tests/converters/cbacsv_v0/rules.json
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"cbacsv_v0": {
|
||||
"rules": [
|
||||
{
|
||||
"record_fields": {
|
||||
"target_account": "AMAZON AU MARKETPLACE"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"payee": "Amazon",
|
||||
"narration": "Something from Amazon AU",
|
||||
"target_account": "Expenses:Shopping:Amazon"
|
||||
}
|
||||
},
|
||||
{
|
||||
"record_fields": {
|
||||
"target_account": "APIA"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"flag": "*",
|
||||
"payee": "APIA",
|
||||
"narration": "House Insurance",
|
||||
"target_account": "Expenses:House:Insurance"
|
||||
}
|
||||
},
|
||||
{
|
||||
"record_fields": {
|
||||
"target_account": "MONTHLY FEE"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"flag": "*",
|
||||
"payee": "CBA",
|
||||
"narration": "Bank Fees",
|
||||
"target_account": "Expenses:Fees"
|
||||
}
|
||||
},
|
||||
{
|
||||
"record_fields": {
|
||||
"target_account": "BPAYN ERGON ENERGY RETAILBPAY"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"flag": "*",
|
||||
"payee": "Ergon Energy",
|
||||
"narration": "Electricity Bill",
|
||||
"target_account": "Expenses:House:Electricity"
|
||||
}
|
||||
},
|
||||
{
|
||||
"record_fields": {
|
||||
"target_account": "INTNL TRANSACTION FEE"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"payee": "CBA",
|
||||
"narration": "International Transaction Fee",
|
||||
"target_account": "Expenses:CBA:Fees"
|
||||
}
|
||||
},
|
||||
{
|
||||
"record_fields": {
|
||||
"source_account": "PAYMENT RECEIVED, THANK YOU",
|
||||
"target_account": "ACCOUNT"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"narration": "Credit Card Payment",
|
||||
"source_account": "Assets:OtherBankAccount"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user