MiFIR Data Validation Rules Guide
MiFIR Data Validation Rules Guide
Modification LEI validation rules (rules 027, 043, 056, 072). There are two versions of the validation applying during the period
January 2018 until 2 July 2018 and from 3 July 2018 onwards and they apply to transactions executed during the respective pe
- rule id 111: field 35 is mandatory for debt instruments, i.e. CFI of the instrument in the reference data is DB**** (bonds), DC
(convertible bonds), DT**** (medium term notes) and DN**** (municipal bonds)
-rule id 117: clarified that field 37 should not be optional in case of a SI (i.e. the field should be N/A)
-rule id 140: CFI-codes JF****, RWC***, RFC***, DE***C and DS***C are included in this validation rule
-rule id 220: The error text is amended to include also MIC identification
-rule is 228: Included clarification for cases when fields 12 and 21 are left blank
-rule id 250: The following CFI-codes are included in this validation rule: RA****, RS****, RP****, RD****, RM****, RX****,
RWB***, RWS***, RWD***, RWT***, RWI***, RWM***, RWX***, RFB***, RFS***, RFD***, RFT***, RFI***, RFM***, RFX**
DB****, DC****, DW****, DT****, DG****, DA****, DN****, DD****, DM****, DY****, DX****, DE***B, DE***S, DE***D
DE***T, DE***I, DE***N, DE***M, DE***X, DS***B, DS***S, DS***D, DS***T, DS***I, DS***N, DS***M, DS***X, JE****, JC
JR****, JT****, JX****
- rule id 262: field 35 is mandatory for debt instruments, i.e. CFI of the instrument in the reference data is DB**** (bonds), DC
(convertible bonds), DT**** (medium term notes) and DN**** (municipal bonds)
-rule id 264: CFI-codes ES****, EP****, EC****, EF****, EL****, ED****, EM****, EX**** and C**** are included in this valid
rule
-rule id 270: If 'XXXX' is populated in field 36, the full instrument description must be provided and the ISIN reported in must n
present in reference data for the relevant trade date.
- New rule (id 283): If field 25 Transmission of order indicator is ‘true’, the trading venue field (field 36) should be XOFF or XXX
- New rule (id 284): field 36 is populated with 'XXXX' or 'XOFF' or a MIC pertaining to a Systematic Internaliser.
- rule (id 43): Included clarification that the EntityStatus shall be Active on the trading date
- rule (id 56): Included clarification that the EntityStatus shall be Active on the trading date
- rule (id 72): Included clarification that the EntityStatus shall be Active on the trading date
TREM Exchange Interface Data Validation Rules
This document describes data validation rules for MiFIR transaction data.
The document provides comprehensive description of all validation rules that are applied. It includes rules related
to:
- the format of specific fields;
- whether a field is mandatory (if not specified explicitely that a file is mandatory, it should be considered
considered optional);
- dependencies between different fields;
- the content of fields.
There may be more than one data quality rule per field. In such cases relevant rows were duplicated (i.e. each rule
is described in a separate row).
The rules implemented in the schema apply to the whole file. If there is one or more such errors in the file, the
whole file will be rejected. The content rules apply to specific transactions and only invalid transactions will be
rejected.
For each content rule an error code and an error message is specified. In the case of the syntax rules (XML
schema), there is no error code / message defined. The error message is generated by the XML parser and depends
on the parser used by each user.
The error code format is CON-NNN. NNN is a number where first 2 digits are the number of the field which is
validated by the rule (e.g. 01 - field 1, 15 - field 15, etc.) and the last 2 digits is the sequence number for rules
related to a field. Codes starting with 7, 8 and 9 are used for validation rules that are not related specific business
fields (e.g. related to technical fields).
5 / 32
TREM Exchange Interface Data Validation Rules
003 2 Transaction Reference Number Field is mandatory for all cancellation reports XML schema N/A Generated by the XML parser
This field must not be populated where field 36 is populated with a MIC Trading venue transaction
Trading venue transaction
010 3 pertaining to a non-EEA Trading Venue or 'XXXX' or 'XOFF' or a MIC Application CON-030 identification code is inconsistent 2
identification code
pertaining to a Systematic Internaliser. with the trading venue
6 / 32
TREM Exchange Interface Data Validation Rules
Where field 5 is populated with 'true', this field shall be populated with
a LEI accurately formatted and in the LEI database included in the GLEIF
database maintained by the Central Operating Unit.
1. The status of the LEI shall be "Issued", "Pending transfer" or
"Pending archival".
2. The InitialRegistrationDate of the LEI shall be equal or before the
trading date.
Executing entity identification The executing entity LEI is not
014 4 3. The EntityStatus shall be Active or if the EntityStatus is Inactive, the Application CON-040 1
code valid
LastUpdateDate shall be equal or after the trading date.
If the status of the LEI is "Lapsed" in the LEI reference data as of the
transaction execution date, an additional check should be performed in
the LEI reference data as of the transaction submission date and the
status of the LEI in this version of the reference data shall be "Issued",
"Pending transfer" or "Pending archival".
Where field 5 is populated with 'false', this field shall be populated with
a LEI accurately formatted and in the LEI database included in the GLEIF
database maintained by the Central Operating Unit.
1. The status of the LEI shall be "Issued", "Pending transfer" "Pending
Executing entity identification The executing entity LEI is not
266 4 archival" or "Lapsed". Application CON-041 1
code valid
2. The InitialRegistrationDate of the LEI shall be equal or before the
trading date.
3. The EntityStatus shall be Active or if the EntityStatus is Inactive, the
LastUpdateDate shall be equal or after the trading date.
Investment Firm covered by Indicates whether the entity identified in field 4 is an investment firm ‘true’- yes
017 5 Only 'true' or 'false' values allowed XML schema N/A Generated by the XML parser
Directive 2014/65/EU covered by Article 4.1(1) of Directive 2014/65/EU. ‘false’- no
Investment Firm covered by
018 5 Field is mandatory for all new transaction reports. XML schema N/A Generated by the XML parser
Directive 2014/65/EU
Code used to identify the entity submitting the transaction report to the
competent authority in accordance with Article 26(7) of Regulation (EU)
600/2014.
This field shall be populated with a LEI accurately formatted and in the
LEI database included in the GLEIF database maintained by the Central
Operating Unit.
1. The status of the LEI shall be "Issued", "Lapsed", "Pending transfer"
or "Pending archival".
Submitting entity identification
021 6 2. The InitialRegistrationDate of the LEI shall be equal or before the Application CON-060 Submitting entity LEI is not valid 1
code
submission date.
3. The EntityStatus shall be Active or if the EntityStatus is Inactive, the
LastUpdateDate shall be equal or after the submission date.
The submission date should be the system date at the moment of
delivery of the data to the competent authority.
Where the transaction is for a transmitted order that has met the conditions for transmission set out in Article 4, the information in fields 7-
15 shall be populated by the receiving firm in the receiving firm’s report with the information received from the transmitting firm.
7 / 32
TREM Exchange Interface Data Validation Rules
counterparty (CCP) and where the identity of the acquirer is not
disclosed, the LEI code of the CCP shall be used.
Where the transaction was executed on a trading venue or on an
organised trading platform outside of the Union that does not utilise a
CCP and where the identity of the acquirer is not disclosed, the MIC code
of the trading venue or of the organised trading platform outside of the
Union shall be used.
Where the acquirer is an investment firm acting as a systematic
internaliser (SI), the LEI code of the SI shall be used.
8 / 32
TREM Exchange Interface Data Validation Rules
If national identifier is used, the first 2 characters of the national Buyer national identification code
029 7 Buyer identification code identification code should be an ISO 3166 country code that was valid Application CON-071 XXX does not include valid 1
at the trading date country code
If MIC code is used, it should be a valid ISO 10383 MIC code indicating a
Buyer MIC XXX is not valid for the
030 7 Buyer identification code trading venue that was active at the trading date, excluding special MIC Application CON-072 1
trade date
codes 'XXXX' and 'XOFF'
In case the CONCAT code is used, the following characters are only
allowed: Capital Latin letters, Numbers, #. It should be a string of
exactly 20 characters where first two characters are letters, the next 8
characters are numbers and the remaining characters are letters or #,
where 11th and 16th character are letters. The format of the buyer
211 7 Buyer identification code Application CON-074 identification code XXX is 1
In case national identification number or passport number is used, the incorrect
following characters are only allowed: capital Latin letters (A-Z),
numbers (0-9) as well as “+” and “-“ in case the identifier starts with
"FI" and "-" when the identifier starts with "LV". It can be a string of 3
to 35 characters, where first two characters are letters.
If the CONCAT code is used, the birthdate in the CONCAT code should
240 7 Buyer identification code Application CON-073 The CONCAT code XXX is incorrect 1
- Additional details be the same as the birthdate populated in field 11.
Field 8-15 are only applicable if the buyer is a client
Fields 9-11 are only applicable if the buyer is a natural person
Where the acquirer is a client, this field should identify the country of
the branch that received the order from the client or made an
investment decision for a client in accordance with a discretionary
mandate given to it by the client as required by Article 14.3.
Where this activity was not conducted by a branch this should be
Country of the branch for the populated with the country code of the home Member State of the {COUNTRYCODE_2}
032 8 If populated, it should be a text string consisting of 2 capital letters XML schema N/A Generated by the XML parser
buyer investment firm or the country code of the country where the
investment firm has established its head office or registered office (in
the case of third country firms).
Where the transaction is for a transmitted order that has met the
conditions for transmission set out in Article 4, this field shall be
populated using the information received from the transmitting firm.
9 / 32
TREM Exchange Interface Data Validation Rules
Country of the branch for the If populated, it should be an ISO 3166 country code that was valid at Country code XXX is not valid for
033 8 Application CON-080 1
buyer the trading date the trade date
Code used to identify the person who makes the decision to acquire the
financial instrument.
Where the decision is made by an investment firm, this field shall be If LEI is used, the value should be a string of 20 characters where first
populated with the identity of the investment firm rather than the 18 characters are capital letters or numbers and 2 last characters are
{LEI}
042 12 Buyer decision maker code individual making the investment decision. numbers. XML schema N/A Generated by the XML parser
{NATIONAL_ID}
Where the decision maker is a legal entity, the LEI code of the decision If national identifier is used, the value should be a string of no more
maker shall be used. than 35 characters.
Where the decision maker is a non-legal entity, the identifier specified in
Article 6 shall be used.
10 / 32
TREM Exchange Interface Data Validation Rules
If national identifier is used, the first 2 characters of the national Buyer decision maker
045 12 Buyer decision maker code identification code should be an ISO 3166 country code that was valid Application CON-121 identification code XXX does not 1
at the trading date include valid country code
In case the CONCAT code is used, the following characters are only
allowed: Capital Latin letters, Numbers, #. It should be a string of
exactly 20 characters where first two characters are letters, the next 8
characters are numbers and the remaining characters are letters or #,
where 11th and 16th character are letters.
The format of the buyer decision
212 12 Buyer decision maker code Application CON-123 1
maker code XXX is incorrect
In case national identification number or passport number is used, the
following characters are only allowed: capital Latin letters (A-Z),
numbers (0-9) as well as “+” and “-“ in case the identifier starts with
"FI" and "-" when the identifier starts with "LV". It can be a string of 3
to 35 characters, where first two characters are letters.
If the CONCAT code is used, the birthdate in the CONCAT code should
241 12 Buyer decision maker code Application CON-122 The CONCAT code XXX is incorrect 1
be the same as the birthdate populated in field 15.
- Buyer decision maker details
Fields 13-15 are only applicable if the decision maker is a natural person
Field should be a text string of no more than 140 characters. The
following characters are only allowed: capital letters from EEA
Full first name(s) of the decision maker for the buyer. In case of more
Buy decision maker - First European alphabets, i.e. Latin alphabet (A-Z), Cyrillic alphabet (А-Я), Not implemented
047 13 than one first name, all names shall be included in this field separated by {ALPHANUM-140} N/A
Name(s) Greek alphabet (Α-Ω), diacritical characters and the following non- in the XML schema
a comma
alphanumerical characters: comma ",", space " ", apostrophe "'", minus
"-", dash "–".
Buy decision maker - First Field is mandatory where national ID was populated in field 12.
048 13 XML schema N/A Generated by the XML parser
Name(s) Otherwise is not populated.
Buy decision maker – Field is mandatory where national ID was populated in field 12.
050 14 XML schema N/A Generated by the XML parser
Surname(s) Otherwise is not populated.
Buy decision maker - Date of Field must be populated with a valid date in the following format: YYYY-
051 15 Date of birth of the decision maker for the buyer {DATEFORMAT} XML schema N/A Generated by the XML parser
birth MM-DD
Buy decision maker - Date of Field is mandatory where national ID was populated in field 12.
052 15 XML schema N/A Generated by the XML parser
birth Otherwise is not populated.
Buy decision maker - Date of Date of birth is later than trading
053 15 Date of birth in field 15 should not be later than trading date. Application CON-150 1
Wherebirth
the transaction for a seller is for a transmitted order that has met the conditions for transmission set out in Article 4, the information date
in fields 16-24 shall be populated by the receiving firm in the receiving firm’s report from the information received from the transmitting
firm.
11 / 32
TREM Exchange Interface Data Validation Rules
organised trading platform outside of the Union that utilises a CCP and
where the identity of the disposer is not disclosed, the LEI code of the
CCP shall be used.
Where the transaction was executed on a trading venue or on an
organised trading platform outside of the Union that does not utilise a
CCP and where the identity of the disposer is not disclosed, the MIC
code of the trading venue or of the organised trading platform outside
of the Union shall be used.
Where the disposer is an investment firm acting as a SI, the LEI code of
the SI shall be used
12 / 32
TREM Exchange Interface Data Validation Rules
organised trading platform outside of the Union that utilises a CCP and
where the identity of the disposer is not disclosed, the LEI code of the
CCP shall be used.
Where the transaction was executed on a trading venue or on an
organised trading platform outside of the Union that does not utilise a
CCP and where the identity of the disposer is not disclosed, the MIC
code of the trading venue or of the organised trading platform outside
of the Union shall be used.
Where the disposer is an investment firm acting as a SI, the LEI code of
the SI shall be used
13 / 32
TREM Exchange Interface Data Validation Rules
If national identifier is used, the first 2 characters of the national Seller national identification code
058 16 Seller identification code identification code should be an ISO 3166 country code that was valid Application CON-161 XXX does not include valid 1
at the trading date country code
If MIC code is used, it should be a valid ISO 10383 MIC code indicating a
Seller MIC XXX is not valid for the
059 16 Seller identification code trading venue that was active at the trading date, excluding special MIC Application CON-162 1
trade date
codes 'XXXX' and 'XOFF'
In case the CONCAT code is used, the following characters are only
allowed: Capital Latin letters, Numbers, #. It should be a string of
exactly 20 characters where first two characters are letters, the next 8
characters are numbers and the remaining characters are letters or #,
where 11th and 16th character are letters. The format of the seller
213 16 Seller identification code Application CON-164 identification code XXX is 1
In case national identification number or passport number is used, the incorrect
following characters are only allowed: capital Latin letters (A-Z),
numbers (0-9) as well as “+” and “-“ in case the identifier starts with
"FI" and "-" when the identifier starts with "LV". It can be a string of 3
to 35 characters, where first two characters are letters.
If the CONCAT code is used, the birthdate in the CONCAT code should
242 16 Seller identification code Application CON-163 The CONCAT code XXX is incorrect 1
be the same as the birthdate populated in field 20.
- Field 17-21 are only applicable if the seller is a client
- Fields 18-20 are only applicable if the seller is a natural person
Where the seller is a client, this field should identify the country of the
branch that received the order from the client or made an investment
decision for a client in accordance with a discretionary mandate given to
it by the client as required by Article 14.3.
Where this activity was not conducted by a branch this should be
Country of the branch for the populated with the country code of the home Member State of the {COUNTRYCODE_2}
061 17 If populated, it should be a text string consisting of 2 capital letters XML schema N/A Generated by the XML parser
seller investment firm or the country code of the country where the
investment firm has established its head office or registered office (in
the case of third country firms).
Where the transaction is for a transmitted order that has met the
conditions for transmission set out in Article 4, this field shall be
populated using the information received from the transmitting firm.
Country of the branch for the If populated, it should be an ISO 3166 country code that was valid at Country code XXX is not valid for
062 17 Application CON-170 1
seller the trading date the trade date
14 / 32
TREM Exchange Interface Data Validation Rules
Code used to identify the person who makes the decision to sell the
financial instrument.
Where the decision is made by an investment firm, this field shall be If LEI is used, the value should be a string of 20 characters where first
populated with the identity of the investment firm rather than the 18 characters are capital letters or numbers and 2 last characters are
{LEI}
071 21 Seller decision maker code individual making the investment decision. numbers. XML schema N/A Generated by the XML parser
{NATIONAL_ID}
Where the decision maker is a legal entity, the LEI code of the decision If national identifier is used, the value should be a string of no more
maker shall be used. than 35 characters.
Where the decision maker is a non-legal entity, the identifier specified in
Article 6 shall be used.
If national identifier is used, the first 2 characters of the national Seller decision maker
074 21 Seller decision maker code identification code should be an ISO 3166 country code that was valid Application CON-211 identification code XXX does not 1
at the trading date include valid country code
In case the CONCAT code is used, the following characters are only
allowed: Capital Latin letters, Numbers, #. It should be a string of
exactly 20 characters where first two characters are letters, the next 8
characters are numbers and the remaining characters are letters or #,
where 11th and 16th character are letters. The format of the seller decision
243 21 Seller decision maker code Application CON-213 maker identification code XXX is 1
In case national identification number or passport number is used, the incorrect
following characters are only allowed: capital Latin letters (A-Z),
numbers (0-9) as well as “+” and “-“ in case the identifier starts with
"FI" and "-" when the identifier starts with "LV". It can be a string of 3
to 35 characters, where first two characters are letters.
If the CONCAT code is used, the birthdate in the CONCAT code should
244 21 Seller decision maker code Application CON-212 The CONCAT code XXX is incorrect 1
be the same as the birthdate populated in field 24.
Seller decision maker details
- Fields 22-24 are only applicable if the decision maker is a natural person
15 / 32
TREM Exchange Interface Data Validation Rules
Sell decision maker - First Field is mandatory where national ID was populated in field 21.
077 22 XML schema N/A Generated by the XML parser
Name(s) Otherwise is not populated.
Sell decision maker – Field is mandatory where national ID was populated in field 21.
079 23 XML schema N/A Generated by the XML parser
Surname(s) Otherwise is not populated.
Sell decision maker - Date of Field must be populated with a valid date in the following format: YYYY-
080 24 Date of birth of the decision maker for the seller {DATEFORMAT} XML schema N/A Generated by the XML parser
birth MM-DD
Sell decision maker - Date of Field is mandatory where national ID was populated in field 21.
081 24 XML schema N/A Generated by the XML parser
birth Otherwise is not populated.
Sell decision maker - date of Date of birth is later than trading
082 24 Date of birth in field 24 should not be later than trading date. Application CON-240 1
birth date
have been met.
- Where a firm acts both as a receiving firm and a transmitting firm it shall populate field 25 to indicate that it is a transmitting firm and shall
‘true’ shall be populated by the transmitting firm within the transmitting
firm’s report where the conditions for transmission specified in Article 4 ‘true’
083 25 Transmission of order indicator Field is mandatory for all new transaction reports. XML schema N/A Generated by the XML parser
were not satisfied ‘false’
‘false’ – in all other circumstances
084 25 Transmission of order indicator Only 'true' or 'false' values allowed XML schema N/A Generated by the XML parser
This field shall be populated with a LEI accurately formatted and in the
LEI database included in the GLEIF database maintained by the Central
Operating Unit.
1. The status of the LEI shall be "Issued", "Lapsed", "Pending transfer"
Transmitting firm identification Firm transmitting identification
086 26 or "Pending archival". Application CON-260 1
code for the buyer code for the buyer LEI is not valid
2. The InitialRegistrationDate of the LEI shall be equal or before the
trading date.
3. The EntityStatus shall be Active or if the EntityStatus is Inactive, the
LastUpdateDate shall be equal or after the trading date.
This field shall be populated with a LEI accurately formatted and in the
LEI database included in the GLEIF database maintained by the Central
Operating Unit.
1. The status of the LEI shall be "Issued", "Lapsed", "Pending transfer"
Transmitting firm identification Firm transmitting identification
090 27 or "Pending archival". Application CON-270 1
code for the seller code for the seller LEI is not valid
2. The InitialRegistrationDate of the LEI shall be equal or before the
trading date.
3. The EntityStatus shall be Active or if the EntityStatus is Inactive, the
LastUpdateDate shall be equal or after the trading date.
Transaction details
16 / 32
TREM Exchange Interface Data Validation Rules
Field must be populated with a valid date and time in the following
format: YYYY-MM-DDThh:mm:ss.ssssssZ
095 28 Trading date time XML schema N/A Generated by the XML parser
The minimum precision is seconds
Trading date time must be before the reception date time (i.e. when
096 28 Trading date time Application CON-280 Trading date time is in the future 1
the file including the transaction was received by the NCA).
Trading date cannot be earlier than the agreed date of the first trading
269 28 Trading date time date to be reported under MiFIR or earlier than 5 years before the Application CON-281 Trade date is too far in the past 1
current date.
17 / 32
TREM Exchange Interface Data Validation Rules
Currency in which the quantity is expressed. Field is mandatory where monetary or nominal value was used in field
102 31 Quantity currency {CURRENCYCODE_3} XML schema N/A Generated by the XML parser
Only applicable if quantity is expressed as nominal or monetary value. 30
103 31 Quantity currency Reported value should be a text string consisting of 3 capital letters XML schema N/A Generated by the XML parser
A valid ISO 4217 currency code that was active at the trading date or is
a pre-EURO currency should be populated.
Currency code is not valid for the
104 31 Quantity currency Application CON-310 1
trade date
The following special currency codes are not allowed: XAG, XAU, XBA,
XBB, XBC, XBD, XDR, XEU, XFU, XPD, XPT, XXX.
18 / 32
TREM Exchange Interface Data Validation Rules
The net amount of the transaction means the cash amount which is paid
by the buyer of the debt instrument upon the settlement of the In case the CFI code is reported in field 43 (transaction in a financial
transaction. This cash amount equals to: (clean price * nominal value) instrument that is not admitted to trading):
111 35 Net amount +any accrued coupons. As a result, the net amount of the transaction {DECIMAL-18/5} The field is mandatory for debt instruments, i.e. CFI reported in field 43 Application CON-350 Net amount is missing 8
excludes any commission or other fees charged to the buyer of the debt is DB**** (Bonds), DC**** (convertible bonds), DT**** (mendium
instrument. term notes) or DN**** (municipal bonds).
Field only applies when the financial instrument is debt.
The reported code should be a valid ISO 10383 MIC code that was Venue MIC is not valid for the
116 36 Venue Application CON-360 1
active at the trading date trade date
19 / 32
TREM Exchange Interface Data Validation Rules
Identifier, internal to the reporting firm to identify all the reports related
to the same execution of a combination of financial instruments in
The reported value should be a text string of no more than 35
125 40 Complex trade component id accordance with Article 12. The code must be unique at the level of the {ALPHANUM-35} XML schema N/A Generated by the XML parser
characters consisting of capital Latin letters (A-Z) and numbers.
firm for the group of reports related to the execution.
Field only applies when the conditions specified in Article 12 apply.
Instrument details
219 A general explanation of the instrument related fields is provided in the 'InstrumentValidation' tab.
Field is:
Code used to identify the financial instrument
1. mandatory for transactions executed on a trading venue or with an
This field applies to financial instruments for which a request for
investment firm acting as a SI or transactions in instruments that exist
admission to trading has been made, that are admitted to trading or
on the reference data list from ESMA
127 41 Instrument identification code traded on a trading venue or on a systematic internaliser. It also applies {ISIN} XML schema N/A Generated by the XML parser
2. optional for transactions in instruments that do not exist on the
to financial instruments which have an ISIN and are traded on organised
reference data list from ESMA that are executed OTC or on organised
trading platform outside of the Union where the underlying is a financial
trading platforms outside EEA
instrument traded on a trading venue.
The check digit of the ISIN code should be valid according to the
algorithm of ISIN validation, as defined in the ISO 6166:2013 standard,
130 41 Instrument identification code Application CON-410 The ISIN code is invalid 1
Annex C Formula for computing the modulus 10 double-add-double"
check digit.
The instrument should be present in reference data for the trading
date for the following transactions:
1. The transaction is executed on a trading venue within EEA (MIC code If no more than 7 days has passed
in field 36 belongs to a trading venue within the EEA); after the transaction submission
2. The transaction is an OTC transaction in instrument admitted to (i.e. it is the 7th day or before) the
trading (field 36 populated with 'XOFF') and field 47 and 48 are not Application CON-411 transaction shall be pending with 3
populated; the following message:
3. The transaction is executed on a SI or an organised trading platform
outside EEA and field 47 and 48 are not populated. Pending instrument validation
Field should be a text string of no more than 350 characters where any
133 42 Instrument full name XML schema N/A Generated by the XML parser
character is allowed.
Field is:
1. not applicable for transactions executed on a trading venue or with
an investment firm acting as a SI or transactions in instruments that
Taxonomy used to classify the financial instrument exist on the reference data list from ESMA (if populated, it is ignored
134 43 Instrument classification {CFI_CODE} XML schema N/A Generated by the XML parser
A complete and accurate CFI code shall be provided. but the transaction is not rejected)
2. mandatory for transactions in instruments that do not exist on the
reference data list from ESMA that are executed OTC or on organised
trading platforms outside EEA
The reported CFI should be an allowed CFI according to the ISO Instrument classification identifier
222 43 Instrument classification Application CON-430 7
10962:2015. is incorrect
Field is:
Currency in which the notional is denominated.
1. not applicable for transactions executed on a trading venue or with
In the case of an interest rate or currency derivative contract, this will be
an investment firm acting as a SI or transactions in instruments that
the notional currency of leg 1 or the currency 1 of the pair.
exist on the reference data list from ESMA (if populated, it is ignored
223 44 Notional currency 1 In the case of swaptions where the underlying swap is single-currency, {CURRENCYCODE_3} XML schema N/A Generated by the XML parser
but the transaction is not rejected)
this will be the notional currency of the underlying swap. For swaptions
2. optional for transactions in instruments that do not exist on the
where the underlying is multi-currency, this will be the notional currency
reference data list from ESMA that are executed OTC or on organised
of leg 1 of the swap.
trading platforms outside EEA
A valid ISO 4217 currency code that was active at the trading date or is
a pre-EURO currency should be populated.
Currency code is not valid for the
139 44 Notional currency 1 Application CON-440 7
trade date
The following special currency codes are not allowed: XAG, XAU, XBA,
XBB, XBC, XBD, XDR, XEU, XFU, XPD, XPT, XXX.
21 / 32
TREM Exchange Interface Data Validation Rules
Field is:
1. not applicable for transactions executed on a trading venue or with
In the case of multi-currency or cross-currency swaps the currency in an investment firm acting as a SI or transactions in instruments that
which leg 2 of the contract is denominated. exist on the reference data list from ESMA (if populated, it is ignored
224 45 Notional currency 2 {CURRENCYCODE_3} XML schema N/A Generated by the XML parser
For swaptions where the underlying swap is multi-currency, the but the transaction is not rejected)
currency in which leg 2 of the swap is denominated 2. optional for transactions in instruments that do not exist on the
reference data list from ESMA that are executed OTC or on organised
trading platforms outside EEA
A valid ISO 4217 currency code that was active at the trading date or is
a pre-EURO currency should be populated.
Currency code is not valid for the
142 45 Notional currency 2 Application CON-451 7
trade date
The following special currency codes are not allowed: XAG, XAU, XBA,
XBB, XBC, XBD, XDR, XEU, XFU, XPD, XPT, XXX.
141 45 Notional currency 2 Reported value should be a text string consisting of 3 capital letters XML schema N/A Generated by the XML parser
22 / 32
TREM Exchange Interface Data Validation Rules
The check digit of the ISIN code should be valid according to the
algorithm of ISIN validation, as defined in the ISO 6166:2013 standard,
150 47 Underlying instrument code Application CON-470 The ISIN code XXX is invalid 5
Annex C Formula for computing the modulus 10 double-add-double
check digit.
More than one value can be reported by copying this field as many
226 47 Underlying instrument code XML schema N/A Generated by the XML parser
times as required.
Field is:
1. not applicable for transactions executed on a trading venue or with
{INDEX}
an investment firm acting as a SI or transactions in instruments that
Or
exist on the reference data list from ESMA (if populated, it is ignored
271 48 Underlying index name When the underlying is an index, the name of the Index. {ALPHANUM-25} - if the XML schema N/A Generated by the XML parser
but the transaction is not rejected)
index name is not included
2. optional for transactions in instruments that do not exist on the
in the {INDEX} list
reference data list from ESMA that are executed OTC or on organised
trading platforms outside EEA
23 / 32
TREM Exchange Interface Data Validation Rules
or
155 48 Underlying index name XML schema N/A Generated by the XML parser
one of the following values: EONA’, ‘EONS’, ‘EURI’, ‘EUUS’, ‘EUCH’,
‘GCFR’, ‘ISDA’, ’LIBI’, ‘LIBO’, ‘MAAA’, ‘PFAN’, ‘TIBO’, ‘STBO’, ‘BBSW’,
‘JIBA’, ‘BUBO’, ‘CDOR’, ‘CIBO’, ‘MOSP’, ‘NIBO’, ‘PRBO’, ‘TLBO’, ‘WIBO’,
‘TREA’, ‘SWAP’, ‘FUSW’.
Field is:
{INTEGER-3}+'DAYS' - days 1. not applicable for transactions executed on a trading venue or with
{INTEGER-3}+'WEEK' - an investment firm acting as a SI or transactions in instruments that
weeks exist on the reference data list from ESMA (if populated, it is ignored
272 49 Term of the underlying index In case the underlying is an index, the term of the index. XML schema N/A Generated by the XML parser
{INTEGER-3}+'MNTH' - but the transaction is not rejected)
months 2. optional for transactions in instruments that do not exist on the
{INTEGER-3}+'YEAR' - years reference data list from ESMA that are executed OTC or on organised
trading platforms outside EEA
247 49 Term of the underlying index This field is not applicable if field 48 was not populated XML schema N/A Generated by the XML parser
This field consists of two elements:
1. Unit - a code where one of the following values should be populated:
156 49 Term of the underlying index XML schema N/A Generated by the XML parser
'DAYS', 'WEEK', 'MNTH', 'YEAR'
2. Value - an integer number of up to 3 numerical digits
24 / 32
TREM Exchange Interface Data Validation Rules
If CFI code is
1. 'OC****', 'H**A**', 'H**B**', 'RW**C*' or 'H**C**', then option
type should be 'CALL'
Option type does not match
159 50 Option type 2. 'OP****', 'H**D**', 'H**E**', 'RW**P*' or 'H**F**', then option Application CON-502 8
instrument classification
type should be 'PUTO'
3. 'OM****', 'H**G**', 'H**H**', 'RW**B*' or 'H**I**', then option
type should be 'OTHR'
{DECIMAL-18/13} in case
the price is expressed as
Pre-determined price at which the holder will have to buy or sell the
monetary value Field is:
underlying instrument, or an indication that the price cannot be
{DECIMAL-11/10} in case 1. not applicable for transactions executed on a trading venue or with
determined at the time of execution.
the price is expressed as an investment firm acting as a SI or transactions in instruments that
Field only applies to an option or warrant where strike price can be
percentage or yield exist on the reference data list from ESMA (if populated, it is ignored
274 51 Strike price determined at the time of execution. XML schema N/A Generated by the XML parser
{DECIMAL-18/17} in case but the transaction is not rejected)
the price is expressed as 2. optional for transactions in instruments that do not exist on the
Where price is currently not available but pending, the value shall be
basis points reference data list from ESMA that are executed OTC or on organised
’PNDG’
’PNDG’ in case the price is trading platforms outside EEA
Where strike price is not applicable the field shall not be populated.
not available
163 52 Strike price currency Currency of the strike price {CURRENCYCODE_3} Field is mandatory where monetary value was used in field 51. XML schema N/A Generated by the XML parser
164 52 Strike price currency Reported value should be a text string consisting of 3 capital letters XML schema N/A Generated by the XML parser
A valid ISO 4217 currency code that was active at the trading date
should be populated.
Currency code is not valid for the
165 52 Strike price currency Application CON-520 7
trade date
The following special currency codes are not allowed: XAG, XAU, XBA,
XBB, XBC, XBD, XDR, XEU, XFU, XPD, XPT, XXX.
Field is:
Indication as to whether the option may be exercised only at a fixed date 1. not applicable for transactions executed on a trading venue or with
‘EURO’ - European
(European, and Asian style), a series of pre-specified dates (Bermudan) an investment firm acting as a SI or transactions in instruments that
‘AMER’ - American
or at any time during the life of the contract (American style). exist on the reference data list from ESMA (if populated, it is ignored
275 53 Option exercise style ‘ASIA’ - Asian XML schema N/A Generated by the XML parser
but the transaction is not rejected)
‘BERM’ - Bermudan
This field is only applicable for options, warrants and entitlement 2. optional for transactions in instruments that do not exist on the
‘OTHR’ - Any other type
certificates. reference data list from ESMA that are executed OTC or on organised
trading platforms outside EEA
25 / 32
TREM Exchange Interface Data Validation Rules
Field is:
1. not applicable for transactions executed on a trading venue or with
an investment firm acting as a SI or transactions in instruments that
Date of maturity of the financial instrument. exist on the reference data list from ESMA (if populated, it is ignored
276 54 Maturity date {DATEFORMAT} XML schema N/A Generated by the XML parser
Field only applies to debt instruments with defined maturity. but the transaction is not rejected)
2. optional for transactions in instruments that do not exist on the
reference data list from ESMA that are executed OTC or on organised
trading platforms outside EEA
Field is:
1. not applicable for transactions executed on a trading venue or with
an investment firm acting as a SI or transactions in instruments that
Expiry date of the financial instrument. Field only applies to derivatives exist on the reference data list from ESMA (if populated, it is ignored
277 55 Expiry date {DATEFORMAT} XML schema N/A Generated by the XML parser
with a defined expiry date. but the transaction is not rejected)
2. optional for transactions in instruments that do not exist on the
reference data list from ESMA that are executed OTC or on organised
trading platforms outside EEA
Field must be populated with a valid date in the following format: YYYY-
172 55 Expiry date XML schema N/A Generated by the XML parser
MM-DD
173 55 Expiry date The expiry date should be equal or later than the trading day (field 28). Application CON-552 Expiry date is incorrect 7
Field is:
1. not applicable for transactions executed on a trading venue or with
‘PHYS’ - Physically settled
Indication as to whether the transaction is settled physically or in cash. an derivative investment firm acting as a SI or transactions in
‘CASH’ - Cash settled
Where delivery type cannot be determined at time of execution, the instruments that exist on the reference data list from ESMA (if
174 56 Delivery type ‘OPTL’ - Optional for XML schema N/A Generated by the XML parser
value shall be ’OPTL’ populated, it is ignored but the transaction is not rejected)
counterparty or when
The field is only applicable for derivatives. 2. mandatory for transactions in derivate instruments that do not exist
determined by a third party
on the reference data list from ESMA that are executed OTC or on
organised trading platforms outside EEA
26 / 32
TREM Exchange Interface Data Validation Rules
Code used to identify the person or algorithm within the investment firm
who is responsible for the investment decision.
For natural persons, the identifier specified in Article 6 shall be used
{NATIONAL_ID} - Natural
If the investment decision was made by an algorithm, the field shall be
persons Field must be always populated where the entity deals on own account
Investment decision within populated as set out in Article 8. Investment decision identifier is
177 57 (i.e. value 'DEAL' populated in field 29) and the firm does not act as a Application CON-570 1
firm Field only applies for investment decision within the firm. missing
{ALPHANUM-50} - receiving firm (fields 26 or 27 are not populated).
Where the transaction is for a transmitted order that has met the
Algorithms
conditions for transmission set out in Article 4, this field shall be
populated by the receiving firm within the receiving firm’s report using
the information received from the transmitting firm.
If national identifier is used, the first 2 characters of the national The national identification code
Investment decision within
180 57 identification code should be an ISO 3166 country code that was valid Application CON-573 does not include valid country 1
firm
at the trading date code
27 / 32
TREM Exchange Interface Data Validation Rules
In case the CONCAT code is used, the following characters are only
allowed: Capital Latin letters, Numbers, #. It should be a string of
exactly 20 characters where first two characters are letters, the next 8
characters are numbers and the remaining characters are letters or #,
where 11th and 16th character are letters.
Investment decision within The format of the executing
229 57 Application CON-574 1
firm person code is incorrect
In case national identification number or passport number is used, the
following characters are only allowed: capital Latin letters (A-Z),
numbers (0-9) as well as “+” and “-“ in case the identifier starts with
"FI" and "-" when the identifier starts with "LV". It can be a string of 3
to 35 characters, where first two characters are letters.
Investment decision within In case an algorithm identifier is used, the following characters are only
278 57 XML schema N/A Generated by the XML parser
firm allowed: capital Latin letters (A-Z), numbers (0-9).
Code used to identify the country of the branch of the investment firm
for the person responsible for the investment decision, as set out in
Article 14.3(b).
Where the person responsible for the investment decision was not
supervised by a branch, this field shall be populated with the country
code of the home Member State of the investment firm or the country
Country of the branch
code of the country where the firm has established its head office or
responsible for the person
181 58 registered office (in the case of third country firms). {COUNTRYCODE_2} Field should be a text string consisting of 2 capital letters XML schema N/A Generated by the XML parser
making the investment
Where the transaction is for a transmitted order that has met the
decision
conditions for transmission set out in Article 4, this field shall be
populated by the receiving firm within the receiving firm’s report using
the information received from the transmitting firm.
This field is not applicable when the investment decision was made by
an algorithm
28 / 32
TREM Exchange Interface Data Validation Rules
Code used to identify the person or algorithm within the investment firm
{NATIONAL_ID} - Natural
who is responsible for the execution.
persons
For natural persons, the identifier specified in Article 7 shall be used If
183 59 Execution within firm {ALPHANUM-50} - Field is mandatory for all new transaction reports. XML schema N/A Generated by the XML parser
the execution was made by an algorithm, the field shall be populated as
Algorithms
set out in Article 9.
CLIENT - Client
If national identifier is used, the first 2 characters of the national The national identification code
186 59 Execution within firm identification code should be an ISO 3166 country code that was valid Application CON-590 does not include valid country 1
at the trading date. code
In case the CONCAT code is used, the following characters are only
allowed: Capital Latin letters, Numbers, #. It should be a string of
exactly 20 characters where first two characters are letters, the next 8
characters are numbers and the remaining characters are letters or #,
where 11th and 16th character are letters.
The format of the executing
231 59 Execution within firm Application CON-591 1
person code is incorrect
In case national identification number or passport number is used, the
following characters are only allowed: capital Latin letters (A-Z),
numbers (0-9) as well as “+” and “-“ in case the identifier starts with
"FI" and "-" when the identifier starts with "LV". It can be a string of 3
to 35 characters, where first two characters are letters.
Code used to identify the country of the branch of the investment firm
for the person responsible for the execution of the transaction, as set
out in Article 14.3(c).
Where the person responsible was not supervised by a branch, this field
Country of the branch shall be populated with the country code of the home Member State of
187 60 supervising the person the investment firm, or the country code of the country where the firm {COUNTRYCODE_2} Field should be a text string consisting of 2 capital letters XML schema N/A Generated by the XML parser
responsible for the execution has established its head office or registered office (in the case of third
country firms)
29 / 32
TREM Exchange Interface Data Validation Rules
This field shall only be populated for the market side of a transaction
executed under a waiver on a trading venue.
30 / 32
TREM Exchange Interface Data Validation Rules
‘true’ shall be populated where the transaction falls within the scope of
Securities financing transaction activity but is exempted from reporting under [Securities Financing true - yes
196 65 Field is mandatory for all new transaction reports. XML schema N/A Generated by the XML parser
indicator Transactions Regulation] false- no
‘false’ otherwise.
Securities financing transaction
197 65 Only 'true' or 'false' values allowed XML schema N/A Generated by the XML parser
indicator
31 / 32
Instrument validation process
This section describes specific rules for the instrument validation and the implementation of these validation rules in the XML schema.
The below diagram presents a summary of the instrument validation algorithm:
The key differentiator for the instrument validation is the MIC code populated in field 36. There are the following scenarios:
1. The reported MIC code is an EEA trading venue or a systematic internaliser or 'XOFF' but fields 47/48 not populated - it is expected that field 41 is populated with an instrument that is
present in the instrument reference data whereas fields 42-56 are not applicable;
2. The reported MIC code is a non-EEA trading venue or 'XOFF' and fields 47/48 are populated:
a) if the instrument populated in field 41 is present in the reference data, fields 42-56 are not applicable;
b) if field 41 is not populated or is populated with an instrument that is not present in the reference data, then fields 42-56 are applicable and the underlying instrument (field 47 or 48)
must be populated, in particular the instrument populated in field 47 must be present in the reference data;
3. The reported MIC code is 'XXXX' - fields 42-56 are applicable and the underlying instrument (field 47 or 48) must be populated, field 41 is optional and is ignored in the validation
process.
The instrument description in the XML schema can be populated in two alternative ways:
1. Only the field 41 is populated (the 'Admitted To Trading' simple XML element) - this is expected to be used for transactions in instruments admitted to trading, or traded on a trading
venue or for which a request for admission was made;
2. For transactions in instruments not admitted to trading (in other words transactions in derivatives of instruments admitted to trading or derivatives of indices/baskets of instruments
admitted to trading) fields 41-56 can be populated (the 'Derivative' complex XML element).
The 'Derivative' complex element is composed of fields 41 to 56. Some of the fields are mandatory, i.e. those with [1,1] (the first '1' indicates that the value should be populated at least 1
time and the second '1' indicates that the value should be populated no more than 1 time, which in other words means that the field is mandatory).
When preparing the report, the submitting firm will need to chose one of the two XML elements to describe the instrument. It is expected that:
1. In the case of transactions are executed on a trading venue or with an investment firm acting as a SI or transactions in instruments that exists on the reference data list the 'Admitted To
Trading' element is used and the field 41 is only populated.
2. The 'Derivative' complex XML element is used for the other transactions.
However, if the 'Derivative' element is used for such transaction referred to in point 1 above and fields 42-56 are populated (although not applicable), they will be ignored (they will not be
validated and used) but the transaction report will not be rejected because of this redundant information.