Mark bank-synced transactions as Cleared instead of Uncleared
Both SimpleFIN and Plaid only return posted transactions (SimpleFIN filters out pending, Plaid returns settled). These have already cleared at the bank so they should be marked Cleared on import. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -486,7 +486,7 @@ public class BankSyncService : IBankSyncService
|
|||||||
FitId = parsed.FitId,
|
FitId = parsed.FitId,
|
||||||
Fingerprint = fingerprint,
|
Fingerprint = fingerprint,
|
||||||
Type = parsed.Amount >= 0 ? TransactionType.Credit : TransactionType.Debit,
|
Type = parsed.Amount >= 0 ? TransactionType.Credit : TransactionType.Debit,
|
||||||
Status = TransactionStatus.Uncleared
|
Status = TransactionStatus.Cleared
|
||||||
};
|
};
|
||||||
|
|
||||||
_db.Transactions.Add(transaction);
|
_db.Transactions.Add(transaction);
|
||||||
|
|||||||
Reference in New Issue
Block a user