AIAI-generated narration (synthetic voice) · real application footage
FundsXML for developers · film 6 of 9
How the FinDatEx templates sit in a FundsXML file: RegulatoryReportings with DirectReporting and IndirectReporting, an EMT V4.2 block (data set information, general information, target market, ex-ante costs) and a TPT V7 block for Solvency II (portfolio data, positions with CIC codes and valuations), template versions as their own elements, and how country-specific data and custom attributes extend the standard.
In this film you look inside the regulatory part of a FundsXML file: an EMT block for distributors, and a TPT block for insurers. It takes about five minutes.
All regulatory data sits in one block at the top level: RegulatoryReportings. It splits into two branches. Direct reporting holds templates that describe the fund or share class itself, such as EMT and EET. Indirect reporting holds data that others use for their own reporting, such as the TPT for insurers and PRIIPs data. Each template version is an element of its own. Here it is in the file, after the asset master data. Regulatory reportings, then direct reporting, and inside it the element EMT_V42: the European MiFID Template in version 4.2. This example file is written for FundsXML 4.2.9; newer schema versions add EMT 4.3 as an element of its own.
An EMT block describes one financial instrument, here the euro retail class; the file has one for each share class. Data set information names the template version, the producer and which parts are reported. General information identifies the share class by its ISIN, and gives its name, its currency, and whether it distributes. The target market follows the MiFID categories: which investor types the fund is meant for, their knowledge and experience, their ability to bear losses, the risk indicator, here three, and the client objectives: capital growth, with a recommended holding period of five years. And the ex-ante costs: ongoing costs, management fee, transaction costs and incidental costs, given as decimal fractions of the net asset value. 0.0158 means 1.58 percent.
Below, in indirect reporting, the Tripartite Template in version seven. At portfolio level: the TPT version, the identifier of the share class, its name and currency, the fund's total net assets, the valuation date and the reporting date. Then the positions. Each one starts with its CIC code, the Complementary Identification Code: four characters for the country of quotation and the kind of instrument. US31 is a listed equity quoted in the United States, here the same fictional share we met in the portfolio. Then the instrument code and name, and the valuation: quantity, market values in quotation and portfolio currency, and the weight. Credit risk data names the issuer, its country and its economic sector. Further down is a government bond. Its CIC code is DE11: a government bond quoted in Germany. For bonds, the template adds the interest rate data: rate type, coupon rate and frequency, and the redemption with its maturity date. Together with the modified duration below, that is the information an insurer needs for its interest rate and spread risk. The other templates work the same way. The EET for sustainability data and the EFT for feedback from distributors sit in direct reporting. The PRIIPs data of the EPT sits in indirect reporting. Each has its own element per version, and older versions remain in the schema for a transition period, so sender and receiver can move to a new version when both are ready. Templates follow their own conventions, and they differ from the core of FundsXML. Flags are single letters, Y and N. Percentages are often decimal fractions, where 1 stands for 100 percent. And many fields are numbered codes from the template's own lists, for example code one for an ISIN as the identifier type. Read the template's documentation for each field, and do not assume the conventions of the core.
One thing is worth knowing. Much of what the templates ask for also exists in the core of FundsXML: identifiers, values, issuers and dates. The core describes funds and assets neutrally; a template block is a view of that data in the form a regulation asks for. Converters can fill a template from the core data, so the same fact is not maintained twice.
And when you need more? Country-specific data carries national reporting at the top level and in several blocks, for example for Austria and Germany. Custom attributes let partners exchange extra fields in a defined way, without breaking the schema. Use them sparingly, and agree on them in writing. That was the regulatory part of a FundsXML file. In the next film, you see how documents such as key information documents travel in FundsXML. Thanks for watching.
Why the fund industry needs a common data format: how fund data travels between asset managers, administrators, custodians, distributors, insurers, data vendors and regulators; what goes wrong without a standard; how regulation drives the need for structured data; and how FundsXML, an open standard made by the fund industry, answers it.
What a FundsXML delivery carries, in business terms: fund and share class master data, net asset values and prices, portfolios and holdings, transactions and distributions, documents, country modules and regulatory data. Why static and dynamic data are kept apart, typical kinds of deliveries, and a look into a real file.
How FundsXML carries the European regulatory templates: why regulation needs structured fund data, the roles of FinDatEx and FundsXML, the templates EMT (MiFID II), EPT (PRIIPs), EET (SFDR and ESG), TPT (Solvency II look-through) and EFT (feedback from distributors), who sends what to whom, template versions, national reporting and the European Single Access Point.
How the quality of fund data is secured with FundsXML: why a valid file is not yet correct data, the three levels readable, valid and plausible, what the schema checks and what business rules check, check digits of identifiers, checks on both sides, corrections and versions, and a data-quality report in FreeXmlToolkit.
How a FundsXML project runs, from the first idea to daily operation: scope, mapping, prototype and pilot, testing, go-live and operations; the roles involved, typical pitfalls, what is available free of charge, how versions and the standard evolve, and how to take part.
How FundsXML evolves and how to take part: who decides about the standard, the FundsXML Standards Committee and the three working groups (Content & Technique, Promotion, Documentation), associate and full membership, contributing on GitHub, the path of a change request from proposal to a new version, small and large changes, and what makes a good change request.
Set up a free working environment for FundsXML: turn on the FundsXML extension of FreeXmlToolkit, choose the schema version, get to know the FundsXML panel and its tools, read the schema's documentation of any element, open the schema itself, and start from an official example file. Also: why FundsXML needs an XSD 1.1 validator, and the two forms in which the schema is published. With an overview of other tools: command line validators, IDEs and the online documentation.
How a FundsXML document is built: the root element FundsXML4, its main blocks (ControlData, Funds, AssetMasterData, Documents, RegulatoryReportings, CountrySpecificData), and ControlData in detail: document ID, timestamps, schema version, content date, data supplier, and the data operations INITIAL, AMEND and DELETE with related document IDs. With common pitfalls. Includes turning a delivery into a correction in FreeXmlToolkit.
The fund part of a FundsXML document: fund identifiers and names, SingleFundFlag with single funds and umbrellas, FundStaticData and FundDynamicData, the total net asset value, share classes with prices, shares outstanding and amounts in several currencies (AmountType with ccy), action codes, and checking ISIN and LEI check digits in FreeXmlToolkit.
The portfolio part of a FundsXML document: positions with their value and weight, the instrument-specific block (equities, bonds, fund units, options, FX forwards, cash), the link from a position to its asset in AssetMasterData through UniqueID (xs:ID and xs:IDREF), a broken link found by the schema, portfolio breakdowns, and how fund-of-fund look-through is modelled.
How FundsXML records what moved in a fund: subscriptions and redemptions of investors (Flows on the share class), distributions (Distributions), income from the portfolio (Earnings) and the portfolio's own trades (Transactions), with reporting periods, dates, amounts in several currencies and the links to the assets. Also: how switches are reported, and what the core schema leaves to other standards.
How the FinDatEx templates sit in a FundsXML file: RegulatoryReportings with DirectReporting and IndirectReporting, an EMT V4.2 block (data set information, general information, target market, ex-ante costs) and a TPT V7 block for Solvency II (portfolio data, positions with CIC codes and valuations), template versions as their own elements, and how country-specific data and custom attributes extend the standard.
How FundsXML carries documents such as prospectuses, PRIIPs KIDs and factsheets: the Documents block, document types, languages and countries, the assignment to funds and share classes, format, signature and dates, delivery as a link or embedded as base64, replacing and restricted documents, and the Documents tool of FreeXmlToolkit to save embedded documents and embed new ones.
Validate a FundsXML delivery in two stages: against the XSD 1.1 schema, reading and fixing its error messages, and against business rules with the FundsXML data-quality checks of FreeXmlToolkit. With the data-quality report, a catalogue of typical schema errors, Schematron rules, and validation on the command line and in build pipelines.
Work with the data in a FundsXML file: XPath paths without a namespace, the ready-made FundsXML queries in the Query Console of FreeXmlToolkit (the ten largest positions as a table), an XSLT stylesheet that turns the positions into CSV, a large file read as a stream in Python with lxml (half a million positions with flat memory, from the FundsXML examples), classes generated from the schema, and the way on to a database.
How FundsXML runs in production: who sends what to whom, the whole delivery chain on one page (sources, central database, generator, validation, SFTP, API and portals), the chains of sender and receiver, security, rhythms and schema versions, the five building blocks of a production setup, roles, build or buy, two environments, document IDs, and the complete example used in this series, which can be downloaded.
How FundsXML data is stored in a database, with the complete PostgreSQL example of the FundsXML examples repository: the XML column and shredded tables, layers, a table model in which everything that repeats is a row (several funds per file, umbrellas and subfunds, several NAVs per day and currency, portfolios and positions, look-through), keys and assets without an ISIN, amounts and currencies, code lists, dates, transactions in four places, documents, regulatory templates, history and corrections, views, quality, access and performance. All files can be downloaded.
How FundsXML files get into a database safely, with the loader of the complete PostgreSQL example: the steps of a robust loader, a landing folder, cheap checks first, triggers, validation and schema versions, idempotency through the UniqueDocumentID, full and delta deliveries, streaming large files with one handler per repeating element, funds and subfunds, the order of assets and positions, asset keys, transactions, documents and regulatory templates, business rules, speed, six deliveries and four broken files at work, corrections and deletions, reconciliation, code checks, error reports, tests and release. All files can be downloaded.
How to produce FundsXML from a database, with the generator of the complete PostgreSQL example: start with the target file, a mapping table, a partner register that says which data goes to whom, templates, XSLT or generated code, ControlData, writing share classes, several funds and dates in one file, element order, empty elements and formats, validation in FreeXmlToolkit, corrections, large deliveries, several schema versions, partner configuration, time windows, golden files, CI and the round trip, handing over, resends and documentation. All files can be downloaded.
What daily operation of a FundsXML chain needs: a day in operations, monitoring and a delivery overview, duty and runbooks, error classes and incident handling with an example, reconciliation, feedback, agreements with partners, onboarding, changes in the partner landscape, security, schema upgrades, the archive, metrics, people, reporting, typical first-year issues, a checklist, and staying involved in the standard.