diff --git a/FundsXML_Files/4.0.0/positions/Equity-Fund_Positions.xml b/FundsXML_Files/4.0.0/positions/Equity-Fund_Positions.xml index b5cd732..6b53f7e 100644 --- a/FundsXML_Files/4.0.0/positions/Equity-Fund_Positions.xml +++ b/FundsXML_Files/4.0.0/positions/Equity-Fund_Positions.xml @@ -21,7 +21,7 @@ - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Equity Europe Classic @@ -113,7 +113,7 @@ - 724500Y6P2B0MRLY2T56 + XMPL00SAMPLE00000321 ASML HOLDING N.V. diff --git a/FundsXML_Files/4.1.0/positions/Equity-Fund_Positions.xml b/FundsXML_Files/4.1.0/positions/Equity-Fund_Positions.xml index 509ded1..c050f61 100644 --- a/FundsXML_Files/4.1.0/positions/Equity-Fund_Positions.xml +++ b/FundsXML_Files/4.1.0/positions/Equity-Fund_Positions.xml @@ -21,7 +21,7 @@ - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Equity Europe Core @@ -113,7 +113,7 @@ - 724500Y6P2B0MRLY2T56 + XMPL00SAMPLE00000321 ASML HOLDING N.V. diff --git a/FundsXML_Files/4.2.9/documents/Fund_Documents.xml b/FundsXML_Files/4.2.9/documents/Fund_Documents.xml index d9c2322..d651610 100644 --- a/FundsXML_Files/4.2.9/documents/Fund_Documents.xml +++ b/FundsXML_Files/4.2.9/documents/Fund_Documents.xml @@ -31,7 +31,7 @@ - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Responsible Stock Global EUR @@ -60,13 +60,13 @@ - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Responsible Stock Global EUR PRIIPS KID EUR R01 - priips_kid_AT0000A2QM66_en.pdf + priips_kid_ATXMPLS00015_en.pdf true application/pdf 2025-01-02 diff --git a/FundsXML_Files/4.2.9/positions/Mixed-Fund_Positions.xml b/FundsXML_Files/4.2.9/positions/Mixed-Fund_Positions.xml index 0231a3d..0af0bfc 100644 --- a/FundsXML_Files/4.2.9/positions/Mixed-Fund_Positions.xml +++ b/FundsXML_Files/4.2.9/positions/Mixed-Fund_Positions.xml @@ -17,7 +17,7 @@ - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Responsible Stock Global @@ -85,7 +85,7 @@ ID_003 - DE0001102424 + DEXMPLS00045 EUR @@ -102,7 +102,7 @@ ID_004 - XS2444622110 + XSXMPLS00050 EUR @@ -119,7 +119,7 @@ ID_005 - IE00B11XZB12 + IEXMPLS00069 EUR @@ -136,7 +136,7 @@ ID_006 - IE00B5BMR087 + IEXMPLS00036 EUR @@ -153,7 +153,7 @@ ID_007 - DE000PN738Q3 + DEXMPLS00078 EUR @@ -170,7 +170,7 @@ ID_008 - DE000SQ962F7 + DEXMPLS00086 EUR @@ -187,7 +187,7 @@ ID_009 - DE000XM03HC3 + DEXMPLS00094 EUR @@ -204,7 +204,7 @@ ID_010 - DE000DFM0XG2 + DEXMPLS00102 EUR @@ -221,7 +221,7 @@ ID_011 - DE000C0B6XV0 + DEXMPLS00110 EUR @@ -235,7 +235,7 @@ ID_012 - DE000C0B6YC8 + DEXMPLS00128 EUR @@ -249,7 +249,7 @@ ID_013 - DE000C0B6ZR4 + DEXMPLS00136 EUR @@ -263,7 +263,7 @@ ID_014 - XS2123456789 + XSXMPLS00142 EUR @@ -345,7 +345,7 @@ - AT0000A2QM74 + ATXMPLS00023 Erste Responsible Stock Global USD R01 @@ -374,7 +374,7 @@ - AT0000A2QM66 + ATXMPLS00015 Erste Responsible Stock Global EUR R01 @@ -438,7 +438,7 @@ - 724500Y6P2B0MRLY2T56 + XMPL00SAMPLE00000321 ASML HOLDING N.V. @@ -448,7 +448,7 @@ ID_003 - DE0001102424 + DEXMPLS00045 EUR DE @@ -459,7 +459,7 @@ false - 529900T24R02QROQ3G03 + XMPL00SAMPLE00000418 Germany, Federal Republic of @@ -474,7 +474,7 @@ ID_004 - XS2444622110 + XSXMPLS00050 EUR DE @@ -485,7 +485,7 @@ false - 549300KL4K15T62YKV69 + XMPL00SAMPLE00000515 Siemens Financieringsmaatschappij N.V. @@ -500,7 +500,7 @@ ID_005 - IE00B11XZB12 + IEXMPLS00069 EUR IE @@ -510,7 +510,7 @@ - 635400MD3E0L5P9ZC956 + XMPL00SAMPLE00000612 PIMCO Global Advisors (Ireland) Limited @@ -520,7 +520,7 @@ ID_006 - IE00B5BMR087 + IEXMPLS00036 EUR IE @@ -530,7 +530,7 @@ - 2138006E5Q6H983A2A43 + XMPL00SAMPLE00000709 The Vanguard Group (Ireland) Limited @@ -540,7 +540,7 @@ ID_007 - DE000PN738Q3 + DEXMPLS00078 EUR FR @@ -550,7 +550,7 @@ - R0MI4MICVL8SP8AU2V54 + XMPL00SAMPLE00000806 BNP Paribas S.A. @@ -566,7 +566,7 @@ ID_008 - DE000SQ962F7 + DEXMPLS00086 EUR FR @@ -592,7 +592,7 @@ ID_009 - DE000XM03HC3 + DEXMPLS00094 EUR DE @@ -607,7 +607,7 @@ ID_010 - DE000DFM0XG2 + DEXMPLS00102 EUR DE @@ -623,7 +623,7 @@ ID_011 - DE000C0B6XV0 + DEXMPLS00110 EUR DE @@ -654,7 +654,7 @@ ID_012 - DE000C0B6YC8 + DEXMPLS00128 EUR DE @@ -685,7 +685,7 @@ ID_013 - DE000C0B6ZR4 + DEXMPLS00136 EUR DE @@ -712,7 +712,7 @@ ID_014 - XS2123456789 + XSXMPLS00142 EUR EUR/USD Currency Future Mar 2026 @@ -749,7 +749,7 @@ 2025-12-30 - 7LTWFZYKSA4V22TE2Y10 + XMPL00SAMPLE00000903 Goldman Sachs Bank Europe SE @@ -770,7 +770,7 @@ 2026-01-30 - G5GSEF7VJP5I7OUK5573 + XMPL00SAMPLE00001097 HSBC Bank PLC @@ -788,7 +788,7 @@ 2030-10-01 - 549300V65Q6MY42G2B26 + XMPL00SAMPLE00001194 J.P. Morgan SE @@ -820,7 +820,7 @@ 2028-10-01 - BFM8T61CT2L1QCEMIK50 + XMPL00SAMPLE00001291 UBS Europe SE @@ -840,7 +840,7 @@ 2025-10-08 - 851WYGNLU20A61V15G44 + XMPL00SAMPLE00001388 Commerzbank AG @@ -872,7 +872,7 @@ 2025-10-15 - 894500CK24P2281L1O36 + XMPL00SAMPLE00001485 Raiffeisen Bank International AG diff --git a/FundsXML_Files/4.2.9/positions/Multi-Fund_Positions.xml b/FundsXML_Files/4.2.9/positions/Multi-Fund_Positions.xml index b9731ff..cfc353a 100644 --- a/FundsXML_Files/4.2.9/positions/Multi-Fund_Positions.xml +++ b/FundsXML_Files/4.2.9/positions/Multi-Fund_Positions.xml @@ -25,7 +25,7 @@ - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Multi Fund Alpha @@ -63,7 +63,7 @@ MF_002 - DE0001102424 + DEXMPLS00045 EUR @@ -82,7 +82,7 @@ MF_003 - IE00B5BMR087 + IEXMPLS00036 EUR @@ -110,7 +110,7 @@ - AT0000A2QM66 + ATXMPLS00015 Erste Multi Fund Alpha EUR R01 @@ -138,7 +138,7 @@ - AT0000A2QM74 + ATXMPLS00023 Erste Multi Fund Alpha EUR I01 @@ -169,7 +169,7 @@ - 529900T8BM49AURSDO66 + XMPL00SAMPLE00000224 Erste Multi Fund Beta @@ -233,7 +233,7 @@ MF_002 - DE0001102424 + DEXMPLS00045 EUR DE @@ -243,7 +243,7 @@ MF_003 - IE00B5BMR087 + IEXMPLS00036 EUR IE diff --git a/FundsXML_Files/4.2.9/positions/README.md b/FundsXML_Files/4.2.9/positions/README.md index b599e59..38040e2 100644 --- a/FundsXML_Files/4.2.9/positions/README.md +++ b/FundsXML_Files/4.2.9/positions/README.md @@ -27,7 +27,7 @@ This directory contains a comprehensive FundsXML sample document demonstrating a | Field | Value | |-------|-------| | Fund Name | Erste Responsible Stock Global | -| LEI | 529900T8BM49AURSDO55 | +| LEI | XMPL00SAMPLE00000127 | | Base Currency | EUR | | NAV Date | 2025-10-01 | | Total Net Asset Value | 112,500,000 EUR | @@ -40,8 +40,8 @@ This directory contains a comprehensive FundsXML sample document demonstrating a | ISIN | Name | Currency | NAV Price | |------|------|----------|-----------| -| AT0000A2QM74 | Erste Responsible Stock Global USD R01 | USD | 142.87 | -| AT0000A2QM66 | Erste Responsible Stock Global EUR R01 | EUR | 134.25 | +| ATXMPLS00023 | Erste Responsible Stock Global USD R01 | USD | 142.87 | +| ATXMPLS00015 | Erste Responsible Stock Global EUR R01 | EUR | 134.25 | ### Portfolio Summary @@ -74,18 +74,18 @@ This sample file includes examples of all major FundsXML asset types: |----|------|------|------|-------------|---| | ID_001 | US0378331005 | Apple Inc. | EQ | 9,375,000 | 8.33% | | ID_002 | NL0010273215 | ASML Holding N.V. | EQ | 8,125,000 | 6.50% | -| ID_003 | DE0001102424 | Germany 1.70% 2032 | BO | 6,250,000 | 5.00% | -| ID_004 | XS2444622110 | Siemens 0.75% 2030 | BO | 6,250,000 | 5.00% | -| ID_005 | IE00B11XZB12 | PIMCO GIS Global Bond | SC | 10,000,000 | 8.00% | -| ID_006 | IE00B5BMR087 | Vanguard S&P 500 ETF | SC | 12,500,000 | 10.00% | -| ID_007 | DE000PN738Q3 | BNP Call Warrant LVMH | WA | 1,875,000 | 1.50% | -| ID_008 | DE000SQ962F7 | SocGen Put Warrant SAP | WA | 1,875,000 | 1.50% | -| ID_009 | DE000XM03HC3 | X-markets DAX Index Cert | CE | 3,125,000 | 2.50% | -| ID_010 | DE000DFM0XG2 | DZ Bank Euro Stoxx Cert | CE | 3,125,000 | 2.50% | -| ID_011 | DE000C0B6XV0 | Call Option Allianz | OP | 1,250,000 | 1.00% | -| ID_012 | DE000C0B6YC8 | Put Option Volkswagen | OP | 1,250,000 | 1.00% | -| ID_013 | DE000C0B6ZR4 | Euro Stoxx 50 Future | FU | 2,500,000 | 2.00% | -| ID_014 | XS2123456789 | EUR/USD Currency Future | FU | 2,500,000 | 2.00% | +| ID_003 | DEXMPLS00045 | Germany 1.70% 2032 | BO | 6,250,000 | 5.00% | +| ID_004 | XSXMPLS00050 | Siemens 0.75% 2030 | BO | 6,250,000 | 5.00% | +| ID_005 | IEXMPLS00069 | PIMCO GIS Global Bond | SC | 10,000,000 | 8.00% | +| ID_006 | IEXMPLS00036 | Vanguard S&P 500 ETF | SC | 12,500,000 | 10.00% | +| ID_007 | DEXMPLS00078 | BNP Call Warrant LVMH | WA | 1,875,000 | 1.50% | +| ID_008 | DEXMPLS00086 | SocGen Put Warrant SAP | WA | 1,875,000 | 1.50% | +| ID_009 | DEXMPLS00094 | X-markets DAX Index Cert | CE | 3,125,000 | 2.50% | +| ID_010 | DEXMPLS00102 | DZ Bank Euro Stoxx Cert | CE | 3,125,000 | 2.50% | +| ID_011 | DEXMPLS00110 | Call Option Allianz | OP | 1,250,000 | 1.00% | +| ID_012 | DEXMPLS00128 | Put Option Volkswagen | OP | 1,250,000 | 1.00% | +| ID_013 | DEXMPLS00136 | Euro Stoxx 50 Future | FU | 2,500,000 | 2.00% | +| ID_014 | XSXMPLS00142 | EUR/USD Currency Future | FU | 2,500,000 | 2.00% | | ID_015 | - | FX Forward EUR/USD | FX | 5,000,000 | 4.00% | | ID_016 | - | FX Forward EUR/GBP | FX | 4,375,000 | 3.50% | | ID_017 | - | EUR 5Y Interest Rate Swap | SW | 6,250,000 | 5.00% | @@ -122,7 +122,7 @@ illustrative; the XML file is authoritative (see Reconciliation note). ```xml - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Responsible Stock Global @@ -161,7 +161,7 @@ illustrative; the XML file is authoritative (see Reconciliation note). ID_003 - DE0001102424 + DEXMPLS00045 EUR @@ -230,7 +230,7 @@ illustrative; the XML file is authoritative (see Reconciliation note). 2030-10-01 - 549300V65Q6MY42G2B26 + XMPL00SAMPLE00001194 J.P. Morgan SE diff --git a/FundsXML_Files/4.2.9/regulatory/EFT_Regulatory.xml b/FundsXML_Files/4.2.9/regulatory/EFT_Regulatory.xml index 88bcf32..f9992df 100644 --- a/FundsXML_Files/4.2.9/regulatory/EFT_Regulatory.xml +++ b/FundsXML_Files/4.2.9/regulatory/EFT_Regulatory.xml @@ -32,18 +32,18 @@ Erste Asset Management GmbH - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 L M Erste Asset Management GmbH - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 L - AT0000A2QM66 + ATXMPLS00015 1 Erste Responsible Stock Global EUR R01 1284 diff --git a/FundsXML_Files/4.2.9/signed/Signed_Fund_Skeleton.xml b/FundsXML_Files/4.2.9/signed/Signed_Fund_Skeleton.xml index 777d7d5..9655299 100644 --- a/FundsXML_Files/4.2.9/signed/Signed_Fund_Skeleton.xml +++ b/FundsXML_Files/4.2.9/signed/Signed_Fund_Skeleton.xml @@ -29,7 +29,7 @@ - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Responsible Stock Global diff --git a/FundsXML_Files/4.2.9/transactions/Fund_Transactions.xml b/FundsXML_Files/4.2.9/transactions/Fund_Transactions.xml index cca1daa..1dc95be 100644 --- a/FundsXML_Files/4.2.9/transactions/Fund_Transactions.xml +++ b/FundsXML_Files/4.2.9/transactions/Fund_Transactions.xml @@ -21,7 +21,7 @@ - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Responsible Stock Global @@ -170,7 +170,7 @@ - 724500Y6P2B0MRLY2T56 + XMPL00SAMPLE00000321 ASML HOLDING N.V. diff --git a/Large_File_Processing/python/make_large_sample.py b/Large_File_Processing/python/make_large_sample.py index 2a419db..fcb255d 100644 --- a/Large_File_Processing/python/make_large_sample.py +++ b/Large_File_Processing/python/make_large_sample.py @@ -43,7 +43,7 @@ def main() -> int: w(' INITIAL\n') w(' \n') w(' \n') - w(' 529900T8BM49AURSDO55\n') + w(' XMPL00SAMPLE00000127\n') w(' Erste Large Synthetic Fund\n') w(' EUR\n') w(' true\n') diff --git a/Large_File_Processing/python/split.py b/Large_File_Processing/python/split.py index 4223377..2a94532 100644 --- a/Large_File_Processing/python/split.py +++ b/Large_File_Processing/python/split.py @@ -35,7 +35,7 @@ INITIAL - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Large Synthetic Fund (chunk {idx}) EUR true diff --git a/XSLT_DataQuality_Checks/Basic_Checks/README.md b/XSLT_DataQuality_Checks/Basic_Checks/README.md index 992fb94..965cc0d 100644 --- a/XSLT_DataQuality_Checks/Basic_Checks/README.md +++ b/XSLT_DataQuality_Checks/Basic_Checks/README.md @@ -130,11 +130,11 @@ The generated HTML report includes: │ Content Date: 2025-10-01 │ ├─────────────────────────────────────────────────────────────┤ │ Fund: Erste Responsible Stock Global │ -│ LEI: 529900T8BM49AURSDO55 │ +│ LEI: XMPL00SAMPLE00000127 │ │ NAV Date: 2025-10-01 │ ├─────────────────────────────────────────────────────────────┤ │ Structural Checks │ -│ ✓ Fund has LEI: 529900T8BM49AURSDO55 │ +│ ✓ Fund has LEI: XMPL00SAMPLE00000127 │ │ ✓ File has 1 portfolio(s) │ │ ✓ Fund Total Asset Value is in fund currency (EUR) │ ├─────────────────────────────────────────────────────────────┤ diff --git a/tests/fixtures/invalid/schematron-invalid_Positions.xml b/tests/fixtures/invalid/schematron-invalid_Positions.xml index 18380e5..5c300e9 100644 --- a/tests/fixtures/invalid/schematron-invalid_Positions.xml +++ b/tests/fixtures/invalid/schematron-invalid_Positions.xml @@ -17,7 +17,7 @@ - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Responsible Stock Global @@ -85,7 +85,7 @@ ID_003 - DE0001102424 + DEXMPLS00045 EUR @@ -102,7 +102,7 @@ ID_004 - XS2444622110 + XSXMPLS00050 EUR @@ -119,7 +119,7 @@ ID_005 - IE00B11XZB12 + IEXMPLS00069 EUR @@ -136,7 +136,7 @@ ID_006 - IE00B5BMR087 + IEXMPLS00036 EUR @@ -153,7 +153,7 @@ ID_007 - DE000PN738Q3 + DEXMPLS00078 EUR @@ -170,7 +170,7 @@ ID_008 - DE000SQ962F7 + DEXMPLS00086 EUR @@ -187,7 +187,7 @@ ID_009 - DE000XM03HC3 + DEXMPLS00094 EUR @@ -204,7 +204,7 @@ ID_010 - DE000DFM0XG2 + DEXMPLS00102 EUR @@ -221,7 +221,7 @@ ID_011 - DE000C0B6XV0 + DEXMPLS00110 EUR @@ -235,7 +235,7 @@ ID_012 - DE000C0B6YC8 + DEXMPLS00128 EUR @@ -249,7 +249,7 @@ ID_013 - DE000C0B6ZR4 + DEXMPLS00136 EUR @@ -263,7 +263,7 @@ ID_014 - XS2123456789 + XSXMPLS00142 EUR @@ -345,7 +345,7 @@ - AT0000A2QM74 + ATXMPLS00023 Erste Responsible Stock Global USD R01 @@ -374,7 +374,7 @@ - AT0000A2QM66 + ATXMPLS00015 Erste Responsible Stock Global EUR R01 @@ -438,7 +438,7 @@ - 724500Y6P2B0MRLY2T56 + XMPL00SAMPLE00000321 ASML HOLDING N.V. @@ -448,7 +448,7 @@ ID_003 - DE0001102424 + DEXMPLS00045 EUR DE @@ -459,7 +459,7 @@ false - 529900T24R02QROQ3G03 + XMPL00SAMPLE00000418 Germany, Federal Republic of @@ -474,7 +474,7 @@ ID_004 - XS2444622110 + XSXMPLS00050 EUR DE @@ -485,7 +485,7 @@ false - 549300KL4K15T62YKV69 + XMPL00SAMPLE00000515 Siemens Financieringsmaatschappij N.V. @@ -500,7 +500,7 @@ ID_005 - IE00B11XZB12 + IEXMPLS00069 EUR IE @@ -510,7 +510,7 @@ - 635400MD3E0L5P9ZC956 + XMPL00SAMPLE00000612 PIMCO Global Advisors (Ireland) Limited @@ -520,7 +520,7 @@ ID_006 - IE00B5BMR087 + IEXMPLS00036 EUR IE @@ -530,7 +530,7 @@ - 2138006E5Q6H983A2A43 + XMPL00SAMPLE00000709 The Vanguard Group (Ireland) Limited @@ -540,7 +540,7 @@ ID_007 - DE000PN738Q3 + DEXMPLS00078 EUR FR @@ -550,7 +550,7 @@ - R0MI4MICVL8SP8AU2V54 + XMPL00SAMPLE00000806 BNP Paribas S.A. @@ -566,7 +566,7 @@ ID_008 - DE000SQ962F7 + DEXMPLS00086 EUR FR @@ -592,7 +592,7 @@ ID_009 - DE000XM03HC3 + DEXMPLS00094 EUR DE @@ -607,7 +607,7 @@ ID_010 - DE000DFM0XG2 + DEXMPLS00102 EUR DE @@ -623,7 +623,7 @@ ID_011 - DE000C0B6XV0 + DEXMPLS00110 EUR DE @@ -654,7 +654,7 @@ ID_012 - DE000C0B6YC8 + DEXMPLS00128 EUR DE @@ -685,7 +685,7 @@ ID_013 - DE000C0B6ZR4 + DEXMPLS00136 EUR DE @@ -712,7 +712,7 @@ ID_014 - XS2123456789 + XSXMPLS00142 EUR EUR/USD Currency Future Mar 2026 @@ -749,7 +749,7 @@ 2025-12-30 - 7LTWFZYKSA4V22TE2Y10 + XMPL00SAMPLE00000903 Goldman Sachs Bank Europe SE @@ -770,7 +770,7 @@ 2026-01-30 - G5GSEF7VJP5I7OUK5573 + XMPL00SAMPLE00001097 HSBC Bank PLC @@ -788,7 +788,7 @@ 2030-10-01 - 549300V65Q6MY42G2B26 + XMPL00SAMPLE00001194 J.P. Morgan SE @@ -820,7 +820,7 @@ 2028-10-01 - BFM8T61CT2L1QCEMIK50 + XMPL00SAMPLE00001291 UBS Europe SE @@ -840,7 +840,7 @@ 2025-10-08 - 851WYGNLU20A61V15G44 + XMPL00SAMPLE00001388 Commerzbank AG @@ -872,7 +872,7 @@ 2025-10-15 - 894500CK24P2281L1O36 + XMPL00SAMPLE00001485 Raiffeisen Bank International AG diff --git a/tests/fixtures/invalid/xsd-invalid_Positions.xml b/tests/fixtures/invalid/xsd-invalid_Positions.xml index ac4b68c..0809ebf 100644 --- a/tests/fixtures/invalid/xsd-invalid_Positions.xml +++ b/tests/fixtures/invalid/xsd-invalid_Positions.xml @@ -17,7 +17,7 @@ - 529900T8BM49AURSDO55 + XMPL00SAMPLE00000127 Erste Responsible Stock Global @@ -85,7 +85,7 @@ ID_003 - DE0001102424 + DEXMPLS00045 EUR @@ -102,7 +102,7 @@ ID_004 - XS2444622110 + XSXMPLS00050 EUR @@ -119,7 +119,7 @@ ID_005 - IE00B11XZB12 + IEXMPLS00069 EUR @@ -136,7 +136,7 @@ ID_006 - IE00B5BMR087 + IEXMPLS00036 EUR @@ -153,7 +153,7 @@ ID_007 - DE000PN738Q3 + DEXMPLS00078 EUR @@ -170,7 +170,7 @@ ID_008 - DE000SQ962F7 + DEXMPLS00086 EUR @@ -187,7 +187,7 @@ ID_009 - DE000XM03HC3 + DEXMPLS00094 EUR @@ -204,7 +204,7 @@ ID_010 - DE000DFM0XG2 + DEXMPLS00102 EUR @@ -221,7 +221,7 @@ ID_011 - DE000C0B6XV0 + DEXMPLS00110 EUR @@ -235,7 +235,7 @@ ID_012 - DE000C0B6YC8 + DEXMPLS00128 EUR @@ -249,7 +249,7 @@ ID_013 - DE000C0B6ZR4 + DEXMPLS00136 EUR @@ -263,7 +263,7 @@ ID_014 - XS2123456789 + XSXMPLS00142 EUR @@ -345,7 +345,7 @@ - AT0000A2QM74 + ATXMPLS00023 Erste Responsible Stock Global USD R01 @@ -374,7 +374,7 @@ - AT0000A2QM66 + ATXMPLS00015 Erste Responsible Stock Global EUR R01 @@ -438,7 +438,7 @@ - 724500Y6P2B0MRLY2T56 + XMPL00SAMPLE00000321 ASML HOLDING N.V. @@ -448,7 +448,7 @@ ID_003 - DE0001102424 + DEXMPLS00045 EUR DE @@ -459,7 +459,7 @@ false - 529900T24R02QROQ3G03 + XMPL00SAMPLE00000418 Germany, Federal Republic of @@ -474,7 +474,7 @@ ID_004 - XS2444622110 + XSXMPLS00050 EUR DE @@ -485,7 +485,7 @@ false - 549300KL4K15T62YKV69 + XMPL00SAMPLE00000515 Siemens Financieringsmaatschappij N.V. @@ -500,7 +500,7 @@ ID_005 - IE00B11XZB12 + IEXMPLS00069 EUR IE @@ -510,7 +510,7 @@ - 635400MD3E0L5P9ZC956 + XMPL00SAMPLE00000612 PIMCO Global Advisors (Ireland) Limited @@ -520,7 +520,7 @@ ID_006 - IE00B5BMR087 + IEXMPLS00036 EUR IE @@ -530,7 +530,7 @@ - 2138006E5Q6H983A2A43 + XMPL00SAMPLE00000709 The Vanguard Group (Ireland) Limited @@ -540,7 +540,7 @@ ID_007 - DE000PN738Q3 + DEXMPLS00078 EUR FR @@ -550,7 +550,7 @@ - R0MI4MICVL8SP8AU2V54 + XMPL00SAMPLE00000806 BNP Paribas S.A. @@ -566,7 +566,7 @@ ID_008 - DE000SQ962F7 + DEXMPLS00086 EUR FR @@ -592,7 +592,7 @@ ID_009 - DE000XM03HC3 + DEXMPLS00094 EUR DE @@ -607,7 +607,7 @@ ID_010 - DE000DFM0XG2 + DEXMPLS00102 EUR DE @@ -623,7 +623,7 @@ ID_011 - DE000C0B6XV0 + DEXMPLS00110 EUR DE @@ -654,7 +654,7 @@ ID_012 - DE000C0B6YC8 + DEXMPLS00128 EUR DE @@ -685,7 +685,7 @@ ID_013 - DE000C0B6ZR4 + DEXMPLS00136 EUR DE @@ -712,7 +712,7 @@ ID_014 - XS2123456789 + XSXMPLS00142 EUR EUR/USD Currency Future Mar 2026 @@ -749,7 +749,7 @@ 2025-12-30 - 7LTWFZYKSA4V22TE2Y10 + XMPL00SAMPLE00000903 Goldman Sachs Bank Europe SE @@ -770,7 +770,7 @@ 2026-01-30 - G5GSEF7VJP5I7OUK5573 + XMPL00SAMPLE00001097 HSBC Bank PLC @@ -788,7 +788,7 @@ 2030-10-01 - 549300V65Q6MY42G2B26 + XMPL00SAMPLE00001194 J.P. Morgan SE @@ -820,7 +820,7 @@ 2028-10-01 - BFM8T61CT2L1QCEMIK50 + XMPL00SAMPLE00001291 UBS Europe SE @@ -840,7 +840,7 @@ 2025-10-08 - 851WYGNLU20A61V15G44 + XMPL00SAMPLE00001388 Commerzbank AG @@ -872,7 +872,7 @@ 2025-10-15 - 894500CK24P2281L1O36 + XMPL00SAMPLE00001485 Raiffeisen Bank International AG diff --git a/tools/repair_identifiers.py b/tools/repair_identifiers.py new file mode 100644 index 0000000..f093abf --- /dev/null +++ b/tools/repair_identifiers.py @@ -0,0 +1,107 @@ +#!/usr/bin/env python3 +"""Replace invalid or misattributed ISINs and LEIs in the sample files with synthetic ones. + +Usage: python tools/repair_identifiers.py [--check] + +The small samples under FundsXML_Files/ used identifiers with wrong check digits +(e.g. XS2123456789) and real identifiers of unrelated parties (the fund LEI +529900T8BM49AURSDO55 belongs to Ubisecure Oy, AT0000A2QM66 is a silver +certificate). Each is replaced, in every text file of the repository, by a +synthetic identifier of the same length: + +* ISIN: country prefix + "XMPL" + 5 characters + Luhn check digit. National + numbering agencies of these countries start with a digit, so these were never + issued (verified against ESMA FIRDS on 2026-11-16). +* LEI: "XMPL00" + 12 characters + ISO 7064 MOD 97-10 check digits (not + registered at GLEIF, verified on 2026-11-16). + +Real identifiers of correctly named public securities and companies (Apple, +ASML, SAP ...) stay as reference data. Numbers are not touched, so CI checks on +values keep working. --check only reports what would change (exit 1 if any). +""" +import pathlib +import sys + +ISINS = { + # The two share classes keep their order: the database exports sort share classes by ISIN. + "AT0000A2QM66": "ATXMPLS00015", # share class; real ISIN of a silver certificate + "AT0000A2QM74": "ATXMPLS00023", # share class, not in FIRDS + "IE00B5BMR087": "IEXMPLS00036", # labelled Vanguard; real iShares Core S&P 500 + "DE0001102424": "DEXMPLS00045", # labelled Bund 1.70% 2032; real Bund 0.5% 2027 + "XS2444622110": "XSXMPLS00050", # wrong check digit + "IE00B11XZB12": "IEXMPLS00069", # wrong check digit + "DE000PN738Q3": "DEXMPLS00078", # wrong check digit + "DE000SQ962F7": "DEXMPLS00086", # wrong check digit + "DE000XM03HC3": "DEXMPLS00094", # wrong check digit + "DE000DFM0XG2": "DEXMPLS00102", # wrong check digit + "DE000C0B6XV0": "DEXMPLS00110", # wrong check digit + "DE000C0B6YC8": "DEXMPLS00128", # wrong check digit + "DE000C0B6ZR4": "DEXMPLS00136", # wrong check digit + "XS2123456789": "XSXMPLS00142", # wrong check digit (placeholder) +} + +LEIS = { + "529900T8BM49AURSDO55": "XMPL00SAMPLE00000127", # fund LEI; real LEI of Ubisecure Oy + "529900T8BM49AURSDO66": "XMPL00SAMPLE00000224", # wrong check digits + "724500Y6P2B0MRLY2T56": "XMPL00SAMPLE00000321", # wrong check digits + "529900T24R02QROQ3G03": "XMPL00SAMPLE00000418", # wrong check digits + "549300KL4K15T62YKV69": "XMPL00SAMPLE00000515", # wrong check digits + "635400MD3E0L5P9ZC956": "XMPL00SAMPLE00000612", # wrong check digits + "2138006E5Q6H983A2A43": "XMPL00SAMPLE00000709", # wrong check digits + "R0MI4MICVL8SP8AU2V54": "XMPL00SAMPLE00000806", # wrong check digits + "7LTWFZYKSA4V22TE2Y10": "XMPL00SAMPLE00000903", # wrong check digits + "G5GSEF7VJP5I7OUK5573": "XMPL00SAMPLE00001097", # labelled HSBC; real LEI of Barclays Bank PLC + "549300V65Q6MY42G2B26": "XMPL00SAMPLE00001194", # wrong check digits + "BFM8T61CT2L1QCEMIK50": "XMPL00SAMPLE00001291", # labelled UBS Europe SE; real LEI of UBS AG + "851WYGNLU20A61V15G44": "XMPL00SAMPLE00001388", # wrong check digits + "894500CK24P2281L1O36": "XMPL00SAMPLE00001485", # wrong check digits +} + +TEXT_SUFFIXES = {".xml", ".md", ".py", ".java", ".cs", ".mjs", ".js", ".xq", ".xsl", ".xslt", ".sch", + ".ps1", ".sh", ".json", ".yml", ".csv", ".txt", ".sql", ".html"} +SKIP_DIRS = {".git", ".venv", "node_modules", "target", "bin", "obj"} + + +def luhn_ok(isin: str) -> bool: + digits = "".join(str(int(c, 36)) for c in isin[:11]) + total = 0 + for i, ch in enumerate(reversed(digits)): + n = int(ch) * (2 if i % 2 == 0 else 1) + total += n - 9 if n > 9 else n + return (10 - total % 10) % 10 == int(isin[11]) + + +def lei_ok(lei: str) -> bool: + return int("".join(str(int(c, 36)) for c in lei)) % 97 == 1 + + +def main() -> int: + check_only = "--check" in sys.argv[1:] + for old, new in ISINS.items(): + assert len(old) == len(new) == 12 and luhn_ok(new), (old, new) + for old, new in LEIS.items(): + assert len(old) == len(new) == 20 and lei_ok(new), (old, new) + mapping = {**ISINS, **LEIS} + root = pathlib.Path(__file__).resolve().parent.parent + changed = 0 + for path in sorted(root.rglob("*")): + if not path.is_file() or path.suffix.lower() not in TEXT_SUFFIXES: + continue + if SKIP_DIRS.intersection(path.relative_to(root).parts) or path.name == "repair_identifiers.py": + continue + with open(path, encoding="utf-8", newline="") as f: # keep CRLF files as they are + text = f.read() + new_text = text + for old, new in mapping.items(): + new_text = new_text.replace(old, new) + if new_text != text: + changed += 1 + print(path.relative_to(root)) + if not check_only: + path.write_bytes(new_text.encode("utf-8")) + print(f"{changed} file(s) {'to change' if check_only else 'changed'}") + return 1 if check_only and changed else 0 + + +if __name__ == "__main__": + sys.exit(main())