You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are three acceptable codes for transaction type ('S', 'N', and 'F') in Field 61 of MT940, but the parser in Cmxl::Fields::Transaction only handles two of them ('N' and 'F').
See this link for more information about the acceptable codes.
I believe this issue can be resolved simply by adding this missing third letter to the swift_code group of the regex, so that it becomes as follows.
Thanks for reporting this and the link.
A pull request for this is very welcome. Can you add the suggested change and include a test case with the example data that you've seen?
There are three acceptable codes for transaction type ('S', 'N', and 'F') in Field 61 of MT940, but the parser in
Cmxl::Fields::Transaction
only handles two of them ('N' and 'F').See this link for more information about the acceptable codes.
I believe this issue can be resolved simply by adding this missing third letter to the
swift_code
group of the regex, so that it becomes as follows.Here is an example line that is not currently handled correctly.
The text was updated successfully, but these errors were encountered: