menu

ACH Payments

File Header Record – type 1

The File Header record indicates specific file characteristics: the origin and destination of the file, the file creation date/time and other identification fields that allow the file to be identified uniquely.

FieldField NameRequirementContents TypeLengthStart PositionEnd Position
1RECORD TYPE CODEMandatoryAlways ‘1’111
2PRIORITY CODEMandatoryAlways ‘01’223
3IMMEDIATE DESTINATIONMandatoryGS Bank routing number Always ‘b026015079’ (‘b’= space)10413
4IMMEDIATE ORIGINMandatoryClient selected identifier that identifies the file or its source. The 3 fields (Immediate Origin, File Creation Date & File ID Modifier) uniquely identify a file as received by GS Bank101423
5FILE CREATION DATEMandatoryDate in ‘YYMMDD’62429
6FILE CREATION TIMEMandatoryTime in ‘HHMM’43033
7FILE ID MODIFIERMandatoryUpper case A-Z Numeric 0-9. Start with ‘A’ for the first file of the day. Increment to ‘B’, ‘C’, and so on, up to ‘Z’ (followed by ‘0’ to ‘9’) for every subsequent file during the day13434
8RECORD SIZEMandatoryAlways ‘094’33537
9BLOCKING FACTORMandatoryAlways ‘10’23839
10FORMAT CODEMandatoryAlways ‘1’14040
11IMMEDIATE DESTINATION NAMEMandatoryAlways “GS BANK USA”234163
12IMMEDIATE ORIGIN NAMEMandatoryAlphanumeric. Sending organization name236486
13REFERENCE CODEOptionalAlphanumeric
Optional for your reference. Ignored by GS Bank
88794

File Header Record – Example
101 02601507911223344552006011330A094101GS    BANK USA     YOUR COMPANY NAME   REF123AB

Company / Batch Header Record – type 5 – for CCD, CTX, PPD, WEB and TEL entries

The Company / Batch Header record indicates key transaction attributes that are common to all entries contained in the batch. Among other things, it indicates the Originator, the Effective Entry Date (settlement / value date), a brief description of the purpose and the Standard Entry Class Code common to all transactions in the batch

FieldField NameRequirementContents/TypeLengthStart PositionEnd Position
1RECORD TYPE CODEMandatoryAlways ‘5’111
2SERVICE CLASS CODEMandatoryIdentifies the type of entries in the batch. Enter one of the following codes:
* ‘200’ – Batch containing ACH Credits and Debits
* ‘220’ – Batch containing ACH Credits only
* ‘225’ – Batch containing ACH Debits only
324
3COMPANY NAMEMandatoryAlphanumeric
Your organization name. Under NACHA rules, this field identifies the source of the transaction to the receiver, generally must contain the name by which the originator (your organization) is known to and readily recognized by the receiver
16520
4COMPANY DISCRETIONARY DATAOptionalAlphanumeric
For your company’s internal use, if desired. No specific format is required
202140
5COMPANY IDENTIFICATIONMandatoryAlphanumeric
Enter the Company ID as agreed between GS Bank and yourself
104150
6STANDARD ENTRY CLASS CODE1MandatoryAlphanumeric
Enter one of the following supported codes:
* For ACH Credits: CCD, CTX, PPD
* For ACH Debits: CCD, CTX, PPD, WEB, TEL
35153
7COMPANY ENTRY DESCRIPTIONMandatoryAlphanumeric. Description of the purpose of the Entries in the batch that will be passed on to the receiver, e.g. PAYROLL, BILL PMT, etc.105463
8COMPANY DESCRIPTIVE DATEOptionalAlphanumeric
Optional reference date that is passed on to the receiver for descriptive purposes, e.g. JAN 20, 011520.
Note:- this date is not used for settlement or posting purposes.
66469
9EFFECTIVE ENTRY DATEMandatoryYYMMDD,
Banking day on which settlement is to take place.
Must be a valid date same as or up to 30 days in future from the date the file is received
67075
10SETTLEMENT DATE (JULIAN)N/AReserved. Fill with spaces37678
11ORIGINATOR STATUS CODEMandatoryAlways ‘1’17979
12ORIGINATING DFI IDENTIFICATIONMandatoryAlways ‘02601507’ (first 8 digits of GS Bank’s routing number)88087
13BATCH NUMBERMandatoryNumeric.
Start with ‘0000001’ and increment by 1 for each subsequent batch in the file
78894

