An ACH field is a value-bearing element inside an ACH record. Its position and length are prescribed, so parsing depends on reading exact character ranges rather than flexible separators. section 2.3 section 2.4.2
Treat each ACH field as part of a positional contract:
- Read the field from its defined character range within a 94-character record. section 2.3 section 2.4.2
- Preserve field order because both record order and field order affect processing and validation. section 2.4.2
Extracting fields with Python slices
A parser can map fixed ranges to named values: an entry-detail record reads transaction_code from line[1:3], account_number from line[12:29], and amount from line[29:39]. The slice boundaries implement the ACH field layout. section 2.4.2
Figure 2.2 ACH file layout
Use the ACH file layout to see how fields fit inside headers, entries, addenda, and control records. section 2.3
