7.Batch Trailer Description
For each batch header, there will be a batch trailer. Each batch trailer starts with 1664 and field are separated by caret (^). Example: 1664^602^05^500.00^1 Batch trailer comprised of MTI, function code, transaction code, total batch amount and total batch count. Description for each field of the batch trailer is given below.
7.1 MTI (Message Type Identifier)
MTI for batch trailer is always 1664
Position: | 1 |
Length: | 4 |
Data Type: | Number |
7.2 Batch Trailer Function Code
602 is function code for batch trailer.
Position: | 2 |
Length: | 3 |
Data Type: | Numeric |
7.3 Transaction Code
Transaction code for batch trailer is same as batch header.
Position: | 3 |
Length: | 2 |
Data Type: | Number |
7.4 Total Amount
Total amount specifies the total amount of all the transactions within the file.
Position: | 4 |
Length: | 20 (length is inclusive of dot and decimal digits) |
Data Type: | Numeric with 2 decimal places (Example: 543000.00) |
7.5 Total Count
Total count specifies the total number of transactions available in the file excluding header and trailer.
Position: | 5 |
Length: | 8 |
Data Type: | Numeric |