Fix Discover CC sign convention: negative CSV = charge (DEBIT)
Discover CC exports charges as negative amounts and payments/refunds as positive. invertAmountSign: true maps negative -> DEBIT (charge) and positive -> CREDIT (payment/refund), which is correct. 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: false, // positive = DEBIT (charge), negative = CREDIT (payment)
|
invertAmountSign: true, // negative = DEBIT (charge), positive = 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