1 See section on Standard Entry Class codes for a further description of supported codes

Company / Batch Header Record – Example 5220ALPHA     COMPANY          1234567890PPDPAYROLL         JUN 20200701         1026015070000001

Entry Detail Record – type 6 – for CCD, PPD, WEB and TEL entries

The Entry Detail record provides information as relates to the Receiver of the transaction, specifically the account number and RDFI routing identifier and the amount. The field layout is largely consistent, but may vary for certain SEC codes. The below applies to CCD, PPD, WEB and TEL entries. Record structure for CTX and IAT entries is outlined in the next sections.

FieldField NameRequirementContents / Type LengthStart PositionEnd Position
1RECORD TYPE CODEMandatoryAlways ‘6’11
2TRANSACTION CODEMandatoryNumeric. Enter one of the following values:
For Credits:
* 22 – Checking account
* 32 – Savings account
* 23 – Checking account prenotification (zero-dollar)
* 24 – Checking account zero dollar with remittance data (for CCD, CTX, and IAT Entries only)
* 33 – Savings account prenotification (zero-dollar)
* 34 – Savings account zero dollar with remittance data (for CCD, CTX, and IAT Entries only)
For Debits:
* 27 – Checking account credit
* 37 – Savings account credit
* 28 – Checking account prenotification (zero-dollar)
* 29 – Checking account zero dollar with remittance data (for CCD, CTX, and IAT Entries only)
* 38 – Savings account prenotification (zero-dollar)
* 39 Zero dollar with remittance data (for CCD, CTX, and IAT Entries only)
For Loan Credits:
* 52 Loan Account
* 53 Prenotification of Loan Account Credit (zero-dollar)
* 54 Zero dollar with remittance data (for CCD and CTX Entries only)
For Loan Debits:
* 55 Loan Account Debit (Reversals Only)
22
3RECEIVING DFI IDENTIFICATIONMandatoryFirst 8 digits of the receiving depository financial institution (RDFI) routing number84
4CHECK DIGITMandatoryLast digit of the receiving depository financial institution (RDFI) routing number112
5RECEIVER’S ACCOUNT NUMBER AT RDFIMandatoryAlphanumeric
Receiver’s account number at the RDFI to be credited or debited
1713
6AMOUNTMandatoryDollar and Cent
Amount in dollars and cents. Must be unsigned, without a decimal point, right justified and filled with leading zeros. E.g. $230.56 is completed as 0000023056
1030
7(INDIVIDUAL) IDENTIFICATION NUMBEROptionalAlphanumeric
Additional identifying reference for the receiver. Do not use Social Security Number (SSN)
1540
8INDIVIDUAL / RECEIVING COMPANY NAMEMandatoryAlphanumeric
Receiver name (individual or business / company name)
2255
9DISCRETIONARY DATA (CCD, PPD) /
PAYMENT TYPE CODE (WEB, TEL)
ConditionalAlphanumeric.
For WEB and TEL entries, this field must contain:
* ‘R’ – for a recurring entry
* ‘S’ – for a single entry
* ‘ST’ – for standing instruction entry
For CCD and PPD, this field is not used by GS Bank. Fill with spaces
277
10ADDENDA RECORD INDICATORMandatoryNumeric. Enter one of the following values:
0 – no addenda record for this Entry
1 – one or more addenda records follow this Entry
179
11TRACE NUMBERMandatoryNumeric.
Unique identifier for each Entry within the batch. The first 8 digits must correspond to GS Bank’s routing number ‘02601507’, followed by a sequence number in ascending order within the batch
1580

Entry Detail Record – Example

632111122223123456789    0000023062AB156325    JACK SMITH        0026015070000001

Entry Detail Record – type 6 – for CTX entries

