# Building Regulatory Reporting Data: Field Mapping, CDEs, and ISO 20022

> Building regulatory reporting data is how a financial institution that reports OTC derivatives trade information turns the trade data in its internal systems into reporting fields. The institution maps internal fields to reporting fields, converts the values to the required data types and allowable values, and submits them in a form that passes trade repository validation. To align reporting fields across jurisdictions, the international critical data elements (CDE) set field definitions, formats, and allowable values.

- URL: https://www.derivatives-compass.org/en/data-systems/regulatory-reporting-data/
- Area: Data and Systems › Data Standards
- Last reviewed: 2026-11-22
- 日本語版: https://www.derivatives-compass.org/ja/data-systems/regulatory-reporting-data/index.md

A trade recorded in a trading system cannot be sent to the authorities as a report in that form. Systems staff who build reporting systems work with this process when they link internal fields to reporting fields, change value formats, and check whether submitted reports were accepted.

## Key points

- Internal fields and reporting fields can differ in both name and value format, so each field is mapped and its value converted.
- Digits, units, and code values must match each field's data type and allowable values, and rounding is also specified.
- Critical data elements align definitions across jurisdictions, but the way values are written can still differ by jurisdiction.
- EU reports are built as ISO 20022 XML and must comply with the schemas and validation rules.
- In EU reporting, reports that fail validation are rejected, corrected, and resubmitted by the reporting deadline.

## Gaps between internal data and reporting fields

