Fix bank account sign convention: positive = DEBIT (withdrawal)
Huntington and Fidelity CSVs use positive amounts for withdrawals/ purchases and negative for deposits/credits. Change invertAmountSign to false so the normalizer correctly maps them. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -52,7 +52,7 @@ export const bankProfiles: BankProfile[] = [
|
||||
dateColumn: 'Date',
|
||||
descriptionColumn: 'Description',
|
||||
amountColumn: 'Amount',
|
||||
invertAmountSign: true, // negative = DEBIT, positive = CREDIT
|
||||
invertAmountSign: false, // positive = DEBIT (withdrawal), negative = CREDIT (deposit)
|
||||
detectColumns: ['Date', 'Description', 'Amount', 'Split', 'Tags'],
|
||||
},
|
||||
{
|
||||
@@ -63,7 +63,7 @@ export const bankProfiles: BankProfile[] = [
|
||||
dateColumn: 'Run Date',
|
||||
descriptionColumn: 'Description',
|
||||
amountColumn: 'Amount($)',
|
||||
invertAmountSign: true, // negative = DEBIT (purchase), positive = CREDIT
|
||||
invertAmountSign: false, // positive = DEBIT (purchase/withdrawal), negative = CREDIT (deposit/dividend)
|
||||
detectColumns: ['Run Date', 'Description', 'Amount($)'],
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user