Fix Discover CC invertAmountSign: positive CSV amount = DEBIT (charge)
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 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,7 @@ export const bankProfiles: BankProfile[] = [
|
|||||||
dateColumn: 'Trans. Date',
|
dateColumn: 'Trans. Date',
|
||||||
descriptionColumn: 'Description',
|
descriptionColumn: 'Description',
|
||||||
amountColumn: 'Amount',
|
amountColumn: 'Amount',
|
||||||
invertAmountSign: true, // negative = DEBIT (charge), positive = CREDIT (payment/refund)
|
invertAmountSign: false, // positive = DEBIT (charge), negative = CREDIT (payment/refund)
|
||||||
categoryColumn: 'Category',
|
categoryColumn: 'Category',
|
||||||
detectColumns: ['Trans. Date', 'Post Date', 'Description', 'Amount', 'Category'],
|
detectColumns: ['Trans. Date', 'Post Date', 'Description', 'Amount', 'Category'],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user