MT 304 advice/instruction of a third party deal

This table shows how a SWIFT MT 304 message is mapped into the LMF.

SWIFT: MT 304   LMF: fx_m    
Field *M/O Seq Tag Rpt Class Qualifier Format Data Fields
sequence: GENL
Sender's Reference M A 20   Reference SEME ReferenceVar ReferenceVal
sequence: GENL / LINK
Related Reference O A 21   Reference RELA ReferenceVar ReferenceVal
end of sequence: GENL / LINK
Type of Operation M A 22A   Msgfunct none MsgFunctVar Function
Scope of Operation M A 94A   Msgfunct none MsgFunctVar SubFunction
Open Indicator O A 17O   Flag FX_OPNI FlagVar FlagVal
Final Close Indicator O A 17F   Flag FX_FCLI FlagVar FlagVal
Net Settlement Indicator O A 17N   Flag FX_NSTI FlagVar FlagVal
Payment versus Payment Settlement Indicator O A 17I   flag FX_PVPS FlagVar FlagVal
Type, Date, Version of the Agreement O A 77H   Indicator FX_TAGR IndicatorOnly IndicatorVal
          DateTime FX_TAGR DateOnly DaveVal
          NumberId FX_TAGR NumberIdOnly NumberIdVal
Year of Definitions O A 14C   NumberId FX_YRDF NumberIdOnly NumberIdVal
end of sequence: GENL
sequence: FXDET
sequence: FXDET / FXPRTY (repeats for every party field)
Fund M A 83A   Accountq SAFE AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party BENM PartyBIC BIC
      83D   Account SAFE AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party BENM PartyNameAddress NameAddress
      83J   Party BENM PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Fund Manager M A 82A   Account SAFE AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party PTYA PartyBIC BIC
      82D   Account SAFE AccountTypeNumberOnly AccountTypeCode
AccountTypeCode
          Party PTYA NameAddress NameAddress
      82J   Party PTYA PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Executing Broker M A 87A   Account SAFE AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party PTYB PartyBIC BIC
      87D   Account SAFE AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party PTYB PartyNameAddress NameAddress
      87J   Party PTYB PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Central Counterparty Clearing House (CCP) O A 81A   Account SAFE AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
Party CCCP PartyBIC BIC
81D Account SAFE AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
Party CCCP PartyNameAddress NameAddress (1:4)
81J Party CCCP PartyJOpt NameAddress (1:5)
Clearing Broker O A 89A   Account SAFE AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
Party CLBR PartyBIC BIC
89D Account SAFE AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
Party CLBR PartyNameAddress NameAddress (1:4)
89J Party CLBR PartyJOpt NameAddress (1:5)
end of sequence: FXDET / FXPRTY
Trade Date M B 30T   Datetime TRAD DateOnly DateVal
Value Date M B 30V   Datetime VALU DateOnly DateVal
Exchange Rate M B 36   Rate EXCH RateOnly RateVal
sequence: FXDET / FXSETDET (modifier = BUYE)
Currency / Amount Bought M B1 32B   Amount BUYE AmountCurrOnly AmountVal
CurrencyCode
sequence: FXDET /FXSETDET (modifier = BUYE) /CASHPRTY (repeats for every party field)
Delivery Agent O B1 53A   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party CDEA PartyBIC BIC
      53D   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party CDEA PartyNameAddress NameAddress
      53J   Party CDEA PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Intermediary O B1 56A   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party INTE PartyBIC BIC
      56D   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party INTE PartyNameAddress NameAddress
      56J   Party INTE PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Receiving Agent M B1 57A   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party REAG PartyBIC BIC
      57D   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party REAG PartyNameAddress NameAddress
      57J   Party REAG PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
end of sequence: FXDET /FXSETDET (modifier = BUYE) / CASHPRTY
end of sequence: FXDET /FXSETDET (modifier = BUYE)
sequence: FXDET / FXSETDET (modifier = SELL)
Currency / Amount Sold M B2 33B   Amount SELL AmountCurrOnly AmountVal
CurrencyCode
sequence: FXDET / FXSETDET (modifier = SELL) / CASHPRTY (repeats for every party field)
Delivery Agent O B2 53A   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party CDEA PartyBIC BIC
      53D   Account CASH AccounttypeNumberOnly AccountNumberVal
AccountTypeCode
          Party CDEA PartyNameAddress NameAddress
      53J   Party CDEA PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Intermediary O B2 56A   Account CASH AccounttypeNumberOnly AccountNumberVal
