1. Generate the Zengin Header Record (120 Bytes)
1Record ID1indicates this is a Header Record
2Record TypeTransaction Type (21, 98)
3Code Type0Character Encoding, 0=JIS, 1=EBCDIC
4Requestor ID10 digits Debit Account Number with leading 0, or as assigned by Bank
5Account Holder Name40 Chars Customer Name in single-byte Katakana
6Payment Value DatePayment Value Date (current year's MMDD)
7Remitting Bank Number4-digit Zengin Code of the Bank (0401=Citibank)
8Remitting Bank NameRemitting Bank Name English or single-byte Katakana (i.e. Citibank)
9Remitting Branch Number3-digit Zengin Bank Branch Code (Citibank: 730=Tokyo Branch)
10Remitting Branch NameBank Branch Name English or single-byte Katakana (i.e. Tokyo), left aligned followed by space
11Account Type RequesterAllows only 1, 2, 9 and (Space)
12Requester Account NumberFirst 7 digits of the Sender's Account
13FC Payment Currency3-digit ISO currency code for FC payments, JPY will generate 3 spaces
14Dummy Field Add 14 spaces to reach 120 Bytes
2. Generate a Zengin Data Record (120 Bytes)
1Record ID2indicates this is a Data Record
2Receiving Bank Number4-digit Zengin Code of the Beneficiary Bank
3Receiving Bank NameName of the Beneficiary Bank (15-chars)
4Receiving Branch Number3-digit Zengin Code of the Beneficiary Bank Branch
5Receiving Branch NameName of the Beneficiary Bank Branch, i.e. Osaka
6Clearinghouse Number4-digit Zengin Code of the Clearinghouse
7Account TypeBeneficiary Account Type (1,2,4,9)
8Account Number7-digit Beneficiary Account number, leading zero
9Account Owner NameLeft-aligned single-byte Katakana Name, space fills blanks
10Yen Payment Amount10 digits aligned right with leading zeros
11New / AmendNew Value or Correction
12Customer Reference 110-char Customer Reference Field 1
13Customer Reference 210-char Customer Reference Field 2 (EDI Info)
14Transfer PriorityType of Payment, 7, 8 or space
15Identification DisplayVaild choices "Y" and " " space
16Dummy Field Add 7 spaces to reach 120 Bytes
3. Generate the Zengin Trailer-Record (120 Bytes)
1Record ID8indicates the Trailer Record
2Total Count0000016-digit Number of Data Records in this File
3Total Yen Amount12 digits Total Amount of Payments (Sum)
4Dummy Field Add 101 spaces to reach 120 Bytes
The End Record (120 Bytes) is auto-generated. Add CRLF Record Termination: