During multiple implementations of Dynamics 365 for Customer Engagement or Dynamics 365 Business Central, we get the question weather it’s possible to validate the entered IBAN bank account numbers and generate the BIC / Swift code. Especially when companies use Direct Debit as a payment method, you want to make sure the IBAN is correct.

I’ve created a simple REST service based on Azure Functions to validate the entered IBAN bank account number and provide the name of the bank and the BIC / Swift code.

How it works

Let’s start with testing this in your browser. For now we want to check if an IBAN is valid. We can do that by combining the url below with and IBAN (for instance NL63TRIO0379272687).
URL: https://iban-validation.dynamics365blog.nl/api/IBANCheck?iban=NL63TRIO0379272687
You’ll get back all the information you need:

    "valid": true,
    "messages": null,
    "iban": "NL63TRIO0379272687",
    "bankData": {
        "bankName": "TRIODOS BANK N.V",
        "bic": "TRIONL2U"

Currently for Dutch and Belgian IBAN, but more coming!

Currently, the REST service only Dutch and Belgian IBAN bank numbers. If you want to have other countries supported, please provide me a url in de comments where I can find a list of banks and their local bank identifiers. If you’ve proved the url I will setup the new country as soon as possible.

The post Validate your IBAN bank numbers appeared first on Dynamics365Blog.nl by Marc Gerner.