When i call the following:
var ibanObject = new QRCoder.PayloadGenerator.SwissQrCode.Iban("CH3908704016075473007", QRCoder.PayloadGenerator.SwissQrCode.Iban.IbanType.QrIban);
Then, no exception occurs although this is a normal IBAN and not a valid Qr-Iban.
By definition, the swiss qr iban consists of a QR-IID in the range of 30000-31999 at the index 5-9 of the IBAN.
Further Information you can find in this document:
https://www.paymentstandards.ch/dam/downloads/qr-iid_qr-iban-de.pdf
at page 6 and 9
When i call the following: var ibanObject = new QRCoder.PayloadGenerator.SwissQrCode.Iban("CH3908704016075473007", QRCoder.PayloadGenerator.SwissQrCode.Iban.IbanType.QrIban);
Then, no exception occurs although this is a normal IBAN and not a valid Qr-Iban. By definition, the swiss qr iban consists of a QR-IID in the range of 30000-31999 at the index 5-9 of the IBAN. Further Information you can find in this document: https://www.paymentstandards.ch/dam/downloads/qr-iid_qr-iban-de.pdf at page 6 and 9
Kind regards, gmi