FastACH 0.3.3.88

dotnet add package FastACH --version 0.3.3.88                
NuGet\Install-Package FastACH -Version 0.3.3.88                
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="FastACH" Version="0.3.3.88" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FastACH --version 0.3.3.88                
#r "nuget: FastACH, 0.3.3.88"                
#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.
// Install FastACH as a Cake Addin
#addin nuget:?package=FastACH&version=0.3.3.88

// Install FastACH as a Cake Tool
#tool nuget:?package=FastACH&version=0.3.3.88                

FastACH

.NET library for reading and writing ACH files

Continuous integration

Branch Build status
master CircleCI

Installation NuGet

.NET 7.0

PM> Install-Package FastACH

Add namespace to the program

using FastACH;

Usage

Reading ACH file

var achFile = await AchFile.Read("ACH.txt");

achFile.WriteToConsole(); // Output to console

Writing ACH file

var achFile = new AchFile()
{
    OneRecord = new FileHeaderRecord()
    {
        ImmediateDestination = "123456789",
        ImmediateOrigin = "123456789",
        FileCreationDate = DateOnly.FromDateTime(DateTime.Now),
        FileCreationTime = TimeOnly.FromDateTime(DateTime.Now),
        FileIdModifier = 'A',
        ImmediateDestinationName = "PNC Bank",
        ImmediateOriginName = "Microsoft Inc.",
        ReferenceCode = "00000000"
    },
    BatchRecordList =
    {
        new BatchRecord()
        {
            BatchHeader = new BatchHeaderRecord()
            {
                ServiceClassCode = 200,
                CompanyName = "companyName",
                CompanyDiscretionaryData = "companyDiscretionary",
                CompanyId = "companyID",
                CompanyEntryDescription = "EntryDescr",
                CompanyDescriptiveDate = new DateOnly(2011, 02, 03),
                EffectiveEntryDate = new DateOnly(2011, 01, 02),
                OriginatingDFIID = "DFINumber"
            },
            TransactionDetailsList =
            {
                new TransactionRecord
                {
                    EntryDetail = new EntryDetailRecord()
                    {
                        TransactionCode = 22,
                        ReceivingDFIID = 12345678,
                        CheckDigit = '9',
                        DFIAccountNumber = "1313131313",
                        Amount = 22M,
                        ReceiverIdentificationNumber = "ID Number",
                        ReceiverName = "ID Name",
                        DiscretionaryData = "Desc Data",
                        AddendaRecordIndicator = true,
                    },
                    Addenda = new AddendaRecord()
                    {
                        AddendaInformation = "Monthly bill"
                    }
                },
                new TransactionRecord()
                {
                    EntryDetail = new EntryDetailRecord()
                    {
                        TransactionCode = 27,
                        ReceivingDFIID = 12345678,
                        CheckDigit = '9',
                        DFIAccountNumber = "1313131313",
                        Amount = 27M,
                        ReceiverIdentificationNumber = "ID Number",
                        ReceiverName = "ID Name",
                        DiscretionaryData = "Desc Data",
                        AddendaRecordIndicator = false,
                    },
                    Addenda = null
                }
            }
        }
    }
};

await achFile.WriteToFile("ACH.txt");

Perfomance results

I created a benchmark to compare reading performance between FastACH and very popular ChoETL.Nacha library.

Method NumberOfEntries Mean Error Gen0 Gen1 Gen2 Allocated
FastACH 1000 7.641 ms NA - - - 909.02 KB
ChoetlNacha 1000 734.524 ms NA 287000.0000 282000.0000 282000.0000 3764876.44 KB
FastACH 10000 17.351 ms NA - - - 8888.17 KB
ChoetlNacha 10000 3,981.774 ms NA 1881000.0000 1824000.0000 1824000.0000 37550128.94 KB
FastACH 100000 148.096 ms NA 7000.0000 6000.0000 2000.0000 88723.47 KB
ChoetlNacha 100000 35,719.891 ms NA 21667000.0000 21090000.0000 21090000.0000 375460385.66 KB
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.3.88 116 6/28/2024
0.3.3.87 463 6/27/2024
0.3.2.86 107 6/27/2024
0.3.1.85 98 6/27/2024
0.3.0.84 107 6/27/2024
0.2.6.83 177 6/5/2024
0.2.5.82 97 6/5/2024
0.2.5.81 100 6/5/2024
0.2.5.80 104 6/4/2024
0.2.5.79 110 6/4/2024
0.2.5.78 93 6/4/2024
0.2.4.77 102 6/4/2024
0.2.4.76 102 6/4/2024
0.2.3.75 102 6/4/2024
0.2.3.74 104 6/4/2024
0.2.2.73 101 6/4/2024
0.2.1.72 106 6/4/2024
0.2.1.71 89 5/31/2024
0.2.0.70 93 5/31/2024
0.1.11.69 95 5/31/2024
0.1.10.68 268 4/15/2024
0.1.9.67 124 2/1/2024
0.1.8.66 509 2/1/2024
0.1.7.65 107 2/1/2024
0.1.6.64 104 2/1/2024
0.1.5.63 100 2/1/2024
0.1.4.62 108 1/31/2024
0.1.3.61 95 1/31/2024
0.1.2.60 91 1/31/2024
0.1.1.59 93 1/31/2024
0.1.1.58 95 1/31/2024
0.1.0.57 97 1/31/2024
0.0.12.56 104 1/25/2024
0.0.11.55 99 1/24/2024
0.0.10.53 95 1/24/2024
0.0.10.52 105 1/23/2024
0.0.9.51 98 1/23/2024
0.0.8.50 99 1/23/2024
0.0.8.49 100 1/23/2024
0.0.8.48 87 1/23/2024
0.0.7.47 107 1/22/2024
0.0.6.46 100 1/22/2024
0.0.6 111 1/22/2024
0.0.5 113 1/18/2024
0.0.4 94 1/18/2024
0.0.3 110 1/18/2024
0.0.2 109 1/16/2024
0.0.1.1 118 1/8/2024
0.0.1 109 1/8/2024