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:
2026-04-21 22:38:13 -04:00
parent 99e41aab78
commit a472749b21

View File

@@ -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($)'],
},
]