title: SWIFT ACK Message Parsing
body: <p>I am Generating a SWIFT Messages MT 110 and MT 103 through my java based application. For reconciliation and sharing with end customer, we need to map the Ack Nak message received from SWIFT terminal back to MT 110 and MT 103 transactions. To do this I need to parse each ACK file and find out </p>
  
  <p>20: Sender's Reference
  ABC1380Q02418  </p>
  
  <p>451:0 (ACK)</p>
  
  <p>451:1 (NAK) then 405 field.</p>
  
  <p>I have tried doing this using Prowide Core (WIFE) Open source SWIFT Java library but I am not able to parse the ACK. Through library I am able to parse  MT 110 and MT 103 messages but not ACK or NAK messages. Need you help in understanding how to parse the SWIFT ACK NAK file through Prowide Core (WIFE) Open source SWIFT Java library.</p>
  
  <p>Sample ACK message pasted below:</p>
  
  <p>23/12/15-11:50:14               BulBoardCTFACK-0192-000001   1</p>
  
  <hr>
  
  <p>---------------------  Instance Type and Transmission --------------</p>
  
  <p>Notification (Transmission) of Original sent to SWIFT (ACK)</p>
  
  <p>Network Delivery Status   : Network Ack</p>
  
  <p>Priority/Delivery         : Normal</p>
  
  <p>Message Input Reference   : 1150 151223ABCINBBADEL2567311531</p>
  
  <p>--------------------------- Message Header -------------------------</p>
  
  <p>Swift Input                   : FIN 103 Single Customer Credt Transfer</p>
  
  <p>Sender   : ABCDINBBDEL
  TTTT BANK LIMITED
  (XXXXX BRANCH)
  YYYYYYYYY YY</p>
  
  <p>Receiver : ANZBAU3MXXX
  AUSTRALIA AND NEW ZEALAND BANKING GROUP LIMITED
  MELBOURNE AU</p>
  
  <p>--------------------------- Message Text ---------------------------</p>
  
  <p>20: Sender's Reference
  ABC1380Q02418</p>
  
  <p>23B: Bank Operation Code
  CRED</p>
  
  <p>32A: Val Dte/Curr/Interbnk Settld Amt
  Date           : 23 December 2015
  Currency       : AUD (AUSTRALIAN DOLLAR)
  Amount         :                  #8000,0#</p>
  
  <p>33B: Currency/Instructed Amount
  Currency       : AUD (AUSTRALIAN DOLLAR)
  Amount         :                  #8000,0#</p>
  
  <p>50K: Ordering Customer-Name &amp; Address
  /M4132378
  ABC DEF
  GHI 76 AX , MODEL TOWN EXT ,
  XXXXXXXX</p>
  
  <p>53A: Sender's Correspondent - FI BIC
  /1111111 00001
  ABCDEFBBDEL
  ABC</p>
  
  <p>57D: Account With Inst -Name &amp; Addr
  //AU063144
  COMMON WEALTH BANK
  AUSTRALIA SWIFT CODE CTBAAU2S</p>
  
  <p>59: Beneficiary Customer-Name &amp; Addr
  /555555
  ABCDEF
  YYYYYYYYY</p>
  
  <p>70: Remittance Information
  MAINTENACE</p>
  
  <p>71A: Details of Charges
  BEN</p>
  
  <p>71F: Sender's Charges
  Currency       : AUD (AUSTRALIAN DOLLAR)
  Amount         :                     #0,0#</p>
  
  <p>--------------------------- Message Trailer ------------------------</p>
  
  <p>{CHK:41B1AA23FEDF}</p>
  
  <p>PKI Signature: MAC-Equivalent</p>
  
  <p>---------------------------- Interventions -------------------------</p>
  
  <p>Category      : Network Report</p>
  
  <p>Creation Time : 23/12/15 11:50:03</p>
  
  <p>Application   : SWIFT Interface</p>
  
  <p>Operator      : SYSTEM</p>
  
  <p>Text</p>
  
  <p>{1:F21ABCDEFBBADEL2567311531}{4:{177:1512231150}{451:0}}</p>