Sponsored by Deepsite.site

Ukrainian Payment Qr Invoices

Created By
Danylo Negriienko16 days ago
Create a QR code for Ukrainian domestic payments at a point of sale or online and accept cashless payments to IBAN
Content

IbanEx

Elixir library for working with IBAN numbers (parsing, validating, checking and formatting)

What is an IBAN?

IBAN (which stands for International Bank Account Number) is an internationally agreed code made up of up to 34 letters and numbers which helps banks make sure that international transfers are processed correctly.

In just a few letters and numbers, the IBAN captures all of the country, bank, and account details you need to send or receive money internationally. This system is used throughout Europe, and also recognised in some areas of the Middle East, North Africa and the Caribbean. Find IBAN examples for every country where it's used.

HowTo Use

Successfull case to parse IBAN

    iex>  "FI2112345600000785" |> IbanEx.Parser.parse()
    {:ok, %IbanEx.Iban{
      iban: "FI2112345600000785",
      country_code: "FI",
      check_digits: "21",
      bank_code: "123456",
      branch_code: nil,
      national_check: "5",
      account_number: "0000078"
    }}

Errors cases of IBAN parsing

To check IBAN's country is supported

    iex> {:error, unsupported_country_code} = IbanEx.Parser.parse("ZU21NABZ00000000137010001944")
    {:error, :unsupported_country_code}
    iex> IbanEx.Error.message(unsupported_country_code)
    "Unsupported country code"

Validate and check IBAN length

    iex> {:error, invalid_length} = IbanEx.Parser.parse("AT6119043002345732012")
    {:error, :invalid_length}
    iex> IbanEx.Error.message(invalid_length)
    "IBAN violates the required length"
    iex> {:error, length_to_long} = IbanEx.Validator.check_iban_length("AT6119043002345732012")
    {:error, :length_to_long}
    iex> IbanEx.Error.message(length_to_long)
    "IBAN longer then required length"
    iex> {:error, length_to_short} = IbanEx.Validator.check_iban_length("AT61190430023457320")
    {:error, :length_to_short}
    iex> IbanEx.Error.message(length_to_short)
    "IBAN shorter then required length"

Validate IBAN checksum

    iex> {:error, invalid_checksum} = IbanEx.Parser.parse("AT621904300234573201")
    {:error, :invalid_checksum}
    iex> IbanEx.Error.message(invalid_checksum)
    "IBAN's checksum is invalid"

Installation

The package can be installed by adding iban_ex to your list of dependencies in mix.exs:

def deps do
  [
    {:iban_ex, "~> 0.1.8"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/iban_ex.

Server Config

{
  "mcpServers": {
    "pmnt.app": {
      "url": "https://mcp.pmnt.app"
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
DeepChatYour AI Partner on Desktop
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
ChatWiseThe second fastest AI chatbot™
Amap Maps高德地图官方 MCP Server
WindsurfThe new purpose-built IDE to harness magic
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.