The Batch Result File Record Layout


The Batch Result File Record Layout

The Batch Result File consists of three sections namely :-

  • Header
  • Transaction records
  • Trailer

Header Record

 

DESCRIPTION

 

NOTES

 

FORMAT

 

VALUE

Record Type

 

N*2

"90"

Version

 

N*3

"001"

Bank Code

Identifier for the bank at which the Card Acceptor ID is valid

N*2

"NN"

Merchant Card Acceptor ID

The Card Acceptor ID used to process the batch with

N*10

"NNNNNNNNNN"

Date when file was created

 

N*8

"YYYYMMDD"


Credit Card Transaction Record

 

DESCRIPTION

 

NOTES

 

FORMAT

 

VALUE

Record Type

 

N*2

"91"

Version

 

N*3

"001"

Merchant Terminal Number

Used to group transactions together

A*8

"AAAAAAAA"

Merchant Reference

Unique identifier for this invoice or credit note

A*32

"AAA…AAA"

Transaction Code

See Appendix B

N*2

"NN"

Transaction Status

Refer to Appendix B

N*5

"NNNNN"

Acquirer Date

Actual Date of the transaction

N*8

"YYYYMMDD"

Acquirer Time

Actual Time of the transaction

N*4

"HHMM"

Amount

Value is in cents

N*10

"NNNNNNNNNN"

CCNumber

The credit card number is passed back in mangled form e.g "00004922…………1333"

N*20

"NNNN.....NN"

Authorisation Code

Authorisation code allocated to this transaction

N*6

"NNNNNN"

Cycle Number

Along with the Trace Number this forms a unique identifier for this transaction

N*6

"NNNNNN"

Trace Number

Along with the Cycle Number this forms a unique identifier for this transaction

N*6

"NNNNNN"

Reconciliation Status

The Reconciliation Status for this transaction as per Appendix B - Reconciliation Status

N*5

"NNNNN"


Trailer Record

 

DESCRIPTION

 

NOTES

 

FORMAT

 

VALUE

Record Type

 

N*2

"99"

Version

 

N*3

"001"

Total number of transactions

 

N*6

"NNNNNN"

Total Amount

The simple sum of all the amounts without regard to whether it is a sale or a refund etc

N*10

"NNNNNNNNNN"