jcoliz.OfxSharp.NetStandard
3.1.0
dotnet add package jcoliz.OfxSharp.NetStandard --version 3.1.0
NuGet\Install-Package jcoliz.OfxSharp.NetStandard -Version 3.1.0
<PackageReference Include="jcoliz.OfxSharp.NetStandard" Version="3.1.0" />
paket add jcoliz.OfxSharp.NetStandard --version 3.1.0
#r "nuget: jcoliz.OfxSharp.NetStandard, 3.1.0"
// Install jcoliz.OfxSharp.NetStandard as a Cake Addin #addin nuget:?package=jcoliz.OfxSharp.NetStandard&version=3.1.0 // Install jcoliz.OfxSharp.NetStandard as a Cake Tool #tool nuget:?package=jcoliz.OfxSharp.NetStandard&version=3.1.0
OFXSharp
This library is a port from the original OFXParser to .NET Standard.
OFXParser is a library to parse OFX Files into plain C# objects, with some small changed done to handle OFX Files used by Brazilian banks, that don't strict follow the OFX pattern.
If you have any request, please feel free to open an issue or start a discussion.
How to use
OfxDocument ofx = OfxDocumentReader.FromSgmlFile( filePath: @"c:\ofxdoc.ofx" );
OfxStatementResponse statement = ofx.Statements.First();
This will give you an object of type OfxStatementResponse
, with the following properties:
public class OfxStatementResponse
{
public OfxStatus ResponseStatus { get; }
public String DefaultCurrency { get; }
public Account AccountFrom { get; }
public DateTimeOffset TransactionsStart { get; }
public DateTimeOffset TransactionsEnd { get; }
public List<Transaction> Transactions { get; }
public Balance LedgerBalance { get; }
public Balance AvailableBalance { get; }
}
Code of conduct
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
Please review the Code of conduct for more details.
Maintainer History
This code has quite a history of forks and multiple mainainters releasing it over time!
- James Hollingworth is the originator. https://github.com/jhollingworth/OFXSharp
- Antonio Milesi Bastos released the most popular package on NuGet in 2014. https://www.nuget.org/packages/OFXSharp/
- Keven Carneiro brought it over to NET Standard, making it look closer to the current form, in 2017. He released the most recent NuGet in 2018 https://www.nuget.org/packages/OfxSharp.NetStandard/
- Dai Rees made a lot of fundamental improvements and cleanups. Unfortunately does not seem to have released to NuGet.
- James Coliz cleaned up and brought current Dai's work, then released to NuGet Gallery.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Xml.SgmlReader (>= 1.8.28)
- System.Text.Encoding.CodePages (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Adds ability to parse the INTU.USERID tag. (Issue #17)
- Adds ability to read OFX2.0 (XML) files not just OFX1.0 (SGML) files. (Issue #6)
- Adds strong name assembly signing. (Issue #5)
- Adds ability to parse credit card statements. (Issue #16)
Thanks to @TechnicalJohn for these.