From b9b7e3d1e8f30e00a1c3a374be233acf21a0c123 Mon Sep 17 00:00:00 2001 From: Adam Shannon Date: Tue, 16 Apr 2019 11:08:41 -0500 Subject: [PATCH] fileheader: fixup docs to mention 0 pad prefix See https://github.com/moov-io/ach/pull/513 --- fileHeader.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fileHeader.go b/fileHeader.go index 6ce3b6a1d..3d632eee4 100644 --- a/fileHeader.go +++ b/fileHeader.go @@ -30,9 +30,10 @@ type FileHeader struct { // ImmediateOrigin contains the Routing Number of the ACH Operator or sending // point that is sending the file. The ach file format specifies a 10 character field - // which can begin with a blank space or '1' in the first position, followed by the four digit + // which can begin with a blank space, 0 or 1 in the first position, followed by the four digit // Federal Reserve Routing Symbol, the four digit ABA Institution Identifier, and the Check - // Digit (bTTTTAAAAC). ImmediateOriginField() will append the blank space to the routing number. + // Digit (bTTTTAAAAC). ImmediateOriginField() will prepend a 0 to the routing number to match + // the field size. ImmediateOrigin string `json:"immediateOrigin"` // FileCreationDate is the date on which the file is prepared by an ODFI (ACH input files)