PC Batch 4.5 (or later) – credit card output format

 

Field

Length

Start

End

Contents

Record status

1

1

1

0

Input method

1

2

2

0

Authorization only

1

3

3

0

Merchant type

1

4

4

7

Filler

1

5

5

NULL

Transaction code

1

6

6

1

Transaction type

1

7

7

0

Card type

2

8

9

01 VISA

 

 

 

 

02 MC

 

 

 

 

04 AMEX

 

 

 

 

05 Discover

Field separator/filler

5

10

14

NULL

Processing code

6

15

20

NULL

Field separator/filler

6

21

26

NULL

Card number/FS

25

27

51

Credit card number

Expiration date/FS

7

52

58

Expiration (MMYY)

Customer name/FS

27

59

85

NULL

Filler/FS

18

86

103

NULL

Amount/FS

9

104

112

Amount in cents

Filler

9

113

121

NULL

State/FS

3

122

124

NULL

Item number/FS

5

125

129

NULL

Batch number/FS

5

130

134

NULL

Filler

11

135

145

NULL

Transaction date, time/FS

13

146

158

NULL

Filler

7

159

165

NULL

Original amount/FS

9

166

174

NULL

Action code/FS

4

175

178

NULL

Authorization code/FS

7

179

185

NULL

Authorization date/FS

7

186

192

NULL

Return code/FS

25

193

217

NULL

AVS street address/FS

21

218

238

NULL

AVS zip code/FS

10

239

248

NULL

AVS response code/FS

2

249

250

NULL

Location ID/FS

4

251

254

NULL

Authorization ID

1

255

255

NULL

Transaction ID/FS

16

256

271

NULL

Validation code/FS

5

272

276

NULL

Authorization source

1

277

277

NULL

Response code/FS

3

278

280

NULL

Filler

6

281

286

NULL

AMEX charge type desc/FS

9

287

295

NULL

Purchase ID/FS

11

296

306

QF order number

Ticket number/FS

7

307

313

NULL

Filler

13

314

326

NULL

Total auth amount/FS

9

327

335

NULL

Filler

7

336

342

NULL

Optional field 1/FS

11

343

353

QF publication code

Optional field 2/FS

11

354

364

NULL

Optional field 3/FS

11

365

375

NULL

Optional field 4/FS

11

376

386

NULL

Optional field 5/FS

11

387

397

NULL

Filler

83

398

480

NULL

System use

32

481

512

NULL

 

See Also