Detail Record

Table 1 shows the format of the detail records.
Note:
  1. In the fields describing bit numbering, bit 0 is the most significant bit and bit 7 is the least significant bit.
  2. The field extracted for the item sequence number is as follows:
    • Transaction Id - used for non-holdover payments
    • Original sequence number - used for holdover payments
  3. The building options control the contents of fields 1 through 7. If original data is requested and exists, it is extracted. Otherwise, corrected data is extract.
Table 1. Detail Record Format
Field Format Length (in bytes) Description
Record Code Hexadecimal 1 This field is always X'04'.
Old Item Sequence Number Hexadecimal 4 The sequence number of the payment in the old CPCS format.
Sequence Sorter Unsigned, packed decimal 6 The sequence number in the detail info record. It is retrieved by adding Sequence ID, Sequence Sorter, and Sequence Number. The field is left justified and uses 0 as the filler.
Field 7 Unsigned, packed decimal Variable Field 7 from the payment, which is usually the serial number. It is right justified and uses an 'A' as the filler.
Field 6 Unsigned, packed decimal Variable Field 6 from the payment, which is usually the external process code. It is right justified and uses an 'A' as the filler.
Field 5 Unsigned, packed decimal Variable Field 5 from the payment, which is usually the routing transit number without dashes and its check digit. It is right justified and uses an 'A' as the filler.
Field 4 Unsigned, packed decimal Variable Field 4 from the payment. It is right justified and uses an 'A' as the filler. Optional
Field 3 Unsigned, packed decimal Variable Field 3 from the payment, which is usually the account number. It is right justified and uses an 'A' as the filler.
Field 2 Unsigned, packed decimal Variable Field 2 from the payment, which is usually the process code. It is right justified and uses an 'A' as the filler.
Field 1 Unsigned, packed decimal Variable Field 1, the amount field, from the payment. It is right justified and uses an 'A' as the filler.
CPU Flags Hexadecimal 2 This field is always X'0000'.
Flag 1 Hexadecimal 1 Indicates which fields are valid. If the bit representing the field is on, the field is valid. The bits represent the fields as follows:
  • Bit 3 - Field 1
  • Bit 4 - Field 2
  • Bit 5 - Field 3
  • Bit 6 - Field 5
Flag 2 Hexadecimal 1 Indicates which of the following is true about the payment. When a bit is on, it indicates:
  • Bit 0 - this a control record
  • Bit 2 - this is a Canadian document
  • Bit 3 - this is an on-us payment
  • Bit 5 - this is a credit payment
Control Record Type Hexadecimal 1 When the value in Flag 2 indicates that this is a control record, this field will contain the control record type. Valid control record types are:
  • X'F2' - Image assist document
  • X'F3' - Sub-batch ticket
  • X'F4' - Batch ticket
  • X'F5' - Block ticket
  • X'F6' - Divider
  • X'F7' - Tracer
  • X'F8' - Kill segment record
User Code Hexadecimal 1 This is a user reserved field.
Pocket Code Hexadecimal 1 The pocket code for the payment.
Flag 3 Byte 0 Hexadecimal 1 When the detail record corresponds to an payment, this field contains X'80'.
Flag 3 Byte 1 Hexadecimal 1 This field is always X'00'.
Flag 3 Byte 2 Hexadecimal 1 This field is always X'00'.
Flag 3 Byte 3 Hexadecimal 1 On non-control detail records, this field contains the check digit of the payment's routing transit field in the highest order nibble. If the check digit does not exist, it contains A.
Flag 3 Byte 4 Hexadecimal 1 Indicates which fields are valid. If the bit representing the field is on, the field is valid. The bits represent the fields as follows:
  • Bit 1 - Field 1
  • Bit 2 - Field 2
  • Bit 3 - Field 3
  • Bit 4 - Field 4
  • Bit 5 - Field 5
  • Bit 6 - Field 6
  • Bit 7 - Field 7
Flag 3 Byte 5 Hexadecimal 1 Indicates which fields are valid. If the bit representing the field is on, the field is valid. The bits represent the fields as follows:
  • Bit 0 - This bit is always off
  • Bit 1 - Field 9
  • Bit 2 - Field 10
  • Bit 3 - Field 11
  • Bit 4 - Field 12
  • Bit 5 - Field 13
  • Bit 6 - Field 14
  • Bit 7 - Field 15
Flag 3 Byte 6 Hexadecimal 1 This field is reserved for the user.
Flag 3 Byte 7 Hexadecimal 1 This field is reserved for the user.
Field 9 Char Variable This field contains the contents of Field 9. By default, this field is not written to the MCRE file. Use the manage transaction field definition page, Manage Transaction Field Definition Page, or the legacy profile import utility to define it. For more information about the utility, see Legacy Profile Import Utility.
Field 10 Char Variable This field contains the contents of Field 10. By default, this field is not written to the MCRE file. Use the manage transaction field definition page, Manage Transaction Field Definition Page, or the legacy profile import utility to define it. For more information about the utility, see Legacy Profile Import Utility.
Field 11 Char Variable This field contains the contents of Field 11. By default, this field is not written to the MCRE file. Use the manage transaction field definition page, Manage Transaction Field Definition Page, or the legacy profile import utility to define it. For more information about the utility, see Legacy Profile Import Utility.
Field 12 Char Variable This field contains the contents of Field 12. By default, this field is not written to the MCRE file. Use the manage transaction field definition page, Manage Transaction Field Definition Page, or the legacy profile import utility to define it. For more information about the utility, see Legacy Profile Import Utility.
Field 13 Char Variable This field contains the contents of Field 13. By default, this field is not written to the MCRE file. Use the manage transaction field definition page, Manage Transaction Field Definition Page, or the legacy profile import utility to define it. For more information about the utility, see Legacy Profile Import Utility.
Field 14 Char Variable This field contains the contents of Field 14. By default, this field is not written to the MCRE file. Use the manage transaction field definition page, Manage Transaction Field Definition Page, or the legacy profile import utility to define it. For more information about the utility, see Legacy Profile Import Utility.
Field 15 Char Variable This field contains the contents of Field 15. By default, this field is not written to the MCRE file. Use the manage transaction field definition page, Manage Transaction Field Definition Page, or the legacy profile import utility to define it. For more information about the utility, see Legacy Profile Import Utility.
Filler Hexadecimal Variable This field is filled with X'AA'.
Segment Item Sequence Number Hexadecimal 2 The item sequence number in the segment.
Segment Item Sequence Number Hexadecimal 2 This is also the item sequence number in the segment.
Filler Char 4 This field is filled with blanks.