Validate IBAN, BIC or LEI
validate_identifierValidate a single financial identifier (IBAN, BIC, or LEI) and receive a clear pass/fail result for quick verification.
Instructions
Validate a single financial identifier (IBAN, BIC, or LEI).
Use this for a one-off identifier check with a clear pass/fail. To validate
identifiers embedded across a whole batch of records, prefer
``validate_records`` rather than calling this per field.
Returns ``{"kind": str, "value": str, "valid": bool}``.
Args:
kind: One of ``"iban"``, ``"bic"``, or ``"lei"`` (case-insensitive).
value: The identifier value to check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The identifier type to validate: one of 'iban', 'bic', or 'lei' (case-insensitive). | |
| value | Yes | The identifier value to check, matching the chosen kind (e.g. an IBAN, an 8- or 11-character BIC, or a 20-character LEI). Whitespace/case handling follows the underlying validator. |