FastPII Docs
Detectors

IBAN

Detect International Bank Account Numbers (IBAN) with Czech format validation.

Purpose

Use the iban detector for International Bank Account Numbers (IBAN).

This detector validates IBAN format using the ISO 13616 standard, with Czech IBAN-specific validation.

Detector Name

iban

Region: cz

Supported Formats

  • CZXX XXXX XXXX XXXX XXXX XXXX (24 characters)
  • With or without spaces

Czech IBANs are 24 characters and start with CZ.

Usage

from fastpii import FastPII, DEFAULT_PRIORITY
from fastpii.countries.cz import CzechPack

engine = FastPII(priority=DEFAULT_PRIORITY)
engine.register(CzechPack())

result = engine.detect("IBAN: CZ65 0800 0000 1920 1451 6359")

Validation

result = engine.validate("CZ6508000000192014516359", "iban")
# result.is_valid → True

Notes

  • Validates ISO 13616 format
  • Czech IBANs: 24 characters starting with CZ
  • MOD 97 checksum validation

On this page