QFXparser 1.3.0

Simple parser for .qfx and .qbo files.

Install-Package QFXparser -Version 1.3.0
dotnet add package QFXparser --version 1.3.0
<PackageReference Include="QFXparser" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QFXparser --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

QFXparser

Simple parser for .qfx and .qbo files.

Pass to the library a file path or a Strem and it will return a "Statement" object that contains the Account number and the list of Transactions.

Example:

using QFXparser;

FileParser parser = new FileParser("C:\\filename.qbo");
Statement result = parser.BuildStatement();

The returned objects are:

Statement

public class Statement
{
    public string AccountNum { get; set; }
    public ICollection<Transaction> Transactions { get; set; }
    public LedgerBalance LedgerBalance { get; set; }
}

Transaction

public class Transaction
{
    public string Type { get; set; }
    public DateTime PostedOn { get; set; }
    public Decimal Amount { get; set; }
    public string TransactionId { get; set; }
    public string RefNumber { get; set; }
    public string Name { get; set; }
    public string Memo { get; set; }
}

Ledger Balance

public class LedgerBalance
{
    public decimal Amount { get; set; }
    public DateTime AsOf { get; set; }
}

Transaction Dates

In case the financial institution is not including the timezone with the transaction date, we assume it is UTC.

Please let me know if any issues and if you like give a star.

Thanks to @DashNY for adding Ledger Balance and testing!

QFXparser

Simple parser for .qfx and .qbo files.

Pass to the library a file path or a Strem and it will return a "Statement" object that contains the Account number and the list of Transactions.

Example:

using QFXparser;

FileParser parser = new FileParser("C:\\filename.qbo");
Statement result = parser.BuildStatement();

The returned objects are:

Statement

public class Statement
{
    public string AccountNum { get; set; }
    public ICollection<Transaction> Transactions { get; set; }
    public LedgerBalance LedgerBalance { get; set; }
}

Transaction

public class Transaction
{
    public string Type { get; set; }
    public DateTime PostedOn { get; set; }
    public Decimal Amount { get; set; }
    public string TransactionId { get; set; }
    public string RefNumber { get; set; }
    public string Name { get; set; }
    public string Memo { get; set; }
}

Ledger Balance

public class LedgerBalance
{
    public decimal Amount { get; set; }
    public DateTime AsOf { get; set; }
}

Transaction Dates

In case the financial institution is not including the timezone with the transaction date, we assume it is UTC.

Please let me know if any issues and if you like give a star.

Thanks to @DashNY for adding Ledger Balance and testing!

Release Notes

See Changelog:
https://github.com/eramella/QFXparser/blob/master/CHANGELOG.md

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.0 51 9/8/2019
1.2.1 162 1/20/2019
1.2.0 291 2/27/2018
1.1.0 316 2/26/2018
1.0.1 325 2/25/2018
1.0.0 252 2/25/2018