Skip to content
Back to skills

Check Payment Identifiers

ASecurity

Validate or build IBANs, check BICs, and look up BICs, national clearing codes (sort codes, ABA, IFSC, ...) and LEIs in the user's own reference files, offline. Use when the user asks whether an IBAN, BIC or LEI is valid, which bank a BIC or clearing code belongs to, whether a BIC is still active or what replaced it, which BIC a national ID routes to, which payment services an institution participates in, wants to build an IBAN, needs the check digits, or wants a country's IBAN format.

  • 39 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsswiftgit

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add Raafet57/Payment-intelligence-Plugin --skill check-payment-identifiers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Check Payment Identifiers?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Check Payment Identifiers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/raafet57-check-payment-identifiers/badge)](https://www.skillsdirectory.com/skills/raafet57-check-payment-identifiers)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: check-payment-identifiers
description: Validate or build IBANs, check BICs, and look up BICs, national clearing codes (sort codes, ABA, IFSC, ...) and LEIs in the user's own reference files, offline. Use when the user asks whether an IBAN, BIC or LEI is valid, which bank a BIC or clearing code belongs to, whether a BIC is still active or what replaced it, which BIC a national ID routes to, which payment services an institution participates in, wants to build an IBAN, needs the check digits, or wants a country's IBAN format.
---

# Check payment identifiers

## IBAN

- To **validate**, call `validate_iban`. Report the `verdict`, then any failed `checks` in plain words (wrong length, bad check digits, unknown country, BBAN format). Show the `pretty` form.
- To **build**, call `build_iban` with `country_code` only. The response lists the template fields. Ask the user for any values you don't have, then call again with `fields`. Return `pretty` and `electronic`.
- To show **a country's format**, call `build_iban` without `fields` and describe `template.fields`.

## BIC

- Call `check_bic`. Report the syntax and country-code results, and whether it is a primary office, test or passive BIC.
- If the user has reference files (they name a folder or file, or `PAYMENT_INTELLIGENCE_REFERENCE_PATH` is set), pass `reference_path`. Then report the directory result: institution name and town, whether the record is current or expired, and the successor BIC if there is one.
- **Always pass on the caveat:** no bank directory is bundled. Without the user's files, a well-formed BIC may not exist, belong to the bank the user expects, or be reachable. With them, a current record still does not prove reachability for a specific payment.

## LEI

- To **validate**, call `validate_lei`. Report the `verdict` and any failed check; when the check digits fail, say a character is probably mistyped. It checks syntax only: for registration status (issued, lapsed, retired) call `lookup_reference_data` with the user's LEI file.
- LEIs inside a message (party `OrgId/LEI`, agent `FinInstnId/LEI`) are checked by `check_cbpr_readiness`: each gets an `lei-check-digits-ok-N` or `lei-check-digits-issue-N` finding, and the issue names the check digits the first 18 characters call for.

## Look up identifiers in the user's reference data

1. Call `lookup_reference_data` with `ids` (up to 50: BIC8, BIC11, sort codes, ABA, IFSC, CNAPS, LEIs) and `path`: an unzipped SWIFTRef BIC Directory or Payments Directory folder, one of its files, a legacy SWIFTRef product file (BIC Plus, BIC Directory 2018, Bank Directory Plus, IBAN Plus, Reach Plus, gpi), or a CSV/TSV export from any provider. **Do not open these files yourself**: they are licensed and large, and the tool returns only matching records.
2. Per identifier, report `identifiers` (name, town, country, current or expired, `historical` with `successor_id`), then `linked_identifiers` (national IDs that route to this BIC), `participations` (payment services, direct or indirect) and the `relationships` counts.
3. If a CSV's headers are not recognised, the tool says so: ask the user which column holds what and pass `column_map`.
4. Pass on any `notes`, especially when a file is a monthly delta (changes only) or a zip that needs unzipping.

## Boundaries

- A valid IBAN only means the structure and check digits are correct. It doesn't confirm that the account exists or who holds it (that needs Verification of Payee or Confirmation of Payee).
- Registry data comes from a bundled SWIFT IBAN Registry snapshot. `registry` in the result gives its date.
- Directory lookups are only as current as the user's files. Mention the file date when it matters.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.