From 344a4b8a4676dbf9c007bb0967dae0dc61a6474d Mon Sep 17 00:00:00 2001 From: jerick Date: Mon, 25 May 2026 17:33:43 +0000 Subject: [PATCH] Fix Discover CC invertAmountSign: positive CSV amount = DEBIT (charge) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The prior fix had it backwards — invertAmountSign: true made positive amounts CREDIT, so charges were stored with the wrong type. Discover CC positive amounts are charges (money out), which should be DEBIT. Co-Authored-By: Claude Sonnet 4.6 --- src/lib/csv/bank-profiles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/csv/bank-profiles.ts b/src/lib/csv/bank-profiles.ts index cb6b8aa..1233552 100644 --- a/src/lib/csv/bank-profiles.ts +++ b/src/lib/csv/bank-profiles.ts @@ -40,7 +40,7 @@ export const bankProfiles: BankProfile[] = [ dateColumn: 'Trans. Date', descriptionColumn: 'Description', amountColumn: 'Amount', - invertAmountSign: true, // negative = DEBIT (charge), positive = CREDIT (payment/refund) + invertAmountSign: false, // positive = DEBIT (charge), negative = CREDIT (payment/refund) categoryColumn: 'Category', detectColumns: ['Trans. Date', 'Post Date', 'Description', 'Amount', 'Category'], },