home / bankproducts

bank_iban

Data license: CC-BY-4.0 · Data source: bankproducts.info

1 row where bank_id = "sgkb"

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: iid_ranges (array)

bank_id ▼ clearing_number iban_pattern qr_iban_pattern iid_ranges qr_iid
sgkb 00781 CHxx 0078 1xxx xxxx xxxx x CHxx 3078 1xxx xxxx xxxx x ["00781", "78102", "78103", "78111", "78112", "78113", "78114", "78115", "78116", "78117", "78118", "78119", "78120", "78121", "78122", "78123", "78124", "78125", "78126", "78127", "78128", "78129", "78130", "78131", "78132", "78158"] 30781

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE bank_iban (
    bank_id          TEXT PRIMARY KEY REFERENCES bank(id),
    -- 5-digit clearing number / Bankleitzahl (BC). Same as `sic_iid` for most
    -- banks but stored separately because:
    --   1. some banks have multiple IIDs (a federation umbrella + its members)
    --   2. sic_iid is the SIX interbank-clearing participant number; clearing_number
    --      is the IBAN-routing number — usually equal, occasionally different
    clearing_number  TEXT,
    iban_pattern     TEXT,        -- "CHxx 0076 1xxx xxxx xxxx x"
    qr_iban_pattern  TEXT,        -- "CHxx 3076 1xxx xxxx xxxx x" (QR-IBAN format)
    iid_ranges       TEXT,        -- JSON array of 5-digit IIDs, e.g. '["00761"]'
                                  -- Multiple values for banks with multiple BC numbers
    qr_iid           INTEGER      -- Numeric QR-IBAN IID, e.g. 30761
                                  -- (Range 30000-31999 is reserved for QR-bills)
);
Powered by Datasette · Queries took 18.889ms · Data license: CC-BY-4.0 · Data source: bankproducts.info