ForEach.Infrastructure.External.Banking 0.1.0

dotnet add package ForEach.Infrastructure.External.Banking --version 0.1.0
                    
NuGet\Install-Package ForEach.Infrastructure.External.Banking -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ForEach.Infrastructure.External.Banking" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ForEach.Infrastructure.External.Banking" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="ForEach.Infrastructure.External.Banking" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ForEach.Infrastructure.External.Banking --version 0.1.0
                    
#r "nuget: ForEach.Infrastructure.External.Banking, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ForEach.Infrastructure.External.Banking@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ForEach.Infrastructure.External.Banking&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=ForEach.Infrastructure.External.Banking&version=0.1.0
                    
Install as a Cake Tool

ForEach.Infrastructure.External.Banking

Bank statement readers, with no knowledge of any host application.

What it does

Camt053Reader.Read(xml) turns an ISO 20022 camt.053 account statement into a BankStatement: the account, the currency, the statement number, the opening and closing balances, and one StatementEntry per line.

What it deliberately does not do

It does not decide what a payment means. No contact matching, no invoice allocation, no currency conversion, no posting. Those depend on the host's own data, and a library that guessed them would be a library that has to know about customers.

Three decisions worth knowing

Version-agnostic. Every lookup is by local element name; the namespace — which is the camt version — is ignored. A reader pinned to camt.053.001.02 answers "empty statement" for a perfectly valid .001.08 file, and an empty statement looks exactly like a quiet day at the bank.

It never throws. A renamed PDF, a truncated download, an export from something that is not a bank: each returns BankStatement.Empty. The caller's honest answer is "this is not a statement", not a stack trace on an import screen.

Amounts are positive; the direction carries the sign. That is how camt states it, and a host that read the amount alone and forgot the indicator would book a bank charge as a customer payment — silently, and in the direction that flatters the balance. Balances are the exception and are signed, because an overdrawn account really is negative.

BankStatement.Reconciles says whether the entries account for the movement between the two balances. False means something in the file was not understood, and on a bank statement that is worth saying out loud: a payment silently missing from an import is a customer chased for money they have already paid.

Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on ForEach.Infrastructure.External.Banking:

Package Downloads
ForEach.Infrastructure.External.Banking.Asseco

Asseco iBank / OfficeBanking XML: account statements and payment orders.

ForEach.Infrastructure.External.Banking.Otp

OTP banka Srbija: account statement import.

ForEach.Infrastructure.External.Banking.Halcom

Halcom Hal E-Bank: fixed-width and extended account statement exports.

ForEach.Infrastructure.External.Banking.Rol

ROL (Raiffeisen OnLine) XML: account statements and dinar payment orders.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 145 11/3/2026