[PR #4988] [CLOSED] [Bugfix] SimpleFin Account Current Balance #5692

Closed
opened 2026-02-28 21:16:50 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4988
Author: @passabilities
Created: 5/15/2025
Status: Closed

Base: masterHead: current-balance


📝 Commits (3)

  • 66da115 fix storing current account balance in db
  • f63553f show out of sync balances
  • 9ff8aca release notes

📊 Changes

3 files changed (+79 additions, -18 deletions)

View changed files

📝 packages/desktop-client/src/components/accounts/Balance.tsx (+59 -17)
📝 packages/loot-core/src/server/accounts/sync.ts (+14 -1)
upcoming-release-notes/4988.md (+6 -0)

📄 Description

Feature

Fix storing current account balance (at least for SimpleFin)

Problem

I live in the US and am currently only using SimpleFin to sync accounts. After checking the DB, it was clear that the account.balance_current was not being stored.

Solution

When accounts are being synced and the processBankSyncDownload function runs, it assumes the accountBalance value is a number, however, I was able to debug it and it is an array of objects that contain different balance values.

image

Shows the account's synced balance and amount out of sync

image

Looks like #4799 is similar


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/4988 **Author:** [@passabilities](https://github.com/passabilities) **Created:** 5/15/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `current-balance` --- ### 📝 Commits (3) - [`66da115`](https://github.com/actualbudget/actual/commit/66da11556bea928f4b1e35552adbaa8ba32eae7d) fix storing current account balance in db - [`f63553f`](https://github.com/actualbudget/actual/commit/f63553f5963a091f8a98d1eb2cb4ee915b88658c) show out of sync balances - [`9ff8aca`](https://github.com/actualbudget/actual/commit/9ff8aca794b01016fa93132465b4a3f2d73c61a8) release notes ### 📊 Changes **3 files changed** (+79 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/accounts/Balance.tsx` (+59 -17) 📝 `packages/loot-core/src/server/accounts/sync.ts` (+14 -1) ➕ `upcoming-release-notes/4988.md` (+6 -0) </details> ### 📄 Description # Feature Fix storing current account balance (at least for SimpleFin) ## Problem I live in the US and am currently only using SimpleFin to sync accounts. After checking the DB, it was clear that the `account.balance_current` was not being stored. ## Solution When accounts are being synced and the `processBankSyncDownload` function runs, it assumes the `accountBalance` value is a number, however, I was able to debug it and it is an array of objects that contain different balance values. ![image](https://github.com/user-attachments/assets/767c8be4-bc9f-4bf8-ab13-6ead3f862dc0) Shows the account's **synced balance** and amount **out of sync** ![image](https://github.com/user-attachments/assets/6a4771d5-71aa-498d-b085-06fccfdea3a9) Looks like #4799 is similar --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:16:50 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5692