mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-28 03:34:32 -06:00
195 lines
6.1 KiB
PHP
195 lines
6.1 KiB
PHP
<?php
|
|
return [
|
|
'specifix' => [
|
|
'RabobankDescription',
|
|
'AbnAmroDescription',
|
|
'Dummy'
|
|
],
|
|
'post_processors' => [
|
|
'Description',
|
|
'Amount',
|
|
'Currency',
|
|
'Bill',
|
|
'OpposingAccount', // must be after Amount!
|
|
'AssetAccount',
|
|
|
|
],
|
|
'roles' => [
|
|
'_ignore' => [
|
|
'mappable' => false,
|
|
'converter' => 'Ignore',
|
|
'field' => 'ignored',
|
|
],
|
|
'bill-id' => [
|
|
'mappable' => false,
|
|
'field' => 'bill',
|
|
'converter' => 'BillId',
|
|
'mapper' => 'Bill',
|
|
],
|
|
'bill-name' => [
|
|
'mappable' => true,
|
|
'converter' => 'BillName',
|
|
'field' => 'bill',
|
|
'mapper' => 'Bill',
|
|
],
|
|
'currency-id' => [
|
|
'mappable' => true,
|
|
'converter' => 'CurrencyId',
|
|
'field' => 'currency',
|
|
'mapper' => 'TransactionCurrency'
|
|
],
|
|
'currency-name' => [
|
|
'mappable' => true,
|
|
'converter' => 'CurrencyName',
|
|
'field' => 'currency',
|
|
'mapper' => 'TransactionCurrency'
|
|
],
|
|
'currency-code' => [
|
|
'mappable' => true,
|
|
'converter' => 'CurrencyCode',
|
|
'field' => 'currency',
|
|
'mapper' => 'TransactionCurrency'
|
|
],
|
|
'currency-symbol' => [
|
|
'mappable' => true,
|
|
'converter' => 'CurrencySymbol',
|
|
'field' => 'currency',
|
|
'mapper' => 'TransactionCurrency'
|
|
],
|
|
'description' => [
|
|
'mappable' => false,
|
|
'converter' => 'Description',
|
|
'field' => 'description',
|
|
],
|
|
'date-transaction' => [
|
|
'mappable' => false,
|
|
'converter' => 'Date',
|
|
'field' => 'date',
|
|
],
|
|
'date-rent' => [
|
|
'mappable' => false,
|
|
'converter' => 'Date',
|
|
'field' => 'date-rent',
|
|
],
|
|
'budget-id' => [
|
|
'mappable' => true,
|
|
'converter' => 'BudgetId',
|
|
'field' => 'budget',
|
|
'mapper' => 'Budget',
|
|
],
|
|
'budget-name' => [
|
|
'mappable' => true,
|
|
'converter' => 'BudgetName',
|
|
'field' => 'budget',
|
|
'mapper' => 'Budget',
|
|
],
|
|
'rabo-debet-credit' => [
|
|
'mappable' => false,
|
|
'converter' => 'RabobankDebetCredit',
|
|
'field' => 'amount-modifier',
|
|
],
|
|
'ing-debet-credit' => [
|
|
'mappable' => false,
|
|
'converter' => 'INGDebetCredit',
|
|
'field' => 'amount-modifier',
|
|
],
|
|
'category-id' => [
|
|
'mappable' => true,
|
|
'converter' => 'CategoryId',
|
|
'field' => 'category',
|
|
'mapper' => 'Category',
|
|
],
|
|
'category-name' => [
|
|
'mappable' => true,
|
|
'converter' => 'CategoryName',
|
|
'field' => 'category',
|
|
'mapper' => 'Category',
|
|
],
|
|
'tags-comma' => [
|
|
'mappable' => true,
|
|
'field' => 'tags',
|
|
'converter' => 'TagsComma',
|
|
'mapper' => 'Tag',
|
|
],
|
|
'tags-space' => [
|
|
'mappable' => true,
|
|
'field' => 'tags',
|
|
'converter' => 'TagsSpace',
|
|
'mapper' => 'Tag',
|
|
],
|
|
'account-id' => [
|
|
'mappable' => true,
|
|
'mapper' => 'AssetAccount',
|
|
'field' => 'asset-account-id',
|
|
'converter' => 'AccountId'
|
|
],
|
|
'account-name' => [
|
|
'mappable' => true,
|
|
'mapper' => 'AssetAccount',
|
|
'field' => 'asset-account-name',
|
|
'converter' => 'AssetAccountName'
|
|
],
|
|
'account-iban' => [
|
|
'mappable' => true,
|
|
'converter' => 'AssetAccountIban',
|
|
'field' => 'asset-account-iban',
|
|
'mapper' => 'AssetAccount'
|
|
],
|
|
'account-number' => [
|
|
'mappable' => true,
|
|
'converter' => 'AssetAccountNumber',
|
|
'field' => 'asset-account-number',
|
|
'mapper' => 'AssetAccount'
|
|
],
|
|
'opposing-id' => [
|
|
'mappable' => true,
|
|
'field' => 'opposing-account-id',
|
|
'converter' => 'OpposingAccountId',
|
|
'mapper' => 'AnyAccount',
|
|
],
|
|
'opposing-name' => [
|
|
'mappable' => true,
|
|
'field' => 'opposing-account-name',
|
|
'converter' => 'OpposingAccountName',
|
|
'mapper' => 'AnyAccount',
|
|
],
|
|
'opposing-iban' => [
|
|
'mappable' => true,
|
|
'field' => 'opposing-account-iban',
|
|
'converter' => 'OpposingAccountIban',
|
|
'mapper' => 'AnyAccount',
|
|
],
|
|
'opposing-number' => [
|
|
'mappable' => true,
|
|
'field' => 'opposing-account-number',
|
|
'converter' => 'OpposingAccountNumber',
|
|
'mapper' => 'AnyAccount',
|
|
],
|
|
'amount' => [
|
|
'mappable' => false,
|
|
'converter' => 'Amount',
|
|
'field' => 'amount',
|
|
],
|
|
'amount-comma-separated' => [
|
|
'mappable' => false,
|
|
'converter' => 'AmountComma',
|
|
'field' => 'amount',
|
|
],
|
|
'sepa-ct-id' => [
|
|
'mappable' => false,
|
|
'converter' => 'Description',
|
|
'field' => 'description',
|
|
],
|
|
'sepa-ct-op' => [
|
|
'mappable' => false,
|
|
'converter' => 'Description',
|
|
'field' => 'description',
|
|
],
|
|
'sepa-db' => [
|
|
'mappable' => false,
|
|
'converter' => 'Description',
|
|
'field' => 'description',
|
|
],
|
|
]
|
|
];
|