Doit.Finance.MonetaryFinancialInstitution
1.0.4
dotnet add package Doit.Finance.MonetaryFinancialInstitution --version 1.0.4
NuGet\Install-Package Doit.Finance.MonetaryFinancialInstitution -Version 1.0.4
<PackageReference Include="Doit.Finance.MonetaryFinancialInstitution" Version="1.0.4" />
paket add Doit.Finance.MonetaryFinancialInstitution --version 1.0.4
#r "nuget: Doit.Finance.MonetaryFinancialInstitution, 1.0.4"
// Install Doit.Finance.MonetaryFinancialInstitution as a Cake Addin #addin nuget:?package=Doit.Finance.MonetaryFinancialInstitution&version=1.0.4 // Install Doit.Finance.MonetaryFinancialInstitution as a Cake Tool #tool nuget:?package=Doit.Finance.MonetaryFinancialInstitution&version=1.0.4
Do.Finance.MonetaryFinancialInstitution
- Get the latest Monetary Financial Institutions (MFIs) from https://www.ecb.europa.eu
- Additional support of national bank sort code
ECB User guide https://www.ecb.europa.eu/stats/financial_corporations/list_of_financial_institutions/html/mfi_userguide.en.html
General download information website https://www.ecb.europa.eu/stats/financial_corporations/list_of_financial_institutions/html/elegass.en.html
National Bank sort code support
Additional support of national bank sort code
Support:
var germanySortCodeHelper = new GermanyBankSortCodeHelper();
var result = await germanySortCodeHelper.GetCurrentBankSortList(download: true);
Requirement
Check if the csv files are available at the url:
Website structure:
Monetary Financial Institutions (MFIs): Download area
The EU population of MFIs
compressed | uncompressed | |
---|---|---|
Full Database | mfi_csv_201005.csv.gz | mfi_csv_201005.csv |
Update | mfi_csv_update_201005.csv.gz | mfi_csv_update_201005.csv |
Monetary Financial Institutions (MFIs) subject to the Eurosystem's minimum reserve requirement (monthly data): Download area
The EU population of MFIs
compressed | uncompressed | |
---|---|---|
Full Database | mfi_mrr_csv_200930.csv.gz | mfi_mrr_csv_200930.csv |
Update | mfi_mrr_csv_update_200930.csv.gz | mfi_mrr_csv_update_200930.csv |
Usage
Download the latest csv from the ecb website
var result = await monetaryFinancialInstitution.GetCurentListAsync(true);
Use supplied csv files mfi_csv_201001.csv / mfi_csv_update_201001.csv
var result = await monetaryFinancialInstitution.GetCurentListAsync(false);
Download the latest minimum reserve requirement csv. This csv includes the BIC
var result = await monetaryFinancialInstitution.GetCurentMrrListAsync(true);
- Use supplied csv files mfi_mrr_csv_200930.csv / mfi_mrr_csv_update_200930.csv
var result = await monetaryFinancialInstitution.GetCurentMrrListAsync(false);
Tooling
Generate class from csv header https://toolslick.com/generation/code/class-from-csv
CsvHelper https://joshclose.github.io/CsvHelper/
ClosedXML for reading excel files https://github.com/ClosedXML/ClosedXML
TODOs
- Find a better name for GermanBankSortCodeHelper → Naming: Country + SortCodeHelper = GermanyBankSortCodeHelper
- Merge the files to one BankAccount list
- Better file handling. Current: download files in the main project folder
- Support non european bank sort codes
Contribution
Create more national bank sort core helper. Use the class GermanyBankSortCodeHelper as example.
Helpful description for contribute: https://github.com/MarcDiethelm/contributing/blob/master/README.md
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- ClosedXML (>= 0.102.2)
- CsvHelper (>= 32.0.3)
- HtmlAgilityPack (>= 1.11.61)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.