Data Components

Data components consist of the following:
  • data/bic.xml - This file is used for validating BIC values in the transaction data. The bic.xml file provided by the pack is a sample file that provides a starting point for using BIC validation.
  • data/currencycodedecimals.xml - This file is used for validating currency code and country code values in the transaction data.

Executable maps used to create these data files are provided in the FTM_WTX_SWIFT_MT_yyyy_PI.zip file. The maps are in the FTM_Pack_SWIFT_MTyyyy project maps/bankfiletoxml.mms file. In the file and project names, yyyy is the SWIFT release year.

The maps provided are:

  • bictoxml map. This map creates the bic.xml file based from BIC directory's 'FI' file. This file is included in BIC directory, which can be downloaded from SWIFT.

    Input Card 1: BIC

    Output Card 1: BICxml - The output generates a name-value pairs of the 'FI' file.

    An example of the output is shown here:
    <BIC id="TESTCC37XXX" subtype="BEID">Test Bank</BIC>
    where:
    • BIC id - Represents the actual 8-character or 11-character formatted BIC.
    • subtype - Represents the precise type of financial institution, for example, a bank or a broker.
    • element value - This is the description of the institution.
  • currencytoxml map - This map creates the currencycodedecimals.xml based from the BIC directory's 'CU' file. This file is included in the BIC directory, which can be downloaded from SWIFT.

    Input Card 1: Currency

    Output Card 1: Currencyxml. The output generates name-value pairs of the 'CU' file.

    An example of the output is shown here:
    <currencycode id="EUR" countrycode="DE">2</currencycode>
    where:
    • currencycode id - Represents the currency corresponding to the country code
    • countrycode - Two character country representation.
    • element value - Number of fractional decimal places allowed for the currency and country code combination