AccountTypeCode
          Party INTE PartyBIC BIC
      56D   Account CASH AccounttypeNumberOnly AccountNumberVal
AccountTypeCode
          Party INTE PartyNameAddress NameAddress
      56J   Party INTE PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Receiving Agent M B2 57A   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party REAG PartyBIC BIC
      57D   Account CASH AccountTypeNumberOnly AccountNumberVal
          Party REAG PartyNameAddress NameAddress
      57J   Party REAG PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Beneficiary Information O B2 58A   Account CASH AccountTypeNumberOnly AccountTypeNumberVal
AccountTypeCode
          Party BENM PartyBIC BIC
      58D   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party BENM PartyNameAddress NameAddress
      58J   Party BENM PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
end of sequence: FXDET / FXSETDET (modifier = SELL) / CASHPRTY
end of sequence: FXDET / FXSETDET (modifier = SELL
end of sequence: FXDET
sequence: ACCOUNT
Contact Information O C 29A   Narrative FX_CINC Narrative4Lines NarrativeVal
Sender to Receiver Information O C 72   Narrative FX_SNRC Narrative6Lines NarrativeVal
Underlying Product Identifier O C 22U   Indicator UPID IndicatorDesc IndicatorVal
Execution Venue O C 22V   Indicator EXVN IndicatorDesc IndicatorVal
Execution Timestamp O C 98D   DateTime EXTS DateTimeUTC DateVal
Timeval
Sign
Decimals
TimeOffset
Confirmation
Timestamp
O C 98G   DateTime CNTS DateTimeUTC DateVal
Timeval
Sign
Decimals
TimeOffset
Clearing Timestamp O C 98H   DateTime CLTS TimeUTC TimeVal
Sign
Decimals
TimeOffset
Gain (Loss) Indicator M D 17G   Flag GALO FlagVar FlagVal
Currency / Amount M D 32G   Amount GALO AmountCurrOnly AmountVal
CurrencyCode
sequence: ACCOUNT / LINK
Reference to the Associated Trade O C 21A   Reference RELA Reference Var ReferenceVal
Executing Broker's Reference O C 21G   Reference FX_EXBR ReferenceVar ReferenceVal
Reference to Previous Deals MR D 21P R Reference PREV ReferenceVar ReferenceVal
end of sequence: ACCOUNT /LINK
sequence: ACCOUNT\UNIQUETRANSID (Repeats)
UTI Namespace / Issuer Code M C1 22M   Indicator UNIC IndicatorDesc IndicatorVal
Transaction Identifier M C1 22N   Indicator TRAN IndicatorDesc IndicatorVal
sequence: ACCOUNT\UNIQUETRANSID\PRIORUNIQUETRANSID (Repeats for each PriorTransId for a TransId)
PUTI Namespace / Issuer Code M C1a 22P   Indicator PNIC IndicatorDesc IndicatorVal
Prior Transaction Identifier M C1a 22R   Indicator PTRN IndicatorDesc IndicatorVal
end of sequence: PRIORUNIQUETRANSID
end of sequence: UNIQUETRANSID
end of sequence: ACCOUNT
sequence: NET
Gain (Loss) Indicator M E 17G   Flag GALO FlagVar FlagVal
Currency Amount M E 32G   Amount GALO AmountCurrOnly AmountVal
CurrencyCode
sequence: NET / CASHPRTY (repeats for every party field)
Delivery Agent O E 53A   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party CDEA PartyBIC BIC
      53D   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party CDEA PartyNameAddress NameAddress
      53J   Party CDEA PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Intermediary O E 56A   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party INTE PartyBIC BIC
      56D   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party INTE PartyNameAddress NameAddress
          Party INTE PartyNameAddress NameAddress
      56J   Party INTE PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Receiving Agent M E 57A   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party REAG PartyBIC BIC
      57D   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party REAG PartyNameAddress NameAddress
      57J   Party REAG PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
Beneficiary Institution O E 58A   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party BENM PartyBIC BIC
      58D   Account CASH AccountTypeNumberOnly AccountNumberVal
AccountTypeCode
          Party BENM PartyNameAddress NameAddress
      58J   Party BENM PartyJOpt NameAddress(1)
NameAddress(2)
NameAddress(3)
NameAddress(4)
NameAddress(5)
end of sequence: NET / CASHPRTY
end of sequence: NET