HSBC NACHA File Specs-MIG
HSBC NACHA File Specs-MIG
NACHA
USA
Version 3.0
July 2018
Field Position Size Status Contents Data Element Name (See Glossary)
1 01-01 1 M Numeric '1' Record Type Code
2 02-03 2 R Numeric '01' Priority Code
b022000020 Immediate Destination
3 04-13 10 M
b=Blank Space Identification HSBC Bank USA
4 14-23 10 M INNNNNNNN* *Company Identification. Your 10-digit
company number assigned by HSBC (PEP ID)
5 24-29 6 M YYMMDD Transmission (File Creation) Date
6 30-33 4 O HHMM Transmission (File Creation) Time
Alphanumeric File ID Modifier (For I.D. of multiple
7 34-34 1 M
'A' 'B' ect. files on the same day). Code to distinguish
among multiple input files sent per day. Label
the first (or only) file “A” (or “0”) and continue
in sequence.
8 35-37 3 M Numeric '094' Record Size
9 38-39 2 M Numeric '10' Blocking Factor. Number of records per block.
10 40-40 1 M '1' Format Code
Immediate Destination Name
11 41-63 23 M Alphanumeric
"HSBC Bank USA"
12 64-86 23 R Alphanumeric Immediate Origin Name. Your Company’s
name, up to 23 characters including spaces.
Alphanumeric
13 87-94 8 O Reference Code
or Blanks
*The value of the leading ("I") digit defines the kind of identification number used as follows:
For DIRECT DEPOSIT files use a "1" followed by the IRS Employer Identification Number.
For DIRECT DEBIT files use a "9" followed by the IRS Employer Identification Number.
Example:
101 02200002012345678090706210953A094101HSBC BANK USA ABC Company Inc
Field Position Size Status Contents Data Element Name (See Glossary)
1 01-01 1 M Numeric '5' Record Type Code
2 02-04 3 M Numeric Service Class Code. Identifies the type
ACH Mixed Debits and Credits ‘200’ of entries in the batch.
ACH Credits Only ‘220’
ACH Debits Only ‘225’
3 05-20 16 M Alphanumeric ** Company Name. NACHA rules
require the RDFI to print this value on
the receiver’s statement so you will
want to make this value as clear
as possible.
Alphanumeric
4 21-40 20 O Company Discretionary Data.
or Blanks
5 41-50 10 M INNNNNNNNN * Company Identification, your 10-
digit company number assigned by
HSBC. Collection Application ID (CA)
Example:
5200ABC Company Inc 1234567809PPDExpenses 080621 1022000020000001
Field Position Size Status Contents Data Element Name (See Glossary)
1 01-01 1 M Numeric '6' Record Type Code
2 02-03 2 M Numeric Transaction Code (see below)
*Receiving Bank Identification.
3 04-11 8 M TTTTAAAA
Transit Routing Number of the receiver’s
financial institution.
4 12-12 1 M Numeric *Check Digit. The ninth number of the
RDFI Routing Transit Number.
5 13-29 17 R Alphanumeric Receiving Bank Account Number
6 30-39 10 M $$$$$$$$cc Amount **
7 40-54 15 O Alphanumeric Individual Identification Number
8 55-76 22 R Alphanumeric Individual Name
9 77-78 2 O Alphanumeric Discretionary Data
10 79-79 1 M Numeric '0' Addenda Record Indicator
Numeric Trace Number. The field is constructed as
11 80-94 15 M
(zeroes) follows:
Positions 80-87 should be the same as Field
12 of the Company Batch Header 02200002.
Positions 88-94 are filled with the Entry
Detail Sequence Number. This number must
be assigned in ascending order to entries
within each batch, although the numbers
need not be continuous. HSBC reassigns
new trace numbers when we send entries to
the clearing house.
*Receiving Bank Transit Routing Number + Check Digit = 9 Digit which is the receiving bank
routing number (must be valid)
**Prenotification records are non-dollar entries with unique transaction codes and must contain zeroes in the
Amount field.
Transaction Codes:
Credit (deposit) to checking account ‘22’
Prenote for credit to checking account ‘23’
Debit (withdrawal) to checking account ‘27’
Prenote for debit to checking account ‘28’
Credit to savings account ‘32’
Prenote for credit to savings account ‘33’
Debit to savings account ‘37’
Prenote for debit to savings account ‘38’
Example:
6221234567871234567890 0000004700000585800000001AC Milan 0022000020000001
Field Position Size Status Contents Data Element Name (See Glossary)
1 01-01 1 M Numeric '8' Record Type Code
2 02-04 3 M Numeric Service Class Code. Must match the value
ACH Mixed Debits and Credits ‘200’ used in the Batch Header Record 5, above.
ACH Credits Only ‘220’
ACH Debits Only ‘225’
3 05-10 6 M Numeric Entry/Addenda Count. Total number of Entry
Detail Records plus addenda records (Record
Type “6” and “7”) in the batch. Requires 6
positions, right-justify, left zero-fill.
4 11-20 10 M Numeric Entry Hash. Total of eight-character Transit
Routing/ABA numbers in the batch (field 3
of the Entry Detail Record 6). Do not include
the Transit Routing Check Digit. Enter the
ten low-order (right most) digits of this
number. For example, if the sum were
112233445566, you would enter 2233445566
5 21-32 12 M $$$$$$$$$$cc Total Debit Entry Dollar Amount in Batch
6 33-44 12 M $$$$$$$$$$cc Total Credit Entry Dollar Amount in Batch
7 45-54 10 M INNNNNNNN* * Company Identification. Your 10-digit
company number assigned by HSBC.
Collection Application ID (CA). Must match
Field 5 of the Company Batch Header
Record.
8 55-73 19 M Blanks Reserved
9 74-79 6 M Blanks Reserved for Federal Reserve Use
Originating Financial Institution
10 80-87 8 M 02200002
Identification
11 88-94 7 M Numeric Batch Number. Number of the batch for
which this is a control record. Number the
batches sequentially within each file. Must
match Filed 13 of the company Bach Header
Record 5.
*The value of the leading ("I") defines the kind of Identification Number. This field is used by HSBC as
follows:
For DIRECT DEPOSIT files use a "1" followed by the IRS Employer Identification Number. For
DIRECT DEBIT files use a "9" followed by the IRS Employer Identification Number.
Example:
820000000400136411330000000272000000000272001234567809 022000020000001
Field Position Size Status Contents Data Element Name (See Glossary)
1 01-01 1 M Numeric '9' Record Type Code
2 02-07 6 M Numeric Batch Count
3 08-13 6 M Numeric Block Count
4 14-21 8 M Numeric Entry/Addenda Count. Total number of Entry
Detail and addenda Records (Record Types “6”
and “7”) in the file
5 22-31 10 M Numeric Entry Hash. Total of eight-character Transit
Routing/ABA numbers in the file (field 3 of the
Entry Detail Record). Do not include the Transit
Routing Check Digit. Enter the ten low-order
(right most) digits of this number. For example,
if the sum were 998877665544, you would enter
8877665544.
6 32-43 12 M $$$$$$$$$$cc Total Debit Entry Dollar Amount in File
7 44-55 12 M $$$$$$$$$$cc Total Credit Entry Dollar Amount in File
8 56-94 39 M Blanks Reserved
Example:
9000001000001000000040013641133000000027200000000027200
Mandatory (M)
Any "Mandatory" field not included in an ACH entry will cause that entry, batch, or file to be rejected by the
first ACH processing of the file. A "Mandatory" field is necessary to ensure the proper routing and/or
posting of an ACH entry.
Required (R)
The omission of a "Required" field will not cause an entry reject at the ACH but may cause a reject at the
receiving bank. Data classified as "Required" should be included by the originator and the originating bank
to avoid control problems at the receiving bank.
Optional (O)
The inclusion or omission of an "Optional" data field is at the discretion of the originator and originating bank.
Example:
Transit/ABA Numb 0 7 6 4 0 1 2 5
Multiply By 3 7 1 3 7 1 3 7
0 49 6 12 0 1 6 35
Sum = 109
Check Digit = 1 (110 minus 109)
Company Entry Description - 10 Positions - Company/Batch Header and Control - Required The
originating company establishes the value of this field to provide a description of the entry to be displayed
back to the receiver. For example, "GAS BILL", "REG SALARY", "INS PREM", etc.
The most frequently used ANSI ICD identification numbers for companies are:
1 = IRS Employer Identification Number (EIN)
2 = DUNS Data Universal Numbering System
9 = User Assigned Number
The first digit in the ANSI format is always the ICD followed by the appropriate nine-digit number
(INNNNNNNNN).
The company identification field should be used on all prenotification records and should be included on each
entry initiated pursuant to such prenotification. An absence of or change in this information may cause a
receiving bank to reject the entry for "No Prenotification On File".
Batches of entries containing an effective entry date beyond the designated number of days allowed will be
rejected by the ACH and returned to the originating bank. If this field is blank or zero, or partially blank or
partially non-numeric, or contains an incomplete date, day numbers higher than 31 or month numbers
higher than 12, the originating ACH shall insert the next banking day after the processing date as the
effective entry date.
Entry/Addenda Count
6 Positions - Company/Batch Control Record - Mandatory
8 Positions - File Control Record - Mandatory
This count is a tally of each entry detail record and each entry detail addenda record processed, within either
the batch or file, as appropriate.
Definition Term
ACK Acknowledgement Entry
CCD Corporate Credit or Debit
BOC Back Office Conversion
POS Point of Sale
POP Point of Purchase
ARC Accounts Receivable Entry
CBR Corporate Cross Border Payment
CIE Customer Initiated Entry
COR Automated Notification of Change
CTX Corporate Trade Exchange
DNE Death Notice Entry
PBR Consumer Cross Border Payment
PPD Prearranged Payment and Deposit Entry
RCK Re Presented Check Entry
TEL Telephone Initiated Entry
WEB Internet Initiated Entry
Total Debit or Credit Entry Dollar Amount - 12 Positions - Company/Batch Control and
File Control Records - Mandatory
These fields contain accumulated entry detail debit and credit totals within a given batch (Company/Batch
Control Record) and accumulated Company/Batch Control Record debit and credit totals within a given file
(File Control Record.)
Trace Number - 15 Positions - Entry Detail Record - Mandatory
The Trace Number (zeroes from the customer) is reassigned by HSBC in ascending sequence and included
on all entry detail records. Trace Numbers uniquely identify each entry within a batch in an ACH input file.
In association with the Batch Number, Transmission (File Creation) Date, and File ID Modifier, the Trace
Number uniquely identifies an entry within a given file.
Provisions should be made by the originating bank to avoid duplication of trace numbers if multiple data files
are prepared on the same day. Trace numbers are not required
to be contiguous.
22 Automated Deposit
23 Prenotification of Demand Credit Authorization Demand Account Debits
27 Automated Payment (debit)
28 Prenotification of Demand Debit Authorization Savings Account Credits
32 Automated Deposit
33 Prenotification of Savings Credit Authorization Savings Account Debits
37 Automated Payment (Debit)
38 Prenotification of Savings Debit Authorization
Transmission (File Creation) Date - 6 Positions - File Header Record - Mandatory The transmission
(file creation) date is the date on which the file is prepared by an originating bank or company (ACH input
files) or the date (exchange date) on which a file is transmitted from ACH to ACH, or from ACH to receiving
banks (ACH output file).