IBAN Generator

International Bank Account Number — mod-97 checksum per ISO 13616.

International Validation Generation

How generation works

The IBAN generator builds a structurally valid sample using the same rules the validator enforces — check digits included. Use it for test data and fixtures; never for production records.

Install the package

bash
dotnet add package DocumentNumber.Portugal.BankAccountNumber.Generator

Generator in C#

Program.cs
using DocumentNumber.Portugal.BankAccountNumber.Generator;

var generator = new PortugalIbanGenerator();
var sample = generator.GenerateDocumentNumber();

Console.WriteLine(sample);

Live example

PT50000201231234567890154 — a real IBAN value accepted by the validator

Try IBAN generation

Runs the exact same library code your application uses. Nothing you enter is stored.

Document type IBAN International
Example: PT50000201231234567890154 — demo input is never stored.

Frequently asked questions

What is IBAN?

International Bank Account Number — mod-97 checksum per ISO 13616.

How does IBAN generation work?

The generator builds a structurally valid IBAN sample using the same rules the validator enforces — including check digits. Generated values are intended for tests and development only.

How do I install the IBAN generator package?

dotnet add package DocumentNumber.Portugal.BankAccountNumber.Generator

Is the value I enter in the demo stored?

No. Demo inputs are processed in memory for the current request only and are never persisted or shared.

Related document types