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

Closed
opened 2026-04-10 21:48:25 -05:00 by GiteaMirror · 0 comments
Owner

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

State: closed
Merged: Yes


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.
**Original Pull Request:** https://github.com/actualbudget/actual/pull/5741 **State:** closed **Merged:** Yes --- 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.
GiteaMirror added the pull-request label 2026-04-10 21:48:25 -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#13144