firefly-iii/config/csv.php

198 lines
6.1 KiB
PHP
Raw Normal View History

<?php
2016-05-20 01:57:45 -05:00
declare(strict_types = 1);
return [
2015-07-05 12:31:58 -05:00
'specifix' => [
2015-07-06 13:21:55 -05:00
'RabobankDescription',
'AbnAmroDescription',
2015-07-06 13:21:55 -05:00
'Dummy'
2015-07-05 12:31:58 -05:00
],
'post_processors' => [
'Description',
'Amount',
'Currency',
2015-07-05 14:47:59 -05:00
'Bill',
'OpposingAccount', // must be after Amount!
2015-07-09 11:33:09 -05:00
'AssetAccount',
2015-07-05 12:31:58 -05:00
],
'roles' => [
'_ignore' => [
2015-07-04 23:26:34 -05:00
'mappable' => false,
2015-07-04 23:18:02 -05:00
'converter' => 'Ignore',
'field' => 'ignored',
],
'bill-id' => [
2015-07-05 07:37:36 -05:00
'mappable' => false,
'field' => 'bill',
2015-07-05 11:18:44 -05:00
'converter' => 'BillId',
'mapper' => 'Bill',
],
'bill-name' => [
2015-07-05 07:37:36 -05:00
'mappable' => true,
'converter' => 'BillName',
'field' => 'bill',
2015-07-05 11:18:44 -05:00
'mapper' => 'Bill',
],
'currency-id' => [
2015-07-05 08:16:44 -05:00
'mappable' => true,
'converter' => 'CurrencyId',
'field' => 'currency',
2015-07-05 11:18:44 -05:00
'mapper' => 'TransactionCurrency'
],
'currency-name' => [
2015-07-05 08:16:44 -05:00
'mappable' => true,
'converter' => 'CurrencyName',
'field' => 'currency',
2015-07-05 11:18:44 -05:00
'mapper' => 'TransactionCurrency'
],
'currency-code' => [
2015-07-04 23:18:02 -05:00
'mappable' => true,
'converter' => 'CurrencyCode',
'field' => 'currency',
'mapper' => 'TransactionCurrency'
],
'currency-symbol' => [
2015-07-05 08:16:44 -05:00
'mappable' => true,
'converter' => 'CurrencySymbol',
'field' => 'currency',
2015-07-05 11:18:44 -05:00
'mapper' => 'TransactionCurrency'
],
'description' => [
2015-07-04 23:59:05 -05:00
'mappable' => false,
'converter' => 'Description',
'field' => 'description',
],
'date-transaction' => [
2015-07-04 23:18:02 -05:00
'mappable' => false,
'converter' => 'Date',
'field' => 'date',
],
'date-rent' => [
2015-07-04 23:59:05 -05:00
'mappable' => false,
2015-07-04 23:26:34 -05:00
'converter' => 'Date',
'field' => 'date-rent',
],
'budget-id' => [
2015-07-05 08:16:44 -05:00
'mappable' => true,
'converter' => 'BudgetId',
2015-07-05 11:18:44 -05:00
'field' => 'budget',
'mapper' => 'Budget',
],
'budget-name' => [
2015-07-05 08:16:44 -05:00
'mappable' => true,
'converter' => 'BudgetName',
2015-07-05 11:18:44 -05:00
'field' => 'budget',
'mapper' => 'Budget',
],
2015-07-04 23:18:02 -05:00
'rabo-debet-credit' => [
'mappable' => false,
'converter' => 'RabobankDebetCredit',
'field' => 'amount-modifier',
],
'ing-debet-credit' => [
'mappable' => false,
'converter' => 'INGDebetCredit',
'field' => 'amount-modifier',
],
'category-id' => [
2015-07-05 08:16:44 -05:00
'mappable' => true,
'converter' => 'CategoryId',
2015-07-05 11:18:44 -05:00
'field' => 'category',
'mapper' => 'Category',
],
'category-name' => [
2015-07-05 08:16:44 -05:00
'mappable' => true,
'converter' => 'CategoryName',
2015-07-05 11:18:44 -05:00
'field' => 'category',
'mapper' => 'Category',
],
'tags-comma' => [
2015-07-05 11:18:44 -05:00
'mappable' => true,
'field' => 'tags',
'converter' => 'TagsComma',
'mapper' => 'Tag',
],
'tags-space' => [
2015-07-05 11:18:44 -05:00
'mappable' => true,
'field' => 'tags',
'converter' => 'TagsSpace',
'mapper' => 'Tag',
],
'account-id' => [
2015-07-05 07:37:36 -05:00
'mappable' => true,
'mapper' => 'AssetAccount',
2015-07-09 09:37:42 -05:00
'field' => 'asset-account-id',
2015-07-05 07:37:36 -05:00
'converter' => 'AccountId'
],
'account-name' => [
2015-07-05 07:37:36 -05:00
'mappable' => true,
'mapper' => 'AssetAccount',
2015-07-09 09:37:42 -05:00
'field' => 'asset-account-name',
2015-07-05 07:37:36 -05:00
'converter' => 'AssetAccountName'
],
'account-iban' => [
2015-07-04 23:18:02 -05:00
'mappable' => true,
2015-07-05 07:37:36 -05:00
'converter' => 'AssetAccountIban',
2015-07-09 09:37:42 -05:00
'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',
2015-07-05 11:18:44 -05:00
'converter' => 'OpposingAccountId',
'mapper' => 'AnyAccount',
],
'opposing-name' => [
2015-07-05 11:18:44 -05:00
'mappable' => true,
'field' => 'opposing-account-name',
'converter' => 'OpposingAccountName',
'mapper' => 'AnyAccount',
],
'opposing-iban' => [
2015-07-05 11:18:44 -05:00
'mappable' => true,
'field' => 'opposing-account-iban',
'converter' => 'OpposingAccountIban',
'mapper' => 'AnyAccount',
],
'opposing-number' => [
'mappable' => true,
'field' => 'opposing-account-number',
'converter' => 'OpposingAccountNumber',
'mapper' => 'AnyAccount',
],
'amount' => [
2015-07-04 23:18:02 -05:00
'mappable' => false,
'converter' => 'Amount',
'field' => 'amount',
],
'amount-comma-separated' => [
'mappable' => false,
'converter' => 'AmountComma',
'field' => 'amount',
],
'sepa-ct-id' => [
2015-07-04 23:59:05 -05:00
'mappable' => false,
'converter' => 'Description',
'field' => 'description',
],
'sepa-ct-op' => [
2015-07-04 23:59:05 -05:00
'mappable' => false,
'converter' => 'Description',
'field' => 'description',
],
'sepa-db' => [
2015-07-04 23:59:05 -05:00
'mappable' => false,
'converter' => 'Description',
'field' => 'description',
],
]
2015-07-09 14:26:40 -05:00
];