Close Batch Message
Table 1 provides parameter information for transaction messages.
| Parameter Name | Values | Description |
|---|---|---|
| type | close | Batch message type. |
| userField | User field of the batch message. | |
| enterpriseID | Enterprise identifier of the batch. | |
| ebankID | Bank identifier of the batch. | |
| branchID | Branch identifier of the batch. | |
| batchID | Batch identifier of the batch. | |
| businessDate | Business date of the batch. | |
| sourceType | Source type of the batch. | |
| closeDateTime | The close time of the batch in yyyy-mm-ddThh:mm:ss format. T starts the time area. | |
| debitCount | Total number of debit items within the batch. | |
| debitTotal | Total number of debit items within the batch. | |
| creditCount | Total number of credit items within the batch. | |
| creditTotal | Total number of credit items within the batch. | |
| cashInCount | Total number of cash-in items within the batch. | |
| cashInTotal | Total number of cash-in items within the batch. | |
| cashOutCount | Total number of cash-out item within the batch. | |
| cashOutTotal | Total number of cash-out items within the batch. | |
| totalCount | Total number of items within the batch. | |
| originalRecordData | The original record data of the close batch message. The format attribute is IR. |
The following is an XML sample for a close batch message:
<cap:batchRecord type="close" xmlns:cap="http://www.ibm.com/PayDirCapture"
xmlns:xsi="http://www.w3.org/2001/xmlSchema-instance">
<userField>sample batch user data</userField>
<enterpriseID>enterprise0</enterpriseID>
<bankID>bank0</bankID>
<branchID>branch0</branchID>
<batchID>batch0</batchID>
<businessDate>2004-11-10</businessDate>
<sourceType>teller</sourceType>
<closeDateTime>2008-10-24T08:32:03</closeDateTime>
<debitCount>4</debitCount>
<debitTotal>5400000</debitTotal>
<cashInCount>0</cashInCount>
<cashInTotal>0</cashInTotal>
<cashOutCount>2</cashOutCount>
<cashOutTotal>2678600</cashOutTotal>
<creditCount>1</creditCount>
<creditTotal>453200</creditTotal>
<originalRecordData format="IR">
Test Original Record Data
</originalRecordData>
</cap:batchRecord>
Note:
- Messages saved in the ‘notificationMsgPath’/rcap folder are cleaned by running end of day.
- Remote capture items with the usage field set to E are not counted in the transaction and batch counts and totals.
- Remote capture items with Type field set to credit and usage field set to 9 (debit) are treated as a debit item.
- Messages are written into the capture file in sequence, based on their sequence number in the batch.