Go library
This project uses Go Modules and Go v1.18 or newer. See Golang’s install instructions for help in setting up Go. You can download the source code and we offer tagged and released versions as well. We highly recommend you use a tagged release for production.
$ git@github.com:moov-io/ach.git
# Pull down into the Go Module cache
$ go get -u github.com/moov-io/ach
$ go doc github.com/moov-io/ach BatchHeader
The package github.com/moov-io/ach
offers a Go-based ACH file reader and writer. To get started, check out a specific example:
Supported Standard Entry Class (SEC) codes
SEC Code | Description | Example | Read | Write |
---|---|---|---|---|
ACK | Acknowledgment Entry for CCD | Credit | ACK Read | ACK Write |
ADV | Automated Accounting Advice | Prenote Debit | ADV Read | ADV Write |
ARC | Accounts Receivable Entry | Debit | ARC Read | ARC Write |
ATX | Acknowledgment Entry for CTX | Credit | ATX Read | ATX Write |
BOC | Back Office Conversion | Debit | BOC Read | BOC Write |
CCD | Corporate credit or debit | Debit | CCD Read | CCD Write |
CIE | Customer-Initiated Entry | Credit | CIE Read | CIE Write |
COR | Automated Notification of Change(NOC) | NOC | COR Read | COR Write |
CTX | Corporate Trade Exchange | Debit | CTX Read | CTX Write |
DNE | Death Notification Entry | DNE | DNE Read | DNE Write |
ENR | Automatic Enrollment Entry | ENR | ENR Read | ENR Write |
IAT | International ACH Transactions | Credit | IAT Read | IAT Write |
MTE | Machine Transfer Entry | Credit | MTE Read | MTE Write |
POP | Point of Purchase | Debit | POP Read | POP Write |
POS | Point of Sale | Debit | POS Read | POS Write |
PPD | Prearranged payment and deposits | Debit Credit | PPD Read | PPD Write |
RCK | Represented Check Entries | Debit | RCK Read | RCK Write |
SHR | Shared Network Entry | Debit | SHR Read | SHR Write |
TEL | Telephone-Initiated Entry | Debit | TEL Read | TEL Write |
TRC | Truncated Check Entry | Debit | TRC Read | TRC Write |
TRX | Check Truncation Entries Exchange | Debit | TRX Read | TRX Write |
WEB | Internet-initiated Entries | Credit | WEB Read | WEB Write |
XCK | Destroyed Check Entry | Debit | XCK Read | XCK Write |
Segment files
SEC Code | Name | Example | Read | Write |
---|---|---|---|---|
IAT | International ACH Transactions | Credit | IAT Read | IAT Write |
PPD | Prearranged payment and deposits | Debit Credit | PPD Read | PPD Write |