Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ASN bank MT940 file can not be parsed for tag 61 #82

Closed
gpaulissen opened this issue Mar 6, 2020 · 1 comment
Closed

The ASN bank MT940 file can not be parsed for tag 61 #82

gpaulissen opened this issue Mar 6, 2020 · 1 comment

Comments

@gpaulissen
Copy link
Contributor

The tag 61 from the ASNB bank has a format for tag 61 which is not conform the Swift specifications. They use the IBAN (34x) for customer reference (16x). See attachment example.

From: https://www.sepaforcorporates.com/swift-for-corporates

Pattern: 6!n[4!n]2a[1!a]15d1!a3!c16x[//16x]

[34x]

But ASN bank puts the IBAN in the customer reference, which is acording to
Wikipedia at most 34 characters.

So this is the new pattern:

Pattern: 6!n[4!n]2a[1!a]15d1!a3!c34x[//16x]

[34x]

0708271685_09022020_164516.940.txt

@wolph
Copy link
Owner

wolph commented Mar 7, 2020

Thank you for the help. I've created a new release which has your changes incorporated.

Fixed in #83

@wolph wolph closed this as completed Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants