Validate IBAN

Validates an IBAN (checksum, length, and country format) and returns its parts (country, bank code, account number) plus bank details (bank name, BIC, city) for German, Austrian, Swiss, and Liechtenstein IBANs from official bank directories. An invalid IBAN is returned as a result with an explanation, not as an error.

Validate IBAN
IBAN to validate, e.g. DE02 1203 0000 0000 2020 51 (spaces are igno…
Appearance of this action in the Power Automate designer (rendered from the connector definition).

What this action is for

Check an IBAN before you pay, for example the IBAN read from an incoming invoice. The action checks length, country format and checksum. For German, Austrian, Swiss and Liechtenstein IBANs it also returns bank name, BIC and city from a bank directory that is part of the service, so no data leaves it. An invalid IBAN is not an error: you get Is Valid = false and a Validation Message.

Try it with the IBAN of the sample invoice

Our sample invoice has the IBAN DE02 1203 0000 0000 2020 51 in the footer.

Add the action

Create an instant cloud flow with the trigger Manually trigger a flow and add a Text input; here it is called IBAN. Below the trigger choose + and Add an action, search for Validate and select Validate IBAN.

Add an action: search for Validate

The picture was taken in our test environment. In your flow, the action is part of the connector BILL Converter by Power2Apps.

Choose the IBAN

Put the text input into IBAN. In a real flow it can be the IBAN of Detect invoice data with custom fields (AI) or a column of your supplier list. Spaces are allowed.

Parameters: IBAN with the text input of the trigger

Run the flow and check the result

Save the flow, choose Test, then Manually. Enter the IBAN and start the flow with Run flow. Our test flow checks the VAT ID with Validate EU VAT ID (VIES) in the same run.

Run flow with the IBAN and the VAT ID of the sample invoice

Is Valid is true. The IBAN comes back without spaces (Compact IBAN) and in groups of four (Formatted IBAN), together with the bank from the bank directory: Deutsche Kreditbank Berlin with the BIC BYLADEM1001.

Outputs: Is Valid true, the IBAN in both formats, country, bank name, BIC, city, bank code and account number

The sample IBAN is a well-known example IBAN. The bank directory knows it as Deutsche Kreditbank Berlin, while our sample invoice prints a made-up bank name.

Tips

Parameters

PropertyNameTypeDescription
ibanIBAN requiredstringIBAN to validate, e.g. DE02 1203 0000 0000 2020 51 (spaces are ignored)
minLength: 1

Returns

PropertyNameTypeDescription
isValidIs Valid booleanWhether the IBAN is valid (checksum, length, and country format)
validationMessageValidation Message stringExplains why the IBAN is not valid; empty for valid IBANs
compactIbanCompact IBAN stringIBAN without spaces (electronic format), e.g. DE02120300000000202051
formattedIbanFormatted IBAN stringIBAN in groups of four (print format), e.g. DE02 1203 0000 0000 2020 51
countryCodeCountry Code stringCountry of the IBAN (ISO code, e.g. DE)
countryNameCountry Name stringCountry of the IBAN (English name, e.g. Germany)
isSepaCountryIs SEPA Country booleanWhether the IBAN country is part of the Single Euro Payments Area (SEPA)
bankNameBank Name stringName of the bank; available for German, Austrian, Swiss, and Liechtenstein IBANs
bicBIC / SWIFT Code stringBIC of the bank; available for German, Austrian, Swiss, and Liechtenstein IBANs
bankCityBank City stringCity of the bank; available for German, Austrian, Swiss, and Liechtenstein IBANs
bankPostcodeBank Postal Code stringPostal code of the bank; available for German, Austrian, Swiss, and Liechtenstein IBANs
notesNotes array of stringNotes about the result, for example when bank details are not available for the country
bankCodeBank Code advancedstringBank code part of the IBAN (e.g. Bankleitzahl in Germany)
branchCodeBranch Code advancedstringBranch code part of the IBAN, if the country uses one
accountNumberAccount Number advancedstringAccount number part of the IBAN
bbanBBAN advancedstringBasic Bank Account Number (the IBAN without country code and check digits)

Example request

{
  "iban": "…"
}

Example generated from the connector definition.