FieldField NameRequirementContents / Type LengthStart PositionEnd Position
1RECORD TYPE CODEMandatoryAlways ‘6’11
2TRANSACTION CODEMandatoryNumeric. Enter one of the following values:
For Credits:
* 22 – Checking account
* 32 – Savings account
* 23 – Checking account prenotification (zero-dollar)
* 33 – Savings account prenotification (zero-dollar)
* 24 – Checking account zero dollar with remittance data (for CCD, CTX, and IAT Entries only)
* 34 – Savings account zero dollar with remittance data (for CCD, CTX, and IAT Entries only)
For Debits:
* 27 – Checking account
* 37 – Savings account
* 28 – Checking account prenotification (zero-dollar)
* 29 – Checking account zero dollar with remittance data (for CCD, CTX, and IAT Entries only)
* 38 – Savings account prenotification (zero-dollar)
* 39 – Savings account zero dollar with remittance data (for CCD, CTX, and IAT Entries only)
For Loan Credits:
52 Loan Account
53 Prenotification of Loan Account Credit (zero-dollar)
54 Zero dollar with remittance data (for CCD and CTX Entries only)
For Loan Debits:
55 Loan Account Debit (Reversals Only)
22
3RECEIVING DFI IDENTIFICATIONMandatoryFirst 8 digits of the receiving depository financial institution (RDFI) routing number84
4CHECK DIGITMandatoryLast digit of the receiving depository financial institution (RDFI) routing number112
5RECEIVER’S ACCOUNT NUMBER AT RDFIMandatoryAlphanumeric Receiver’s account number at the RDFI to be credited or debited1713
6AMOUNTMandatoryDollar and Cents
Amount in dollars and cents. Must be unsigned, without a decimal point, right justified and filled with leading zeros. E.g. $230.56 is completed as 0000023056
1030
7IDENTIFICATION NUMBEROptionalAlphanumeric Additional identifying information for the Receiver or Originator.1540
8NUMBER OF ADDENDA RECORDSMandatoryNumeric.455
9RECEIVING COMPANY NAME / ID NUMBERMandatoryAlphanumeric. Receiver name.1659
10RESERVEDN/AFill with spaces.275
11DISCRETIONARY DATAOptionalAlphanumeric
This field is currently not used by GS Bank. Fill with spaces.
277
12ADDENDA RECORD INDICATORMandatoryNumeric. Enter one of the following values:
0 – no addenda record for this Entry
1 – one or more addenda records follow this Entry
179
13TRACE NUMBERMandatoryNumeric.
Unique identifier for each Entry within the batch. The first 8 digits must correspond to GS Bank’s routing number ‘02601507’, followed by a sequence number in ascending order within the batch.
1580

Addenda Record – type 7 -for all

Addenda record(s) may be used to provide additional information relating to the Entry to the Receiver. The presence of an Addenda record(s) is indicated and validated against the Addenda record indicator in the Entry Detail record, and the Number of Addenda Records value (for CTX entries). IAT entries carry a special set of Addenda records that are described in the next section.

FieldField NameRequirementContents / TypeLengthStart PositionEnd Position
1RECORD TYPE CODEMandatoryAlways ‘7’111
2ADDENDA TYPE CODEMandatoryAlways ‘05’223
3PAYMENT RELATED INFORMATIONOptionalAlphanumeric
Additional information related to payment for the receiver
80483
4ADDENDA SEQUENCE NUMBERMandatoryNumeric
Sequence number starting with 0001
48487
5ENTRY DETAIL SEQUENCE NUMBERMandatoryNumeric
Last 7 digits of the Trace Number of the related Entry Detail record
78894

Company / Batch Control Record – type 8

The Company/Batch Control Record contains the counts, hash totals, and total dollar controls for the preceding Entries within the batch. All Entry Detail Records are hashed. Both Entry Detail Records and Addenda Records are included in the Entry/addenda counts; Batch Header and Batch Control Records are not included.

FieldField NameRequirementContents / TypeLengthStart PositionEnd Position
1RECORD TYPE CODEMandatoryAlways ‘8’111
2SERVICE CLASS CODEMandatoryNumeric.
Should be the same as the Service Class Code of the associated Company / Batch Header record.
324
3ENTRY/ ADDENDA COUNTMandatoryNumeric.
Total number of entry and addenda records in the batch.
6510
4ENTRY HASHMandatoryNumeric.
Sum of the 8-digit RDFI routing numbers in the Entry Detail records in the batch. Use the right-most 10 digits if the sum exceeds 10 digits, and fill with leading 0’s if less than 10 digits.
101120
5TOTAL DEBIT ENTRY DOLLAR AMOUNTMandatoryDollar and Cent
Sum of Entry Detail debit totals within the batch.
122132
6TOTAL CREDIT ENTRY DOLLAR AMOUNTMandatorydollar and Cent
Sum of Entry Detail credit totals within the batch.
123344
7COMPANY IDENTIFICATIONMandatoryAlphanumeric. Should be the same as the Company ID of the associated Company / Batch Header record.104554
8MESSAGE AUTHENTICATION CODEN/AAlphanumeric.
Not used. Fill with spaces.
195573
9RESERVEDN/AFill with spaces67479
10ORIGINATING DFI IDENTIFICATIONMandatoryAlways ‘02601507’ (first 8 digits of GS Bank’s routing number)88087
11BATCH NUMBERMandatoryNumeric. Should be the same as the Batch Number of the associated Company / Batch Header record.78894

