fn_sepa.mms

The fn_sepa.mms map source contains SWIFT FIN converter examples.

The SWIFT FIN converter examples are described in the following table:

Map name Input file
mt101_pain_001 mt101_seqa.inp and mt101_seqb.inp
mt102_pacs_002 mt102_rjct.inp
mt102_pacs_004 mt102_retn.inp
mt102_pacs_008 mt102.inp
mt102plus_pacs_008 mt102plus.inp
mt103_pacs_002 mt103_rejct.inp
mt103_pacs_004 mt103_retrn.inp
mt103_pacs_008 mt103.inp
There are two input files for mt101_pain_001:
  • mt101_seqa.inp - Addresses the situation in which the Ordering Customer (50a) is present only in Sequence A, and produces a pain_001 with a Grouping of MIXD.
  • mt101_seqb.inp - Has 50a present in every Sequence B, and produces a pain_001 with a Grouping of SNGL.
    Note: See the UNIFI documentation for pain.001 for more information about Grouping.
The fn_sepa.mms file also contains two maps that are called from the following FIN to SEPA conversion maps:
  • get_bic_subtype - Given a BIC as input, returns the BIC sun-type from BIC.XML. Used to determine if a BIC should be mapped as a BEI. A BEI is defined by having sub-type of BEID,TRCO,TESP,MCCO,SMDP or CORP.
  • val_3_eu_cty - Given three country codes as input, it will return Y if they are all equal to one of the EU countries specified in Rule C10 of MT103+. Determines if an account is an IBAN when mapping 59a to Cdtr in the MT103+ to ISO 20022 maps.