nacha
Version, currently main branch1 version
- main branchlatestJul 29, 2026
github.com/jwoertink/nacha
A Crystal shard for parsing and generating Nacha (ACH) files
Installation
# Add this to your shard.yml
dependencies:
nacha:
github: jwoertink/nacha
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.6.2- License
- MIT
- Author
- Jeremy Woertink
Dependencies
Development Dependencies
README
Nacha
The ACH file format (or NACHA file) is a text file with ASCII text lines, where each line is 94 characters long and serves as a “record” to execute domestic ACH payments through the Automated Clearing House Network (NACHA).
- https://tipalti.com/nacha-file-format/
Here's a few helpful links:
- https://achdevguide.nacha.org/ach-file-overview
- https://achdevguide.nacha.org/ach-file-details
This Crystal shard allows you to generate or parse a NACHA file.
Installation
-
Add the dependency to your
shard.yml:dependencies: nacha: github: jwoertink/nacha -
Run
shards install
Usage
Still under development, things may change
require "nacha"
entries = [
Nacha::EntryDetail.new,
Nacha::EntryDetail.new,
] of Nacha::EntryDetail
batches = [
Nacha::Batch.new(
header: Nacha::BatchHeader.new,
entries: entries,
),
] of Nacha::Batch
ach_file = Nacha::File.new(
header: Nacha::FileHeader.new,
batches: batches,
)
puts ach_file.generate
Development
- write code
- write spec
crystal tool format spec/ src/./bin/amebacrystal spec- repeat
Contributing
- Fork it (https://github.com/jwoertink/nacha/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Jeremy Woertink - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Jul 29, 2026
- Crystal
>= 1.6.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/jwoertink/nacha
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1