Skip to content

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.

Notifications You must be signed in to change notification settings

kevencarneiro/OFXSharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OFXSharp

NuGet

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, fell free to open a issue.

How to use

var parser = new OFXDocumentParser();
var ofxDocument = parser.Import(new FileStream(@"c:\ofxdoc.ofx", FileMode.Open));

This will give you an object of type OFXDocument, with the following properties:

public class OFXDocument
{
    public DateTime? StatementStart { get; set; }

    public DateTime? StatementEnd { get; set; }

    public AccountType AccType { get; set; }

    public string Currency { get; set; }

    public SignOn SignOn { get; set; }

    public Account Account { get; set; }

    public Balance Balance { get; set; }

    public List<Transaction> Transactions { get; set; }
}

About

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.

Topics

Resources

Stars

Watchers

Forks

Languages

  • C# 98.8%
  • Other 1.2%