aplonHUB, Sample MT messages for Testing

MT103

This is a sample MT103. Make sure that before you place the file in the input folder gives it a unique id up to 16 characters in tag 20 (line 2 :20:HEREAUNIQUEID)

MT103
{1:F01AAAAGRA0AXXX0057000289}{2:O1030919010321BBBBGRA0AXXX00570001710103210920N}{3:{108:MT103 003 OF 045}{121:c8b66b47-2bd9-48fe-be90-93c2096f27d2}}{4:
:20:2805201919
:23B:CRED
:23E:PHOB/20.527.19.60
:32A:000526USD1101,50
:33B:USD1121,50
:50K:FRANZ HOLZAPFEL GMBH
VIENNA
:52A:BKAUATWW
:59:/723491524
C. KLEIN
BLOEMENGRACHT 15
AMSTERDAM
:71A:SHA
:71F:USD10,
:71F:USD10,
-}{5:{MAC:75D138E4}{CHK:DE1B0D71FA96}}

MT103 Return

This is a sample MT103 return message which you may receive in case the beneficiary wants to return an MT103 you've sent earlier.

MT103 Return
{1:F01AAAAGRA0AXXX0057000289}{2:O1030919010321BBBBGRA0AXXX00570001710103210920N}{3:{108:MT103 003 OF 045}{121:c8b66b47-2bd9-48fe-be90-93c2096f27d2}}{4:
:20:2805201919
:23B:CRED
:23E:PHOB/20.527.19.60
:32A:000526USD1101,50
:33B:USD1121,50
:50K:FRANZ HOLZAPFEL GMBH
VIENNA
:52A:BKAUATWW
:59:/723491524
C. KLEIN
BLOEMENGRACHT 15
AMSTERDAM
:71A:SHA
:71F:USD10,
:71F:USD10,
:72:/RETN/50K
/AC01/
/MREF/ORIGINALTAG20
/CHGS/USD5,
-}{5:{MAC:75D138E4}{CHK:DE1B0D71FA96}}
  1. From field 72 we can understand if the MT103 is a payment Return or not. If the files starts with /REJT/ or /RETN/ it s a return.

  2. Next to the /REJT/ or /RETN/ we can find the tag that cause the return , in that case the rejection caused from the 50K of the original MT103

  3. In the second line we have the reason code, similar to SEPA, in this case is AC01 (Incorrect account number)

  4. In the third line , we have the tag 20 of the original MT103 with the /MREF/ prefix

MT192 Request for cancelation

For every incoming MT103 we receive , we may receive a cancelation request, in an MT192 message. The structure of the MT192 is quite simple. 

MT192
{1:F01KREDBEBBXXXX1111111111}{2:I192CCUHMTM1XXXXN}{3:{108:AML0000000106115}{121:daf8e426-26c9-4fdb-b37e-767b8179050d}}{4:
:20:2019052912312312
:21:2805201919
:11S:103
210514
:79:Cancelation request comment
-}


  1. Tag 20 has a unique reference of the MT192
  2. Tag 21 should have the tag 20 of the original message
  3. Tag 11S should have the originals message type in the first line, in our case 103 and in the second line the date that the original message was sent in YYMMDD format.
  4. Tag 79 should have some comments following the cancelation request. If tag 79 is not present then the mandatory tags of the original MT103 should be present but since this is for test let's keep it simple 


MT196 Answers

For every MT192 we send we should receive an MT196 positive or negative. If MT196 is positive then we should receive an MT103 Return as well. 

MT196 Reject

MT196 Reject
{1:F01KREDBEBBXXXX1111111111}{2:I196CCUHMTM1XXXXN}{3:{108:AML0000000106319}{121:183c959f-f7af-4737-b43c-d58dff447ade}}{4:
:20:2019052844473135
:21:ORIGINALTAG20
:76:/RJCR/AC04
-}
  1. Tag 20 has a unique reference of the MT196
  2. Tag 21 should have the tag 20 of the sent MT192 message
  3. Tag 76 Should have the result of the cancelation request. If it starts with /RJCR/ means that our request was rejected. A reason code should follow the /RJCR/ result code in that case is the AC04

MT196 Accept

MT196 Reject
{1:F01KREDBEBBXXXX1111111111}{2:I196CCUHMTM1XXXXN}{3:{108:AML0000000106319}{121:183c959f-f7af-4737-b43c-d58dff447ade}}{4:
:20:2019052844473135
:21:ORIGINALTAG20
:76:/CNCL/
-}

Result code CNCL indicates that the recall request we sent was accepted and an MT103 return should follow. 

MT940

MT940 is a format used by the SWIFT network to send and receive end-of-day bank account statements

MT940
{1:F01CCUHMTMTAXXX0314064744}{2:O9400017201103ABNANL2AAXXX13126805842011030017N}{3:{108:IL20201102.01063}}{4:
:20:IL20190524.00097
:25:0558256783
:28C:00006/00001
:60F:C190522EUR104588,11
:61:190523C2,70NTRF21052019022//2578562903371
TESTBICA -INCOMING-SOORT-RCT 201
:62F:C190524EUR102975,35
:64:C190524EUR102975,35
-}

When matching with incoming or outgoing transactions tag61 is used for correlation with the statements as follows:

  1. For incoming MT103 or PACS008 the Debit/Credit Mark of tag61 needs to be 'C' and the value used for transaction matching is either the Txid of the Outgoing Mt 103 or the MsgId of the Outgoing Pacs008 GrpHdr. E.g. :61:190523C2,70NTRF21052019022//2578562903371
  2. For outgoing MT103 or PACS008 the Debit/Credit Mark of tag61 needs to be 'D' and the value used for transaction matching is either the Txid of the Incoming Mt 103 or the MsgId of the Incoming Pacs008 GrpHdrE.g. :61:190523D2,70NTRF21052019022