
Article 1 

1. Article 4 is amended as follows:
(a) Paragraph 1 is replaced by the following:'
1. A trade repository shall provide the entities listed in Article 81(3) of Regulation (EU) No 648/2012 with direct and immediate access, including where delegation under Article 28 of Regulation (EU) No 1095/2010 exists, to details of derivatives contracts in accordance with Articles 2 and 3 of this Regulation.For the purposes of the first subparagraph, a trade repository shall use an XML format and a template developed in accordance with ISO 20022 methodology. A trade repository may in addition, after agreement with the entity concerned, provide access to details of derivatives contracts in another mutually agreed format.'
(b) Paragraph 2 is deleted.
2. In Article 5, the following paragraphs 3 to 9 are added:'
3. A trade repository shall establish and maintain the necessary technical arrangements to enable the entities listed in Article 81(3) of Regulation (EU) No 648/2012 to connect using a secure machine-to-machine interface in order to submit data requests and to receive data.For the purposes of the first subparagraph, a trade repository shall use the SSH File Transfer Protocol. The trade repository shall use standardised XML messages developed in accordance with the ISO 20022 methodology to communicate through that interface. A trade repository may in addition, after agreement with the entity concerned, set up a connection using another mutually agreed protocol.
4. In accordance with Articles 2 and 3 of this Regulation, a trade repository shall provide the entities listed in Article 81(3) of Regulation (EU) No 648/2012 with access to the following information:
(a) all reports on derivatives contracts;
(b) the latest trade states of derivatives contracts that have not matured or which have not been the subject of a report with Action type “E”, “C”, “P” or “Z” as referred to in field 93 in Table 2 of the Annex to Commission Implementing Regulation (EU) No 1247/2012.
5. A trade repository shall establish and maintain the necessary technical arrangements to enable the entities listed in Article 81(3) of Regulation (EU) No 648/2012 to establish predefined periodic requests to access details of derivatives contracts, as determined in paragraph 4, necessary for those entities to fulfil their responsibilities and mandates.
6. Upon request, a trade repository shall provide the entities listed in Article 81(3) of Regulation (EU) No 648/2012 with access to details of derivatives contracts according to any combination of the following fields as referred to in the Annex to Implementing Regulation (EU) No 1247/2012:
(a) reporting timestamp;
(b) reporting Counterparty ID;
(c) ID of the other Counterparty;
(d) corporate sector of the reporting counterparty;
(e) nature of the reporting counterparty;
(f) broker ID;
(g) report submitting entity ID;
(h) beneficiary ID;
(i) asset class;
(j) product classification;
(k) product identification;
(l) underlying identification;
(m) venue of execution;
(n) execution timestamp;
(o) maturity date;
(p) termination date;
(q) CCP; and
(r) action type.
7. A trade repository shall establish and maintain the technical capability to provide direct and immediate access to details of derivatives contracts necessary for the entities listed in Article 81(3) of Regulation (EU) No 648/2012 to fulfil their mandates and responsibilities. That access shall be provided as follows:
(a) where an entity listed in Article 81(3) of Regulation (EU) No 648/2012 requests access to details of outstanding derivatives contracts or of derivatives contracts which have either matured or for which reports with action types “E”, “C”, “Z” or “P” as referred to in field 93 in Table 2 of the Annex to Implementing Regulation (EU) No 1247/2012 were made not more than one year before the date on which the request was submitted, a trade repository shall fulfil that request no later than 12:00 Universal Coordinated Time on the first calendar day following the day on which the request to access is submitted.
(b) where an entity listed in Article 81(3) of Regulation (EU) No 648/2012 requests access to details of derivatives contracts which have either matured or for which reports with action types “E”, “C”, “Z” or “P” as referred to in field 93 in Table 2 of the Annex to Implementing Regulation (EU) No 1247/2012 were made more than one year before the date on which the request was submitted, a trade repository shall fulfil that request no later than three working days after the request to access is submitted.
(c) where a request to access data by an entity listed in Article 81(3) of Regulation (EU) No 648/2012 relates to derivative contracts falling under both points (a) and (b), the trade repository shall provide details of those derivatives contracts no later than three working days after that request to access is submitted.
8. A trade repository shall confirm receipt and verify the correctness and completeness of any request to access data submitted by the entities listed in Article 81(3) of Regulation (EU) No 648/2012. It shall notify those entities of the result of that verification no later than sixty minutes after the submission of the request.
9. A trade repository shall use electronic signature and data encryption protocols to ensure the confidentiality, integrity, and protection of the data made available to the entities listed in Article 81(3) of Regulation (EU) No 648/2012.'
Article 2 
This Regulation shall enter into force on the twentieth day following that of its publication in the Official Journal of the European Union.
It shall apply from 1 November 2017.
This Regulation shall be binding in its entirety and directly applicable in all Member States.Done at Brussels, 29 June 2017.
For the Commission
The President
Jean-Claude JUNCKER