Skip to main content

Module banks

Module banks 

Source
Expand description

Bank directory: known German banks with their FinTS endpoint URLs and bank profiles.

Banks are identified solely by their BLZ (Bankleitzahl). The bank directory (data/fints_institutes.csv, generated by build.rs) gives name, BIC and URL per BLZ; the profile table (BankProfile) gives what the bank does differently, generic for banks without an entry.

Selection: bank_by_blz and all_banks take the directory entry and the profile from table.rs, found by an explicit BLZ list (never by URL or range); profile_by_blz gives the profile alone, generic for a code without an entry. BankConfig::with_url keeps the profile. A profile holds id, init, tan_overrides, user_id and booking_id; BIC fill, KTI form, account class and UPD storage are generic and come from the parameters.

Structs§

BankConfig
Configuration for a known bank.
BankProfile
What one bank does differently. BankProfile::generic for banks without an entry.
UserIdRule
A bank’s rule for completing the FinTS user ID the customer typed.

Enums§

BookingIdSource
Which statement reference, if any, the bank keeps unique and stable for each booking: the source of Transaction::booking_id.
InitMode
How jobs::open sets the session up.
ProfileId
Which profile a BankProfile is: for logs, traces and callers that show bank-specific help.

Constants§

TESTBANK_BLZ
Bank code of the synthetic test bank (testbank/). Not in the bank list; it is only known with the testbank feature.
TESTBANK_PORT
Default port of the standalone test bank (fints-testbank). Chosen to be unlikely to collide with development servers.

Functions§

all_banks
Get all known banks with FinTS PIN/TAN access, each with its profile.
bank_by_blz
Look up a bank by its BLZ (bank code): directory entry plus profile.
profile_by_blz
The profile for a bank code: the table entry that lists it, else BankProfile::generic. Also for codes outside the directory.