Add converter test data
This commit is contained in:
67
tests/converters/wise_v0/rules.json
Normal file
67
tests/converters/wise_v0/rules.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"wise_v0": {
|
||||
"rules": [
|
||||
{
|
||||
"record_fields": {
|
||||
"target_account": "Amazon Kindle"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"target_account": "Expenses:Kindle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"record_fields": {
|
||||
"target_account": "Amazon Prime"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"flag": "*",
|
||||
"payee": "Amazon",
|
||||
"narration": "Amazon Prime Subscription",
|
||||
"target_account": "Expenses:AmazonPrime"
|
||||
}
|
||||
},
|
||||
{
|
||||
"record_fields": {
|
||||
"target_account": "Twitch"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"payee": "Twitch",
|
||||
"narration": "Twitch Subscription",
|
||||
"target_account": "Expenses:Twitch"
|
||||
}
|
||||
},
|
||||
{
|
||||
"record_fields": {
|
||||
"source_account": "Bossman"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"flag": "*",
|
||||
"payee": "Bossman",
|
||||
"narration": "Income from Bossman",
|
||||
"source_account": "Income:Bossman"
|
||||
}
|
||||
},
|
||||
{
|
||||
"record_fields": {
|
||||
"source_account": "John Doe",
|
||||
"target_account": "John Doe"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"narration": "Internal Transfer",
|
||||
"source_account": "Assets:BankAccount"
|
||||
}
|
||||
},
|
||||
{
|
||||
"record_fields": {
|
||||
"target_account": "Foodworks"
|
||||
},
|
||||
"transaction_fields": {
|
||||
"flag": "*",
|
||||
"payee": "Foodworks",
|
||||
"narration": "Grocery Shop",
|
||||
"target_account": "Expenses:Foodworks"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user