MT 502 order to buy or sell
This table shows how a SWIFT MT 502 message is mapped into the LMF.
| SWIFT: MT 502 | LMF: TradeOrder_M | |||||||
|---|---|---|---|---|---|---|---|---|
| Field | M/O | Seq | Tag | Rpt | Class | Qualifier | Format | Data Fields |
| LMF sequence: GENL | ||||||||
| Sender's Reference | M | A | 20C | Reference | SEME | ReferenceVar | ReferenceVal | |
| Function of the Message | M | A | 23G | MsgFunct | none | MsgFunctVar | FunctionSubFunction | |
| Preparation Date / Time | O | A | 98A | DateTime | PREP | DateOnly | DateVal | |
| O | A | 98C | DateTime | PREP | DateTimeUnit | DateValTimeVal | ||
| 98E | DateTime | PREP | DateTimeUTC | DateValTimeValDecimalsSignTimeOffset | ||||
| Indicator | M | A | 22F | R | Indicator | See UHB* | IndicatorVal | DssIndicatorVal |
| End of LMF sequence: GENLLMF sequence: GENL/LINK (repeats for each linkage reference) | ||||||||
| Indicator | M | A | 22F | Indicator | LINK | IndicatorVar | DssIndicatorVal | |
| Linked Transaction | O | A1 | 13A | NumberID | LINK | NumberIdOnly | NumberIdVal | |
| O | A1 | 13B | NumberID | LINK | NumberIdVar | dss | ||
| Linked Reference | M | A1 | 20C | Reference | See UHB* | Reference Var | ReferenceVal | |
| End of LMF sequence: GENL\LINKLMF sequence: TRADDET | ||||||||
| Place | O | B | 94B | R | Place | See UHB* | PlaceCodeNarrative | DssPlaceCodeValNarrativeVal |
| 94C | R | Place | See UHB* | PlaceCountry | Country | |||
| 94F | R | Place | See UHB* | PlaceBIC | BIC | |||
| Indicator | M | B | 22F | R | Indicator | See UHB* | IndicatorVar | DssIndicatorVal |
| M | B | 22H | R | Indicator | See UHB* | IndicatorOnly | IndicatorVal | |
| DateTime | M | B | 98A | R | DateTime | See UHB* | DateOnly | DateVal |
| M | B | 98B | R | DateTime | See UHB* | DateCode | DssDateCode | |
| M | B | 98C | R | DateTime | See UHB* | DateTimeUnit | DateValTimeVal | |
| Rate | O | B | 92A | R | Rate | See UHB* | PercentageRate | RateVal |
| Currency | O | B | 11A | Currency | See UHB* | CurrencyVar | CurrencyCode | |
| Quantity of Financial Instrument | O | B | 36B | R | QtyOfFinInst | See UHB* | TypeQuantity | QuantityTypeCodeQualityVal |
| Amount | O | B | 19A | R | Amount | See UHB* | AmountVar | SignCurrencyCodeAmountVal |
| Identification of Fl | M | B | 35B | FinInstID | none | FinInstIDVar | ISINNarrativeVal | |
| Certificate Numbers | O | B | 13A | R | NumberId | See UHB* | NumberIdOnly | NumberIdVal |
| O | B | 13B | R | NumberId | See UHB* | NumberIdVar | DssNumberIdVal | |
| Narrative | O | B | 70E | Narrative | TPRQ | Narrative10Lines | NarrativeVal | |
| End of LMF sequence: TRADDETLMF sequence: TRADDET\PRIC (repetitive) | ||||||||
| Price | M | B1 | 90A | Price | See UHB* | PercentagePrice | PriceValPercentagePriceCode | |
| M | B1 | 90B | Price | See UHB* | AmountPrice | AmountTypeCodeCurrencyCodePriceVal | ||
| Type of Price | O | B1 | 22F | Indicator | PRIC | IndicatorVar | Dss | |
| IndicatorVal | ||||||||
| Indicator | MPLE | IndicatorVar | DssIndicatorVar | |||||
| End of LMF sequence: TRADDET\PRICLMF sequence: TRADDET\TRADPRTY (repeats for each main Party) | ||||||||
| Party | M | B2 | 95P | Party | See UHB* | PartyBIC | BIC | |
| M | B2 | 95R | Party | See UHB* | PartyProprietaryCode | DssProprietaryCode | ||
| M | B2 | 95Q | Party | See UHB* | PartyNameAddress | NameAddress | ||
| M | B2 | 95S | Party | ALTE | PartyAlternateId | DssTypeOfIdCountryAlternateId | ||
| Account | O | B2 | 97A | R | Account | See UHB* | AccountNumber | AccountNumberVal |
| O | B2 | 97B | R | Account | See UHB* | AccountTypeNumbe | DssAccountNumberValAccountTypeCode | |
| Processing Time Date | O | B2 | 98A | DateTime | PROC | DateOnly | DateVal | |
| O | B2 | 98C | DateTime | PROC | DateTimeUnit | DateValTimeVal | ||
| Processing Reference | O | B2 | 20C | Reference | PROC | ReferenceVar | ReferenceVal | |
| Narrative | O | B2 | 70C | Narrative | PACO | Narrative4Lines | NarrativeVal | |
| O | B2 | 70E | Narrative | DECL | Narrative10Lines | NarrativeVal | ||
| Party Capacity Indicator | O | B2 | 22F | Indicator | See UHB* | IndicatorVar | DssIndicatorVal | |
| End of LMF sequence: TRADDet\TRADPRTYLMF sequence: TRADDET\TRADPRTY | ||||||||
| Place of Listing | O | B3 | 94B | Place | PLIS | PlaceCodeNarrative | dssPlaceCodeValNarrativeVal | |
| Indicator | O | B3 | 22F | R | Indicator | See UHB* | IndicatorVar | DssIndicatorVal |
| Type of Financial Instrument | O | B3 | 12A | R | TypeOfFinInst | See UHB* | FlDescription | DssInstrumentDescription |
| O | B3 | 12B | R | TypeOfFinInst | See UHB* | FlCode | DssInstrumentTypeCode | |
| O | B3 | 12C | R | TypeOfFinInst | See UHB* | CFICode | CFICodeVal | |
| Currency of Denomination | O | B3 | 11A | Currency | DENO | CurrencyVar | CurrencyCode | |
| Date | O | B3 | 98A | R | DateTime | See UHB* | DateOnly | DateVal |
| Rate | O | B3 | 92A | R | Rate | See UHB* | PercentageRate | RateValSign |
| Number Identification | O | B3 | 13A | R | NumberId | See UHB* | NumberIdOnly | NumberIdVal |
| O | B3 | 13B | R | NumberId | See UHB* | NumberIdVar | DssNumberIdOnly | |
| Flag | O | B3 | 17B | R | Flag | See UHB* | N:umberIdVar | FlagVal |
| Price | O | B3 | 90A | R | Price | See UHB* | PercentagePrice | PriceValPercentageTypeCode |
| O | B3 | 90B | R | Price | See UHB* | AmountPrice | AmountTypeCodeCurrencyCodePriceVal | |
| Quantity of Financial Instrument | O | B3 | 36B | R | QtyOfFinInst | See UHB* | TypeQuantity | QuantityTypeCodeQualityVal |
| Identification of Financial Instrument | O | B3 | 35B | FinInstID | none | FinInstIDVar | ISINNarrativeVal | |
| Fl Attribute Narrative | O | B3 | 70E | Narrative | FIAN | Narrative10Lines | NarrativeVal | |
| End of LMF sequence: TRADDET\FIALMF sequence: SETDET | ||||||||
| Indicator | M | C | 22F | R | Indicator | See UHB* | IndicatorVar | DssIndicatorVal |
| Currency | O | C | 11A | Currency | See UHB* | CurrencyVar | CurrencyCode | |
| End of LMF sequence: SETDETLMF sequence: SETDET\SETPRTY (repeats for each main Party) | ||||||||
| Party | M | C1 | 95C | Party | See UHB* | PartyCountry | Country | |
| M | C1 | 95P | Party | See UHB* | PartyBIC | BIC | ||
| M | C1 | 95R | Party | See UHB* | PartyProprietaryCode | DssProprietaryCode | ||
| M | C1 | 95Q | Party | See UHB* | PartyNameAddress | NameAddress | ||
| M | C1 | 95S | Party | ALTE | PartyAlternateId | DssTypeOfIdCountryAlternateId | ||
| Account | O | C1 | 97A | Account | SAFE | AccountNumber | AccountNumberVal | |
| O | C1 | 97B | Account | SAFE | AccountTypeNumber | DssAccountTypeNumberValAccountTypeCode | ||
| Processing Date Time | O | C1 | 98A | DateTime | PROC | DateOnly | DateVal | |
| O | C1 | 98C | DateTime | PROC | DateTimeUnit | DateValTimeVal | ||
| Processing Reference | O | C1 | 20C | Reference | PROC | ReferenceVar | ReferenceVal | |
| Narrative | O | C1 | 70C | R | Narrative | See UHB* | Narrative4Lines | NarrativeVal |
| End of LMF sequence: SETDET\SETPRTYLMF sequence: SETDET\CASHPRTY (repeats for each main Party) | ||||||||
| Party | M | C2 | 95P | Party | See UHB* | PartyBIC | BIC | |
| M | C2 | 95R | Party | See UHB* | PartyProprietaryCode | DssProprietaryCode | ||
| M | C2 | 95Q | Party | See UHB* | PartyNameAddress | NameAddress | ||
| M | C2 | 95S | Party | ALTE | PartyAlternateId | DssTypeOfIdCountryAlternateId | ||
| Account | O | C2 | 97A | R | Account | See UHB* | AccountNumber | AccountNumberVal |
| Processing Date /Time | O | C2 | 98A | DateTime | PROC | DateOnly | DateVal | |
| O | C2 | 98C | DateTime | PROC | DateTimeUnit | DateValTimeVal | ||
| Processing Reference | O | C2 | 20C | Reference | PROC | ReferenceVar | ReferenceVal | |
| Narrative | O | C2 | 70C | R | Narrative | See UHB* | Narrative4Lines | NarrativeVal |
| O | C2 | 70D | R | Narrative | See UHB* | Narrative6Lines | NarrativeVal | |
| End of LMF sequence: SETDET\CASHPRTYLMF sequence: SETDET\AMT (repeats for each main Amount) | ||||||||
| Flag | O | C3 | 17B | R | Flag | See UHB* | FlagVar | FlagVal |
| Amount | M | C3 | 19A | R | Amount | See UHB* | AmountVar | SignCurrencyCodeAmountVal |
| Value Date | O | C3 | 98A | DateTime | VALU | DateOnly | DateVal | |
| O | C3 | 98C | DateTime | VALU | DateTimeUnit | DateValTimeVal | ||
| Exchange Rate | O | C3 | 92B | Rate | EXCH | CurrencyExchange | CurrencyCodeCurrencyCode2RateVal | |
| End of LMF sequence: SETDET\AMTLMF sequence: OTHRPRTY (separate sequence for each main party) | ||||||||
| Party | M | D | 95P | Party | See UHB* | PartyBIC | BIC | |
| M | D | 95R | Party | See UHB* | PartyProprietaryCode | DssProprietaryCode | ||
| M | D | 95Q | Party | See UHB* | PartyNameAddress | NameAddress | ||
| M | D | 05S | Party | ALTE | PartyAlternateId | DssTypeOfIdCountryAlternateId | ||
| Account | O | D | 97A | R | Account | See UHB* | AccountNumber | AccountNumberval |
| O | D | 97B | R | Account | See UHB* | AccountTypeNumber | DssAccountNumberValAccountTypeCode | |
| Narrative | O | D | 70C | R | Narrative | See UHB* | Narrative4Lines | NarrativeVal |
| Processing Reference | O | D | 20C | Reference | PROC | ReferenceVar | ReferenceVal | |
| End of LMF sequence: SETDET\AMTLFM sequence REPO | ||||||||
| Closing Date / Time | O | E | 98A | DateTime | TERM | DateOnly | DateVal | |
| O | E | 98B | DateTime | TERM | DateCode | DssDateCode | ||
| O | E | 98C | DateTime | TERM | DateTimeUnit | DateValTimeVal | ||
| O | E | 98A | Datetime | RERA | DateOnly | DateVal | ||
| O | E | 98C | DateTime | RERA | DateTimeUnit | DateOnlyTimeVal | ||
| Indicator | O | E | 22F | R | Indicator | See UHB* | IndicatorVar | DssIndicatorVal |
| Reference | O | E | 20C | R | Reference | See UHB* | ReferenceVar | ReferenceVal |
| Rate | O | E | 92A | R | Rate | See UHB* | PercentageRate | RateValSign |
| O | E | 92C | R | Rate | See UHB* | RateName | DssRatenameVal | |
| O | E | 92F | R | Rate | See UHB* | CurrencyAmount | CurrencyCodeAmountVal | |
| Number Count | O | E | 99B | R | NumberCount | See UHB* | NumberCount | NumberVal |
| Amount | O | E | 19A | R | Amount | See UHB* | AmountVar | SignCurrencyCodeAmountVal |
| Repurchase Narrative | O | E | 70C | Narrative | SECO | Narrative4Lines | NarrativeVal | |
| End of LMF sequence: REPO | ||||||||
* SWIFT User Handbook