[PR #5741] [MERGED] enhancement: add BPER Italy bank parser (BPER_RETAIL_BPMOIT22) #47909

Closed
opened 2026-04-26 09:52:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5741
Author: @dirk-apers
Created: 9/18/2025
Status: Merged
Merged: 9/19/2025
Merged by: @matt-fidd

Base: masterHead: master


📝 Commits (5)

  • e094356 Refine BPER retail parser with anonymized fixtures
  • 1416916 Merge pull request #1 from dirk-apers/codex/add-bper-parser-implementation
  • 4581119 style: streamline bper parser comments
  • 7371ff2 Merge pull request #2 from dirk-apers/codex/align-bper_retail_bpmoit22-files-with-code-style
  • c08f9ea chore: add release note for BPER Italy parser

📊 Changes

3 files changed (+222 additions, -0 deletions)

View changed files

packages/sync-server/src/app-gocardless/banks/bper_retail_bpmoit22.js (+94 -0)
packages/sync-server/src/app-gocardless/banks/tests/bper_retail_bpmoit22.spec.js (+122 -0)
upcoming-release-notes/5741.md (+6 -0)

📄 Description

This pull request adds a new bank integration parser for BPER Italy (institution_id: BPER_RETAIL_BPMOIT22) in the GoCardless import flow.

BPER’s feed places all transaction details inside the unstructured description field, which results in unclear payee names. This parser normalizes the payee by applying regex rules to common transaction types:

  • Card payments → extract merchant name between “PAGAMENTO SU CIRCUITO INTERNAZIONALE” and “Operazione carta”
  • Bonifico transfers → extract originator after “o/c:”
  • Foreign bonifici → extract originator after /ORDINANTE and before BIC
  • SDD direct debits → extract creditor name after “ADDEBITO SDD”
  • Bollettini → extract creditor name after “CREDITORE:”

Tests

  • Added bper_retail_bpmoit22.spec.js with 6 unit tests.
  • Confirmed parsing works for card, bonifico, foreign bonifico, SDD, and bollettini.
  • All tests pass locally.

📦 Impact

  • Only affects accounts with institution_id = BPER_RETAIL_BPMOIT22.
  • No impact on other integrations.
  • Improves payee consistency for BPER users in Italy.

🔄 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/5741 **Author:** [@dirk-apers](https://github.com/dirk-apers) **Created:** 9/18/2025 **Status:** ✅ Merged **Merged:** 9/19/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`e094356`](https://github.com/actualbudget/actual/commit/e094356bc29ce3675ea94568b7f7a401d0ebdf17) Refine BPER retail parser with anonymized fixtures - [`1416916`](https://github.com/actualbudget/actual/commit/1416916c19c645e1b440c146f0126e6b0cb52815) Merge pull request #1 from dirk-apers/codex/add-bper-parser-implementation - [`4581119`](https://github.com/actualbudget/actual/commit/4581119535ae30e5fb2dabaa4e3c59f191476047) style: streamline bper parser comments - [`7371ff2`](https://github.com/actualbudget/actual/commit/7371ff2535054b438c141db5c949554064b1395a) Merge pull request #2 from dirk-apers/codex/align-bper_retail_bpmoit22-files-with-code-style - [`c08f9ea`](https://github.com/actualbudget/actual/commit/c08f9ea93f201536b9f86f4dd41ae1ca6cfed759) chore: add release note for BPER Italy parser ### 📊 Changes **3 files changed** (+222 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `packages/sync-server/src/app-gocardless/banks/bper_retail_bpmoit22.js` (+94 -0) ➕ `packages/sync-server/src/app-gocardless/banks/tests/bper_retail_bpmoit22.spec.js` (+122 -0) ➕ `upcoming-release-notes/5741.md` (+6 -0) </details> ### 📄 Description This pull request adds a new bank integration parser for BPER Italy (institution_id: BPER_RETAIL_BPMOIT22) in the GoCardless import flow. BPER’s feed places all transaction details inside the unstructured description field, which results in unclear payee names. This parser normalizes the payee by applying regex rules to common transaction types: - Card payments → extract merchant name between “PAGAMENTO SU CIRCUITO INTERNAZIONALE” and “Operazione carta” - Bonifico transfers → extract originator after “o/c:” - Foreign bonifici → extract originator after /ORDINANTE and before BIC - SDD direct debits → extract creditor name after “ADDEBITO SDD” - Bollettini → extract creditor name after “CREDITORE:” ✅ Tests - Added bper_retail_bpmoit22.spec.js with 6 unit tests. - Confirmed parsing works for card, bonifico, foreign bonifico, SDD, and bollettini. - All tests pass locally. 📦 Impact - Only affects accounts with institution_id = BPER_RETAIL_BPMOIT22. - No impact on other integrations. - Improves payee consistency for BPER users in Italy. --- <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-26 09:52:37 -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#47909