Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Auszug
hiddentrue

SEPA Nuclet IBAN validation: activate via rule management or call the validation methods directly.

globe with meridians Language: Deutsch · English

hammer and wrench 4.8.4 SEPA: Validation

Optionally validate IBANs with respect to structure and length – via the rule management or by calling the validation methods directly.

Status
colourPurple
titleHow-to
Status
colourBlue
titleIntegrators
Status
colourGreen
titleStand: Jul 2026
Status
colourGrey
titlegilt fuer Nuclos 4.2026.x

Panel
bgColor#F4F5F7

Auf dieser Seite

Inhalt
maxLevel2
minLevel2
Hinweis
titleMachine-translated – under review

This page was machine-translated from German as a first draft and is currently under review. The authoritative source remains the German original (see the language switch above).

From version 2.0.0, IBANs can optionally be validated with respect to structure and length. There are two ways to integrate the validation:

4.8.4.1 Activation via the server rule management

The simplest way to integrate it is to hook the rule org.nuclet.sepa.rule.ValidateIBAN into the rule management.

This rule is designed for those BOs that were identified as debtors (or creditors) in section 4.8.1 and wrapped via DebitorWrapper (or CreditorWrapper).

The rule takes effect when the respective BOs are created and updated, provided it is hooked into the rule management accordingly.

4.8.4.2 Calling the validation methods directly

There are two variants of the direct call.

In the first, the structure specifications are passed explicitly:

Codeblock
titleIBAN validation (explicit)
// In diesem Fall wird die IBAN zusammen mit dem Länderkürzel (ISO-4217-Code)
// sowie der vorgegebenen IBAN-Länge und der vorgegebenen IBAN-Struktur übergeben
//

private final String DE_IBAN_LENGTH = "22";
private final String DE_IBAN_STRUCTURE = "DE2!n8!n10!n";

(...)

boolean bResult = IBANValidator.checkIbanStructure(strIban, "DE", DE_IBAN_LENGTH, DE_IBAN_STRUCTURE);

In the second variant the structure specifications are determined implicitly from the IBAN registry:

Codeblock
titleIBAN validation (implicit)
// In diesem Fall wird nur der aktuelle RuleContext und die zu validierende IBAN übergeben
//

boolean bResult = IBANValidator.checkIbanStructure(context, strIban);

Related pages

open book Nuclet: SEPA


SEPA Nuclet data sheet

Öffnen →

open book Interfaces


All integrations

Öffnen →