In trade reporting of [OTC derivatives](https://www.derivatives-compass.org/en/glossary/otc-derivative/), each reporting field has a set definition, data type, and allowable values. If internal systems hold the same information under different names or in different formats, the institution has to decide which internal field produces which reporting field and convert the values into the reporting format. The types of reports, deadlines, and checks before and after submission are covered on the [Regulatory Reporting](https://www.derivatives-compass.org/en/internal-operations/regulatory-reporting/) page.

As of November 2023, Japan's reporting fields are numbered 1 to 138[^gl-list]. For each field, the guidelines give an English and a Japanese name, a definition, the allowable values, and remarks. For trades with two streams of payments, such as a [swap](https://www.derivatives-compass.org/en/glossary/swap/), fields reported for each [leg](https://www.derivatives-compass.org/en/glossary/leg/) are marked "Leg1,Leg2"[^gl-format].

## Mapping one trade to reporting fields

Mapping is more than moving one internal value into one reporting field. One value may be split into two fields, the fields used may depend on the product type, and values may be replaced with codes.

### Bank S's interest rate swap mapping table

Consider a hypothetical example in which Bank S enters into a yen [interest rate swap](https://www.derivatives-compass.org/en/glossary/interest-rate-swap/) with Company T. The swap has a [notional amount](https://www.derivatives-compass.org/en/glossary/notional-amount/) of 10 billion yen, a term of five years, and a [fixed rate](https://www.derivatives-compass.org/en/glossary/fixed-rate/) of 1%, and Bank S pays the fixed rate. The fixed leg pays interest twice a year, the [day count convention](https://www.derivatives-compass.org/en/glossary/day-count-convention/) is Act/365 (Fixed), and Bank S is Counterparty 1, the reporting party.

| Internal representation (example)    | Reporting field (number)                          | Reported value |
| ------------------------------------ | ------------------------------------------------- | -------------- |
| Notional amount 10 billion yen       | Notional amount (87)                              | 10000000000    |
| Notional currency yen                | Notional currency (90)                            | JPY            |
| Fixed rate 1%                        | Fixed rate (71)                                   | 0.01           |
| Bank S is the payer on the fixed leg | Direction 2 (11)                                  | MAKE           |
| Day count convention ACT/365.FIXED   | Day count convention (27)                         | A005           |
| Interest paid twice a year           | Payment frequency period (28) and multiplier (29) | MNTH and 6     |

The fields in the table are reported for each leg of the trade, where they apply to that leg[^gl-87][^gl-71][^gl-27]. The payment frequency is split into two fields: a unit of time and the number of those units. Every two months is "MNTH" and 2[^gl-27].

### Choosing fields by product

For the direction of the trade, the field used depends on the product type. For swaps and FX forwards, Direction 2 shows whether Counterparty 1 is the payer or the receiver on each leg, and MAKE is entered for the payer. For [options](https://www.derivatives-compass.org/en/glossary/option/), [credit default swaps](https://www.derivatives-compass.org/en/glossary/credit-default-swap/) (CDS), and similar products, Direction 1 shows whether Counterparty 1 is the buyer or the seller, and the two fields are never used for the same trade[^gl-direction].

Multi-currency trades whose payments are not netted, such as a [cross-currency swap](https://www.derivatives-compass.org/en/glossary/currency-swap/) exchanging yen for a foreign currency, are reported as two records, one for the receiving side and one for the paying side[^gl-87].

### Converting to data types and allowable values

A field's data type sets the length and digits of its value. Num(25,5) is a number of up to 25 characters, including up to five decimal places; if there are more than five decimal places, the reporting party rounds up. Varchar(25) is up to 25 alphanumeric characters, and special characters can be used only where the field's format specifies them[^gl-format].

Units also have rules. The fixed rate is expressed as a decimal, so 2.57% is written as 0.0257[^gl-71]. Currencies use the three-letter ISO 4217 codes. In the Settlement currency field, an offshore currency is reported as its onshore currency[^gl-21]. Dates and times are written in Coordinated Universal Time (UTC) with a trailing Z, so times held in Japan time are converted to UTC[^gl-format].

Internal codes are replaced with reporting codes. The allowable values for the day count convention are the codes A001 to A020 and NARR, and Appended Table 1 of the guidelines maps each code to its [ISO 20022](https://www.derivatives-compass.org/en/glossary/iso-20022/) name, FIX code, and [FpML](https://www.derivatives-compass.org/en/glossary/fpml/) code. If the convention is held internally as the FpML code ACT/365.FIXED, it is replaced with A005 in the report[^gl-27].

### Values that are hard for systems to determine

Japanese reporting allows substitute values where internal systems cannot determine a value precisely. If the effective date is not stated in the [trade confirmation](https://www.derivatives-compass.org/en/glossary/trade-confirmation/), the Execution date or the Trade Date can be reported, and each institution's internal definition can also be used[^gl-1-5].

For the reporting timestamp and the execution timestamp, the time of input into the system, the time the data were created, or the time of transfer between systems can also be used. If system constraints leave smaller units such as seconds unknown, those units can be set to "00"[^gl-1-5]. For the clearing indicator (Cleared), if the system has difficulty identifying the value "I" for trades intended to be cleared, they can be reported as "N"[^gl-15].

## International harmonization through critical data elements

[Critical data elements](https://www.derivatives-compass.org/en/glossary/critical-data-elements/) (CDE) internationally harmonize the definitions, formats, and allowable values of OTC derivatives reporting fields other than the [UTI](https://www.derivatives-compass.org/en/glossary/uti/) and the [UPI](https://www.derivatives-compass.org/en/glossary/upi/)[^gl-format][^roc-annex-c]. Their purpose is to allow data reported to [trade repositories](https://www.derivatives-compass.org/en/glossary/trade-repository/) (TRs) to be aggregated consistently at a global level[^roc-annex-c].

### Content of the elements and oversight

The formats of the critical data elements do not depend on any particular communication protocol and can be implemented in any syntax[^roc-annex-c]. As a result, field definitions and allowable values can be shared even when report file formats differ by jurisdiction.

Since October 2020, the [Regulatory Oversight Committee](https://www.derivatives-compass.org/en/glossary/regulatory-oversight-committee/) (ROC) has also overseen the critical data elements, together with the UTI and the UPI[^roc-mission]. The ROC carries out its oversight in line with principles set out by the [Financial Stability Board](https://www.derivatives-compass.org/en/glossary/fsb/) (FSB), the [Committee on Payments and Market Infrastructures](https://www.derivatives-compass.org/en/glossary/cpmi/) (CPMI), and the [International Organization of Securities Commissions](https://www.derivatives-compass.org/en/glossary/iosco/) (IOSCO)[^roc-mission]. It revises the technical guidance on the critical data elements as market practices and authorities' needs change[^roc-3g].

### Sources of Japan's reporting fields

As of November 2023, Japan's reporting fields draw on the reporting fields of the US [Commodity Futures Trading Commission (CFTC)](https://www.derivatives-compass.org/en/glossary/cftc/) and the [European Securities and Markets Authority](https://www.derivatives-compass.org/en/glossary/esma/) (ESMA) as well as on the critical data elements. The number of fields from each source is as follows[^gl-list].

| Source (Source column)                                   | Number of fields | Example fields (number)                                 |
| -------------------------------------------------------- | ---------------: | ------------------------------------------------------- |
| CDE technical guidance (version 3)                       |               99 | Notional amount (87), Valuation currency (40)           |
| CFTC technical specification (version 3.2)               |               19 | UTI (25), Action type (101)                             |
| ESMA final report on technical standards (December 2020) |               20 | Entity responsible for reporting (6), Asset class (109) |

Each field also shows its source and its reference number in that source ("CDE 2.26" for the valuation currency)[^gl-format][^gl-40].

### Value formats that differ by jurisdiction

Even with harmonized definitions, the way values are written can differ by jurisdiction. The fixed rate, written as a decimal in Japan, is written as a percentage figure such as 2.57 in reports under the EU's [European Market Infrastructure Regulation](https://www.derivatives-compass.org/en/glossary/emir/) (EMIR)[^esma-344].

The indicator of whether an [LEI](https://www.derivatives-compass.org/en/glossary/lei/) was used for Counterparty 2 also differs. Under the CDE technical guidance, it is True for a legal entity and False for a natural person. In Japan, a provisional LEI is permitted even for a legal entity, and False is selected when a provisional LEI is used[^gl-9].

Go deeper: [Identifiers: LEI, UTI, and UPI](https://www.derivatives-compass.org/en/data-systems/identifiers/)

## ISO 20022 XML in the EU

For EMIR reporting in the EU, the technical standards revised in response to the EMIR amendments (EMIR REFIT) have applied since April 29, 2024. Reports are prepared in line with the EMIR reporting guidelines, the TR validation rules, and the ISO 20022 XML schemas. ESMA has published the schemas for the messages sent to TRs and for the messages TRs return, such as the rejection message (auth.092)[^esma-page].

Sample 1 shows the fixed leg of Bank S's example, using the same element names as the examples in the EMIR reporting guidelines[^esma-410].

**Sample 1: Fixed leg in an EMIR report (excerpt, hypothetical example)**

```xml
<IntrstRate>
  <FrstLeg>
    <Fxd>
      <Rate>
        <Rate>1</Rate>
      </Rate>
      <DayCnt>
        <Cd>A005</Cd>
      </DayCnt>
      <PmtFrqcy>
        <Term>
          <Unit>MNTH</Unit>
          <Val>6</Val>
        </Term>
      </PmtFrqcy>
    </Fxd>
  </FrstLeg>
</IntrstRate>
```

This excerpt shows only the fixed leg of the hypothetical example above, as it would appear in EMIR REFIT reporting XML. The values are hypothetical. The highlighted inner Rate element holds the 1% fixed rate written as a percentage figure, and the Cd element holds the day count convention code. The Unit and Val elements under Term in PmtFrqcy are the unit and number of the payment frequency. The floating leg (ScndLeg) and elements such as the counterparties and the notional amount are omitted.

As with the fixed rate, even when an institution holds a single value internally, it needs separate conversion rules for each reporting destination.

## Validation, rejection, and resubmission

In EMIR reporting, the TR validates the data on receipt and returns the results to the entity that submitted the report. Rejection results are returned within 60 minutes of the file entering the TR's system[^esma-605].

**Figure 1: Validation and rejection of EMIR reports**

After the reporting institution maps its internal data to reporting fields and sends the XML file, the trade repository first validates the file against the schema. If the file does not match the schema, a rejection of the whole file goes back to the institution. If it matches, the trade repository validates the content of each report and accepts the reports that pass. For reports that fail, the rejection result and error codes go back to the institution. After either kind of rejection, the institution corrects the reports and resubmits them by the reporting deadline. A failure at the schema stage sends back every report in the file.

### Rejection categories and error codes

The TR authenticates the submitting entity first and, at the point of submission, validates the schema, the submitting entity's permission, logic, and business rules (content). Each rejection carries one of these four categories[^esma-607]. Each validation rule has its own error code and an error message that includes the location in the XML. The rejection result contains the error codes of all the rules the report failed[^esma-612]. Results are returned in standard response messages based on ISO 20022[^esma-620].

If a file does not comply with the XML schema, all the reports in it are rejected. If it complies, the file is accepted and only the reports that fail content validation are rejected[^esma-614]. If Bank S sends three reports in one file, a single schema error means that all three have to be resubmitted.

### Resubmission and validation rule updates

After receiving a rejection result, the reporting party submits correct and complete reports by the reporting deadline. The TR makes a list of the reports rejected that day available by 6:00 UTC on the following working day[^esma-616].

ESMA revises the validation rules as needed and announces the date from which the revised rules apply. Reporting parties update their reporting systems to the new rules by that date[^esma-610].

> **For systems professionals: Versioning the mapping table**
>
> One possible design holds the mapping table as sets of the reporting field number, the source reference number (such as "CDE 2.26"), the internal field, and the conversion rule. With this design, the same field can be matched across reporting destinations by its source reference number, and only differences in value format (whether the fixed rate is a decimal or a percentage) are kept apart in the conversion rule column. Giving each row an effective date lets the system switch to new rows on the day the rules change. In Japanese reporting, reporting of the UPI and delta, which appear among the fields in the November 2023 revision, began on April 7, 2025[^gl-list][^gl-upi].

[^gl-list]: [Financial Services Agency, "店頭デリバティブ取引等の規制に関する内閣府令第４条第１項で定める作成・保存・報告事項 ガイドライン"](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf) (Guidelines on the items to be prepared, retained, and reported under Article 4, paragraph 1 of the Cabinet Office Order on the regulation of OTC derivatives transactions, our translation) (established December 2022, revised November 2023; the "2023 Reporting Items Guidelines"), Annex 1, "報告事項 一覧" (List of reporting items) (pages 1–2; PDF pages 5–6) (in Japanese). The counts are taken from the Source column.

[^gl-format]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), Annex 1, "表の見方" (How to read the table) and "許容値の見方" (How to read the allowable values) (page 3; PDF page 7).

[^gl-87]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), Annex 1, items 87 "Notional amount" and 90 "Notional currency" (pages 23–24; PDF pages 27–28).

[^gl-71]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), Annex 1, item 71 "Fixed rate" (page 20; PDF page 24).

[^gl-27]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), Annex 1, items 27–29 (page 10; PDF page 14), and Appended Table 1, A005 (page 37; PDF page 41).

[^gl-direction]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), Annex 1, items 10 "Direction 1" and 11 "Direction 2" (page 6; PDF page 10).

[^gl-21]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), Annex 1, remarks on item 21 "Settlement currency" (page 8; PDF page 12).

[^gl-1-5]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), Annex 1, remarks on items 1 "Effective date," 4 "Reporting timestamp," and 5 "Execution timestamp" (page 4; PDF page 8).

[^gl-15]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), Annex 1, remarks on item 15 "Cleared" (page 7; PDF page 11).

[^roc-annex-c]: [Regulatory Oversight Committee, "Charter of the Regulatory Oversight Committee"](https://www.gleif.org/about/governance/regulatory-oversight-committee-roc/roc_20201001-1.pdf) (October 2020; the "ROC Charter"), Annex C, "Critical Data Elements," items 1, 5, and 8 (page 29).

[^roc-mission]: [The ROC Charter](https://www.gleif.org/about/governance/regulatory-oversight-committee-roc/roc_20201001-1.pdf), preamble and 1 "Mission" (pages 1–2).

[^roc-3g]: [The ROC Charter](https://www.gleif.org/about/governance/regulatory-oversight-committee-roc/roc_20201001-1.pdf), 3 g) (page 6).

[^gl-40]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), Annex 1, item 40 "Valuation currency" (page 13; PDF page 17).

[^esma-344]: [European Securities and Markets Authority, "Final Report: Guidelines for reporting under EMIR"](https://www.esma.europa.eu/sites/default/files/library/esma74-362-2281%5Ffinal%5Freport%5Fguidelines%5Femir%5Frefit.pdf) (December 14, 2022; the "EMIR Reporting Guidelines"), section 4.24, paragraph 344 (page 177).

[^gl-9]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), Annex 1, remarks on item 9 "Counterparty 2 identifier type" (page 6; PDF page 10).

[^esma-page]: [European Securities and Markets Authority, "EMIR Reporting"](https://www.esma.europa.eu/data-reporting/emir-reporting), "Article 9 reporting."

[^esma-410]: [The EMIR Reporting Guidelines](https://www.esma.europa.eu/sites/default/files/library/esma74-362-2281%5Ffinal%5Freport%5Fguidelines%5Femir%5Frefit.pdf), section 5.1, paragraph 410, Table 27 (page 190).

[^esma-605]: [The EMIR Reporting Guidelines](https://www.esma.europa.eu/sites/default/files/library/esma74-362-2281%5Ffinal%5Freport%5Fguidelines%5Femir%5Frefit.pdf), section 7.3.1, paragraph 605 (page 303).

[^esma-607]: [The EMIR Reporting Guidelines](https://www.esma.europa.eu/sites/default/files/library/esma74-362-2281%5Ffinal%5Freport%5Fguidelines%5Femir%5Frefit.pdf), section 7.3.1, paragraph 607 (page 303).

[^esma-612]: [The EMIR Reporting Guidelines](https://www.esma.europa.eu/sites/default/files/library/esma74-362-2281%5Ffinal%5Freport%5Fguidelines%5Femir%5Frefit.pdf), section 7.3.1, paragraph 612 (page 304).

[^esma-620]: [The EMIR Reporting Guidelines](https://www.esma.europa.eu/sites/default/files/library/esma74-362-2281%5Ffinal%5Freport%5Fguidelines%5Femir%5Frefit.pdf), section 7.3.1.1, paragraph 620 (page 305).

[^esma-614]: [The EMIR Reporting Guidelines](https://www.esma.europa.eu/sites/default/files/library/esma74-362-2281%5Ffinal%5Freport%5Fguidelines%5Femir%5Frefit.pdf), section 7.3.1, paragraphs 614–615 (page 304).

[^esma-616]: [The EMIR Reporting Guidelines](https://www.esma.europa.eu/sites/default/files/library/esma74-362-2281%5Ffinal%5Freport%5Fguidelines%5Femir%5Frefit.pdf), section 7.3.1, paragraphs 616–617 (page 304).

[^esma-610]: [The EMIR Reporting Guidelines](https://www.esma.europa.eu/sites/default/files/library/esma74-362-2281%5Ffinal%5Freport%5Fguidelines%5Femir%5Frefit.pdf), section 7.3.1, paragraphs 610–611 (pages 303–304).

[^gl-upi]: [The 2023 Reporting Items Guidelines](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf), "固有商品識別子（UPI）及びデルタについて" (On the Unique Product Identifier (UPI) and delta) (page 2; PDF page 3).

## Sources

- [店頭デリバティブ取引等の規制に関する内閣府令第４条第１項で定める作成・保存・報告事項 ガイドライン（2023 年 11 月改訂版）](https://www.fsa.go.jp/news/r5/shouken/20231121/05.pdf) — 金融庁
- [Charter of the Regulatory Oversight Committee](https://www.gleif.org/about/governance/regulatory-oversight-committee-roc/roc_20201001-1.pdf) — Regulatory Oversight Committee
- [Final Report: Guidelines for reporting under EMIR](https://www.esma.europa.eu/sites/default/files/library/esma74-362-2281%5Ffinal%5Freport%5Fguidelines%5Femir%5Frefit.pdf) — European Securities and Markets Authority
- [EMIR Reporting](https://www.esma.europa.eu/data-reporting/emir-reporting) — European Securities and Markets Authority
