Skip to content

fix(SEPA Payment Order): keep stored BIC and sync bank name (backport #459) - #460

Merged
barredterra merged 1 commit into
version-15-hotfixfrom
mergify/bp/version-15-hotfix/pr-459
Oct 6, 2026
Merged

barredterra merged 1 commit into
version-15-hotfixfrom
mergify/bp/version-15-hotfix/pr-459

Conversation

@mergify

@mergify mergify Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #455 and #457.

BIC

EUR payments within the EEA are IBAN-only, so #455 cleared the BIC on save. That lost the BIC for good. If the debtor IBAN, the payment IBAN or the currency changed later, the payment needed a BIC but had none.

Now the stored BIC stays. Only the XML leaves it out for EEA-to-EEA EUR payments. A BIC of another branch still cannot break the order.

Bank name

The read-only bank name was only set when empty, so it went stale after an IBAN change. Now it is derived on every save from the IBAN (DE, AT, CH) or else from the BIC (European BICs). If neither is known, it is cleared.

Tests

@greptile-apps

greptile-apps Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Changes how bank names and BICs are handled in SEPA payments.

This backport appears safe to merge.

What we checked:

  • Stored BIC bypasses transfer rules: Submission, download, and bank transmission all call to_sepa_credit_transfer, which excludes the stored BIC for EEA-to-EEA EUR payments.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Payment row keeps stored BIC] --> B{Both IBANs in EEA and currency EUR?}
  B -->|Yes| C[Build recipient account without stored BIC]
  B -->|No| D[Build recipient account with stored BIC]
  C --> E[Render or send transfer]
  D --> E
Loading

Reviews (1) · Last reviewed commit: "fix(SEPA Payment Order): keep stored BIC..."

@barredterra
barredterra merged commit d74f16e into version-15-hotfix Oct 6, 2026
4 checks passed
@barredterra
barredterra deleted the mergify/bp/version-15-hotfix/pr-459 branch October 6, 2026 22:37
@barredterra

Copy link
Copy Markdown
Member

🎉 This PR is included in version 15.41.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

marcramser pushed a commit to Centura-AG/banking that referenced this pull request Oct 7, 2026
## [15.41.3](alyf-de/banking@v15.41.2...v15.41.3) (2026-10-06)

### Bug Fixes

* **SEPA Payment Order:** actionable BIC errors ([alyf-de#455](alyf-de#455)) ([alyf-de#456](alyf-de#456)) ([b959cf0](alyf-de@b959cf0))
* **SEPA Payment Order:** keep stored BIC and sync bank name (backport [alyf-de#459](alyf-de#459)) ([alyf-de#460](alyf-de#460)) ([d74f16e](alyf-de@d74f16e))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant