[PR #5344] [MERGED] Fix Boursorama GoCardless transaction ordering #20247

Closed
opened 2026-04-14 21:31:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5344
Author: @Aerion
Created: 7/17/2025
Status: Merged
Merged: 7/19/2025
Merged by: @matt-fidd

Base: masterHead: fix-card-currency-gocardless-boursobank


📝 Commits (1)

  • 8ccb49a Fix Boursorama GoCardless transaction ordering

📊 Changes

3 files changed (+69 additions, -41 deletions)

View changed files

📝 packages/sync-server/src/app-gocardless/banks/boursobank_bousfrppxxx.js (+42 -41)
📝 packages/sync-server/src/app-gocardless/banks/tests/boursobank_bousfrppxxx.spec.js (+21 -0)
upcoming-release-notes/5344.md (+6 -0)

📄 Description

I wrongly thought that all the card transactions will always have their first line with the CARTE identifier. But as I have seen recently, it's not the case, and we shouldn't rely on the ordering of the array returned by the Boursorama GoCardless integration.

Thus, check for transaction patterns in all of the lines of the unstructured array.

This addresses a true case (added in test) where the payee name was wrongly extracted as being 110,04 Gbp / 1 Euro = 0,860763454.


🔄 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/5344 **Author:** [@Aerion](https://github.com/Aerion) **Created:** 7/17/2025 **Status:** ✅ Merged **Merged:** 7/19/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `fix-card-currency-gocardless-boursobank` --- ### 📝 Commits (1) - [`8ccb49a`](https://github.com/actualbudget/actual/commit/8ccb49a3ec267ad58b55e692864569cb1034248c) Fix Boursorama GoCardless transaction ordering ### 📊 Changes **3 files changed** (+69 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `packages/sync-server/src/app-gocardless/banks/boursobank_bousfrppxxx.js` (+42 -41) 📝 `packages/sync-server/src/app-gocardless/banks/tests/boursobank_bousfrppxxx.spec.js` (+21 -0) ➕ `upcoming-release-notes/5344.md` (+6 -0) </details> ### 📄 Description I wrongly thought that all the card transactions will always have their first line with the `CARTE` identifier. But as I have seen recently, it's not the case, and we shouldn't rely on the ordering of the array returned by the Boursorama GoCardless integration. Thus, check for transaction patterns in all of the lines of the unstructured array. This addresses a true case (added in test) where the payee name was wrongly extracted as being `110,04 Gbp / 1 Euro = 0,860763454`. <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> --- <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-04-14 21:31:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#20247