Translation Configuration File scenarios

The translation file serves a purpose of holding system generated fields. Fields from translation file are used to generate the output only, if they are not available in the input file.

General Information

The following fields can be set in the translation configuration file.

MT header fields

session_number: Mapped to field Session Number of block 1 of MT199.

sequence_number: Mapped to field Sequence Number of block 1 of MT199.

logical_terminal: Mapped to field DestinationAddress of block 2 of MT199.

branch_code: Mapped to field DestinationAddress of block 2 of MT199.

priority_block: Mapped to field PriorityBlock of block 2 of MT199.

delivery_monitoring_code: Mapped to field DeliveryMonitoringCd of block 2 of MT199.

obsolescence_period_code: Mapped to field ObsolescencePeriodCd of block 2 of MT199.

business_service: Mapped to field ServiceTypeID Tag111 of block 3 of MT199.

update_payment_scenario: Mapped to field update_payment_scenario of api.

PaymentStatusRequest

status: Mapped to field StatusCode of Tag79 Line2 of block 4 of MT199.

reason: Mapped to field ReasonCode of Tag79 Line2 of block 4 of MT199.

return: Mapped to field return of api.

Additional information

forwarded_to_agent: Mapped to field ForwardedTo BIC of Tag79 Line3 of block 4 of MT199.

settlement_method: Mapped to field Settlmnt_Method of Tag79 Line3 of block 4 of MT199.

clearing_system: Mapped to field Clearing_system of Tag79 Line3 of block 4 of MT199.

foreign_exchange_details

target_currency: Mapped to field TargetCCY CUR of Tag79 Line5 of block 4 of MT199.

exchange_rate: Mapped to field ExchangeRate of Tag79 Line5 of block 4 of MT199.

MT103 to CSV

In addition to above generic details, following functionality is specially for MT103 to csv translation.

In MT103 to csv, multiple occurrences of MT103 can be provided in the input file. A csv record (basic or advance) is generated for each MT103 instance.

The translation file for MT103 to csv can be provided with multiple occurrences.

In case, multiple occurrences of data is provided in translation file, reference of MT103 (Tag20) is matched with field instruction_reference of translation configuration file in order to identify which occurrence of translation file should be used for current instance of MT103 to generate the csv record.

If the reference of MT103 (Tag20) is not found in the translation configuration file, an error is reported in the MT103_config_mismatch.out file stating reference of MT103 file.

If single occurrence of data is provided in the translation file, the same instance is used to generate csv record.

CSV to MT199

Following functionality is specially for CSV to MT199 translation.

In csv to MT199, multiple occurrences of csv record (basic or advance) can be provided in the input file. MT199 instance is generated for each csv record.

The translation file for csv to MT199 can be provided with multiple occurrences.

In case, multiple occurrences of data is provided in uc_translation_cfg.json translation configuration file, Related_Reference field of each CSV record is matched with field instruction_reference of translation configuration file in order to identify which occurrence of translation configuration file should be used for current csv record to generate the MT199 instance.

If the field Related_Reference of csv record is not found in the translation configuration file, an error is reported in the csv_config_mismatch.out file stating reference of that csv record.

If single occurrence of data is provided in the translation file, the same instance is used to generate all MT199 instance.