ibantools-germany
Version:
IBAN Validator and Generator for German Bank Accounts
19 lines (18 loc) • 630 B
TypeScript
/**
* ibantools-germany
* Copyright (c) 2022-2026 Markus Baumer <markus@baumer.dev>
* SPDX-License-Identifier: MIT OR MPL-2.0
*/
import type { Result } from "./types";
/**
* Validate account number with given check digit method.
*
* Some few banks use a legacy method from GDR/Soviet times that requires the
* BLZ for validation as well.
*
* @param accountNumber Account number for validation
* @param blz German BLZ for validation
* @param method Two-char method identifier (00-E4)
* @returns Validation Result
*/
export declare const methodDispatch: (accountNumber: string, blz: string, method: string) => Result;