FastACH 0.7.1.103

dotnet add package FastACH --version 0.7.1.103
                    
NuGet\Install-Package FastACH -Version 0.7.1.103
                    
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.7.1.103" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FastACH" Version="0.7.1.103" />
                    
Directory.Packages.props
<PackageReference Include="FastACH" />
                    
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 FastACH --version 0.7.1.103
                    
#r "nuget: FastACH, 0.7.1.103"
                    
#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 FastACH@0.7.1.103
                    
#: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=FastACH&version=0.7.1.103
                    
Install as a Cake Addin
#tool nuget:?package=FastACH&version=0.7.1.103
                    
Install as a Cake Tool

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
// Line map can be used for the error reporting
var lineMap = new List<(IRecord record, uint line)>();
var achFile = await AchFile.Read("ACH.txt", lineMap);

Reading ACH file to colorful console

var achFile = await AchFile.Read(name);
achFile.WriteToConsole();

Console Output

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 11.62 ms NA - - - 949.88 KB
ChoetlNacha 1000 908.52 ms NA 561000.0000 555000.0000 555000.0000 3770936.66 KB
FastACH 10000 31.50 ms NA - - - 9297.73 KB
ChoetlNacha 10000 5,316.70 ms NA 2485000.0000 2427000.0000 2425000.0000 37579633.04 KB
FastACH 100000 214.57 ms NA 7000.0000 6000.0000 2000.0000 92815.55 KB
ChoetlNacha 100000 43,563.12 ms NA 31105000.0000 30491000.0000 30491000.0000 375791391.55 KB
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 was computed.  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.
  • net8.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.7.1.103 121 9/8/2025
0.7.0.102 123 9/8/2025
0.7.0.101 121 9/8/2025
0.6.0.100 241 8/12/2025
0.6.0.99 214 8/12/2025
0.5.0.98 1,333 3/7/2025
0.4.0.94 812 12/12/2024
0.3.5.93 126 10/22/2024
0.3.5.92 422 10/21/2024
0.3.4.90 179 10/18/2024
0.3.4.89 174 10/18/2024
0.3.3.88 175 6/28/2024
0.3.3.87 593 6/27/2024
0.3.2.86 146 6/27/2024
0.3.1.85 144 6/27/2024
0.3.0.84 156 6/27/2024
0.2.6.83 223 6/5/2024
0.2.5.82 139 6/5/2024
0.2.5.81 133 6/5/2024
0.2.5.80 143 6/4/2024
0.2.5.79 150 6/4/2024
0.2.5.78 123 6/4/2024
0.2.4.77 151 6/4/2024
0.2.4.76 140 6/4/2024
0.2.3.75 136 6/4/2024
0.2.3.74 148 6/4/2024
0.2.2.73 144 6/4/2024
0.2.1.72 150 6/4/2024
0.2.1.71 133 5/31/2024
0.2.0.70 131 5/31/2024
0.1.11.69 135 5/31/2024
0.1.10.68 308 4/15/2024
0.1.9.67 161 2/1/2024
0.1.8.66 540 2/1/2024
0.1.7.65 152 2/1/2024
0.1.6.64 143 2/1/2024
0.1.5.63 148 2/1/2024
0.1.4.62 139 1/31/2024
0.1.3.61 141 1/31/2024
0.1.2.60 136 1/31/2024
0.1.1.59 129 1/31/2024
0.1.1.58 141 1/31/2024
0.1.0.57 144 1/31/2024
0.0.12.56 145 1/25/2024
0.0.11.55 137 1/24/2024
0.0.10.53 150 1/24/2024
0.0.10.52 151 1/23/2024
0.0.9.51 136 1/23/2024
0.0.8.50 135 1/23/2024
0.0.8.49 134 1/23/2024
0.0.8.48 134 1/23/2024
0.0.7.47 147 1/22/2024
0.0.6.46 132 1/22/2024
0.0.6 154 1/22/2024
0.0.5 157 1/18/2024
0.0.4 135 1/18/2024
0.0.3 152 1/18/2024
0.0.2 149 1/16/2024
0.0.1.1 151 1/8/2024
0.0.1 154 1/8/2024