Company / Batch Control Record – Example 822000000300333366660000000000000000003000001234567890     026015070000001

File Control Record – type 9

The File Control Record contains control totals for the entries, batches and blocks in the file.

FieldField NameRequirementContents / TypeLengthStart PositionEnd Position
1RECORD TYPE CODEMandatoryAlways ‘9’111
2BATCH COUNTMandatoryNumeric. Number of batches in the file.627
3BLOCK COUNTMandatoryNumeric. Total number of blocks in the file. Block = 10 records (including all Header and Control records and Blocking control records).6813
4ENTRY/ADDENDA COUNTMandatoryNumeric. Total number of Entry Detail and Addenda records in the file.81421
5ENTRY HASHMandatoryNumeric. Sum of all Entry Hash fields in each Company/Batch Control record contained within the file. Use the right-most 10 digits if the sum exceeds 10 digits, and fill with leading 0’s if less than 10 digits.102231
6TOTAL DEBIT ENTRY DOLLAR AMOUNT IN FILEMandatoryDollar and Cents
Sum of Entry Detail debit totals within the file.
123243
7TOTAL CREDIT ENTRY DOLLAR AMOUNT IN FILEMandatoryDollar and Cents
Sum of Entry Detail credit totals within the file.
124455
8RESERVEDN/AAlways filled with spaces395694

File Control Record – Example
9000003000002000000100077785554000000000000000000700000


This site is for informational purposes only and does not constitute an offer to sell, or the solicitation of an offer to buy, any security. The Goldman Sachs Marquee® platform is for institutional and professional clients only. Some of the services and products described on this site may not be available in certain jurisdictions or to certain types of client. Please contact your Goldman Sachs sales representative with any questions. Nothing on this site constitutes an offer, or an invitation to make an offer from Goldman Sachs to purchase or sell a product. This site is given for purely indicative purposes and does not create any contractual relationship between you and Goldman Sachs. Any market information contained on the site (including but not limited to pricing levels) is based on data available to Goldman Sachs at a given moment and may change from time to time. There is no representation that any transaction can or could have been effected on such terms or at such prices. Please see https://www.goldmansachs.com/disclaimer/sec-div-disclaimers-for-electronic-comms.html for additional information. © 2023 Goldman Sachs. All rights reserved.
Transaction Banking services are offered by Goldman Sachs Bank USA (“GS Bank”). GS Bank is a New York State chartered bank, a member of the Federal Reserve System and a Member FDIC. © 2023 Goldman Sachs. All rights reserved.
Not all products and functionality mentioned on this website are currently available through our API platform.
All loans and deposit products are provided by Goldman Sachs Bank USA, Salt Lake City Branch. Member FDIC.
Brokerage and investment advisory services offered by our investment products are provided by Goldman Sachs & Co. LLC (`‘GS&CO.`’), which is an SEC registered broker-dealer and investment adviser, and member FINRA/SIPC. Research our firm at FINRA's BrokerCheck. Custody and clearing services are provided by Apex Clearing Corporation, a registered broker-dealer and member FINRA/SIPC. Please consider your objectives before investing. A diversified portfolio does not ensure a profit or protect against a loss. Past performance does not guarantee future results. Investment outcomes and projections are forward-looking statements and hypothetical in nature. Neither this website nor any of its contents shall constitute an offer, solicitation, or advice to buy or sell securities in any jurisdictions where GS&Co. is not registered. Any information provided prior to opening an investment account is on the basis that it will not constitute investment advice and that GS&Co. is not a fiduciary to any person by reason of providing such information. For more information about our investment offerings, visit our Full Disclosures.
Investment products are: NOT FDIC INSURED ∙ NOT A DEPOSIT OR OTHER OBLIGATION OF, OR GUARANTEED BY, GOLDMAN SACHS BANK USA ∙ SUBJECT TO INVESTMENT RISKS, INCLUDING POSSIBLE LOSS OF THE PRINCIPAL AMOUNT INVESTED