firefly-iii/config/csv.php

196 lines
6.6 KiB
PHP
Raw Normal View History

<?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' => [
'_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',
],
'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',
],
'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',
],
'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'
],
'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'
],
'currency-code' => [
2015-07-04 23:18:02 -05:00
'name' => 'Currency code (ISO 4217)',
'mappable' => true,
'converter' => 'CurrencyCode',
'field' => 'currency',
'mapper' => 'TransactionCurrency'
],
'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'
],
'description' => [
2015-07-04 23:59:05 -05:00
'name' => 'Description',
'mappable' => false,
'converter' => 'Description',
'field' => 'description',
],
'date-transaction' => [
2015-07-04 23:18:02 -05:00
'name' => 'Date',
'mappable' => false,
'converter' => 'Date',
'field' => 'date',
],
'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',
],
'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',
],
'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 23:18:02 -05:00
'rabo-debet-credit' => [
'name' => 'Rabobank specific debet/credit indicator',
'mappable' => false,
'converter' => 'RabobankDebetCredit',
'field' => 'amount-modifier',
],
'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',
],
'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',
],
'tags-comma' => [
2015-07-05 11:18:44 -05:00
'name' => 'Tags (comma separated)',
'mappable' => true,
'field' => 'tags',
'converter' => 'TagsComma',
'mapper' => 'Tag',
],
'tags-space' => [
2015-07-05 11:18:44 -05:00
'name' => 'Tags (space separated)',
'mappable' => true,
'field' => 'tags',
'converter' => 'TagsSpace',
'mapper' => 'Tag',
],
'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'
],
'account-name' => [
2015-07-05 07:37:36 -05:00
'name' => 'Asset account name',
'mappable' => true,
'mapper' => 'AssetAccount',
'field' => 'asset-account',
'converter' => 'AssetAccountName'
],
'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',
'field' => 'asset-account',
'mapper' => 'AssetAccount'
],
'opposing-id' => [
'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',
],
'opposing-name' => [
2015-07-05 11:18:44 -05:00
'name' => 'Opposing account name',
'mappable' => true,
'field' => 'opposing-account-name',
'converter' => 'OpposingAccountName',
'mapper' => 'AnyAccount',
],
'opposing-iban' => [
2015-07-05 11:18:44 -05:00
'name' => 'Opposing account IBAN',
'mappable' => true,
'field' => 'opposing-account-iban',
'converter' => 'OpposingAccountIban',
'mapper' => 'AnyAccount',
],
'amount' => [
2015-07-04 23:18:02 -05:00
'name' => 'Amount',
'mappable' => false,
'converter' => 'Amount',
'field' => 'amount',
],
'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',
],
'sepa-ct-op' => [
2015-07-04 23:59:05 -05:00
'name' => 'SEPA Credit Transfer opposing account',
'mappable' => false,
'converter' => 'Description',
'field' => 'description',
],
'sepa-db' => [
2015-07-04 23:59:05 -05:00
'name' => 'SEPA Direct Debet',
'mappable' => false,
'converter' => 'Description',
'field' => 'description',
],
]
];