[PR #2646] Fix OFX import with non-unique FITID #4430

Closed
opened 2026-02-28 20:55:43 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/2646

State: closed
Merged: No


Fix #608

When importing, only merge transaction found with same imported_id if the imported_payee and amount also match, and if a single transaction was found. Else let the fuzzy matching try to find a transaction match.

In the comment https://github.com/actualbudget/actual/issues/608#issuecomment-2067322290 I thought using the date to match the transaction but decided against it, the user could change the date to their liking and matching on it would becomes unreliable.

Testing with the OFX files provided in #608 was conclusive. Only 3 transactions were mistakenly merged:

  • 1 due to issue #2420, the dates where close enough and the amounts the same
  • 2 due to fitid, amounts and payee info being the same (the issue arose because the payee used were "Generic Transaction #xx" with xx being the fitid, something I believe unlikely with real data)

Testing with my own data was also ok.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/2646 **State:** closed **Merged:** No --- Fix #608 When importing, only merge transaction found with same imported_id if the imported_payee and amount also match, and if a single transaction was found. Else let the fuzzy matching try to find a transaction match. In the comment https://github.com/actualbudget/actual/issues/608#issuecomment-2067322290 I thought using the date to match the transaction but decided against it, the user could change the date to their liking and matching on it would becomes unreliable. Testing with the OFX files provided in #608 was conclusive. Only 3 transactions were mistakenly merged: - 1 due to issue #2420, the dates where close enough and the amounts the same - 2 due to fitid, amounts and payee info being the same (the issue arose because the payee used were "Generic Transaction #xx" with xx being the fitid, something I believe unlikely with real data) Testing with my own data was also ok.
GiteaMirror added the pull-request label 2026-02-28 20:55:43 -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#4430