2015-07-04 00:53:37 -05:00
|
|
|
<?php
|
|
|
|
return [
|
2015-07-05 12:31:58 -05:00
|
|
|
'specifix' => [
|
2015-07-05 12:57:44 -05:00
|
|
|
'RabobankDescription'
|
2015-07-05 12:31:58 -05:00
|
|
|
],
|
|
|
|
'post_processors' => [
|
|
|
|
'OpposingAccount',
|
|
|
|
'Description',
|
|
|
|
'Amount',
|
|
|
|
'Currency',
|
|
|
|
'Bill'
|
|
|
|
|
|
|
|
],
|
|
|
|
'roles' => [
|
2015-07-04 00:53:37 -05:00
|
|
|
'_ignore' => [
|
2015-07-04 23:26:34 -05:00
|
|
|
'name' => '(ignore this column)',
|
|
|
|
'mappable' => false,
|
2015-07-04 23:18:02 -05:00
|
|
|
'converter' => 'Ignore',
|
|
|
|
'field' => 'ignored',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'bill-id' => [
|
2015-07-05 07:37:36 -05:00
|
|
|
'name' => 'Bill ID (matching Firefly)',
|
|
|
|
'mappable' => false,
|
|
|
|
'field' => 'bill',
|
2015-07-05 11:18:44 -05:00
|
|
|
'converter' => 'BillId',
|
|
|
|
'mapper' => 'Bill',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'bill-name' => [
|
2015-07-05 07:37:36 -05:00
|
|
|
'name' => 'Bill name',
|
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'BillName',
|
|
|
|
'field' => 'bill',
|
2015-07-05 11:18:44 -05:00
|
|
|
'mapper' => 'Bill',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'currency-id' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'name' => 'Currency ID (matching Firefly)',
|
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CurrencyId',
|
|
|
|
'field' => 'currency',
|
2015-07-05 11:18:44 -05:00
|
|
|
'mapper' => 'TransactionCurrency'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'currency-name' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'name' => 'Currency name (matching Firefly)',
|
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CurrencyName',
|
|
|
|
'field' => 'currency',
|
2015-07-05 11:18:44 -05:00
|
|
|
'mapper' => 'TransactionCurrency'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'currency-code' => [
|
2015-07-04 23:18:02 -05:00
|
|
|
'name' => 'Currency code (ISO 4217)',
|
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CurrencyCode',
|
2015-07-05 01:45:05 -05:00
|
|
|
'field' => 'currency',
|
|
|
|
'mapper' => 'TransactionCurrency'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'currency-symbol' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'name' => 'Currency symbol (matching Firefly)',
|
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CurrencySymbol',
|
|
|
|
'field' => 'currency',
|
2015-07-05 11:18:44 -05:00
|
|
|
'mapper' => 'TransactionCurrency'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'description' => [
|
2015-07-04 23:59:05 -05:00
|
|
|
'name' => 'Description',
|
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Description',
|
|
|
|
'field' => 'description',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'date-transaction' => [
|
2015-07-04 23:18:02 -05:00
|
|
|
'name' => 'Date',
|
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Date',
|
|
|
|
'field' => 'date',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'date-rent' => [
|
2015-07-04 23:59:05 -05:00
|
|
|
'name' => 'Rent calculation date',
|
|
|
|
'mappable' => false,
|
2015-07-04 23:26:34 -05:00
|
|
|
'converter' => 'Date',
|
|
|
|
'field' => 'date-rent',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'budget-id' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'name' => 'Budget ID (matching Firefly)',
|
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'BudgetId',
|
2015-07-05 11:18:44 -05:00
|
|
|
'field' => 'budget',
|
|
|
|
'mapper' => 'Budget',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'budget-name' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'name' => 'Budget name',
|
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'BudgetName',
|
2015-07-05 11:18:44 -05:00
|
|
|
'field' => 'budget',
|
|
|
|
'mapper' => 'Budget',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
2015-07-04 23:18:02 -05:00
|
|
|
'rabo-debet-credit' => [
|
|
|
|
'name' => 'Rabobank specific debet/credit indicator',
|
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'RabobankDebetCredit',
|
|
|
|
'field' => 'amount-modifier',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'category-id' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'name' => 'Category ID (matching Firefly)',
|
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CategoryId',
|
2015-07-05 11:18:44 -05:00
|
|
|
'field' => 'category',
|
|
|
|
'mapper' => 'Category',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'category-name' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'name' => 'Category name',
|
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CategoryName',
|
2015-07-05 11:18:44 -05:00
|
|
|
'field' => 'category',
|
|
|
|
'mapper' => 'Category',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'tags-comma' => [
|
2015-07-05 11:18:44 -05:00
|
|
|
'name' => 'Tags (comma separated)',
|
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'tags',
|
|
|
|
'converter' => 'TagsComma',
|
|
|
|
'mapper' => 'Tag',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'tags-space' => [
|
2015-07-05 11:18:44 -05:00
|
|
|
'name' => 'Tags (space separated)',
|
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'tags',
|
|
|
|
'converter' => 'TagsSpace',
|
|
|
|
'mapper' => 'Tag',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'account-id' => [
|
2015-07-05 07:37:36 -05:00
|
|
|
'name' => 'Asset account ID (matching Firefly)',
|
|
|
|
'mappable' => true,
|
|
|
|
'mapper' => 'AssetAccount',
|
|
|
|
'field' => 'asset-account',
|
|
|
|
'converter' => 'AccountId'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'account-name' => [
|
2015-07-05 07:37:36 -05:00
|
|
|
'name' => 'Asset account name',
|
|
|
|
'mappable' => true,
|
|
|
|
'mapper' => 'AssetAccount',
|
|
|
|
'field' => 'asset-account',
|
|
|
|
'converter' => 'AssetAccountName'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'account-iban' => [
|
2015-07-04 23:18:02 -05:00
|
|
|
'name' => 'Asset account IBAN',
|
|
|
|
'mappable' => true,
|
2015-07-05 07:37:36 -05:00
|
|
|
'converter' => 'AssetAccountIban',
|
2015-07-05 01:45:05 -05:00
|
|
|
'field' => 'asset-account',
|
|
|
|
'mapper' => 'AssetAccount'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'opposing-id' => [
|
2015-07-05 09:39:25 -05:00
|
|
|
'name' => 'Opposing account account ID (matching Firefly)',
|
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'opposing-account-id',
|
2015-07-05 11:18:44 -05:00
|
|
|
'converter' => 'OpposingAccountId',
|
|
|
|
'mapper' => 'AnyAccount',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'opposing-name' => [
|
2015-07-05 11:18:44 -05:00
|
|
|
'name' => 'Opposing account name',
|
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'opposing-account-name',
|
|
|
|
'converter' => 'OpposingAccountName',
|
|
|
|
'mapper' => 'AnyAccount',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'opposing-iban' => [
|
2015-07-05 11:18:44 -05:00
|
|
|
'name' => 'Opposing account IBAN',
|
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'opposing-account-iban',
|
|
|
|
'converter' => 'OpposingAccountIban',
|
|
|
|
'mapper' => 'AnyAccount',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'amount' => [
|
2015-07-04 23:18:02 -05:00
|
|
|
'name' => 'Amount',
|
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Amount',
|
|
|
|
'field' => 'amount',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'sepa-ct-id' => [
|
2015-07-04 23:59:05 -05:00
|
|
|
'name' => 'SEPA Credit Transfer end-to-end ID',
|
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Description',
|
|
|
|
'field' => 'description',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'sepa-ct-op' => [
|
2015-07-04 23:59:05 -05:00
|
|
|
'name' => 'SEPA Credit Transfer opposing account',
|
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Description',
|
|
|
|
'field' => 'description',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'sepa-db' => [
|
2015-07-04 23:59:05 -05:00
|
|
|
'name' => 'SEPA Direct Debet',
|
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Description',
|
|
|
|
'field' => 'description',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
]
|
|
|
|
];
|