ISO 8583 Processing Code Overview
ISO 8583 Processing Code Overview
ISO8583 Manual
ISO 8583 Messaging
Message Structure:
The value of the bits determines when the data is present in the message:
- If a bit is 0 So the field associated with that bit is not present.
- If a bit is 1 Then the field associated with that bit is included in the message.
Data field number 1 does not exist, the first bit of the primary Bit Map is used to indicate the
presence of the secondary Bit Map.
The length of the PAN is specified in the first two Bytes and can be from 1 to 19.
Subfield Position Description Attribute
1 01~02 Cant. of Data in LL
2 03~LL PAN a
Note: the message from 0800 of Network management must contain PAN BIN (Bank Institution
Number) for sign-on/off.
Note: If there are no data in field 6, the values to be considered are taken from field 4.
Where:
MM is the month: 1 <= MM <= 12
DD is the day: 1 <= DD <= 31
hh is the time: 0 <= hh <= 23
it is the minutes: 0 <= mm >= 59
these are the seconds: 0 <= ss >= 59
The first digit on the left determines the number of positions that the decimal separator must
be moved from the right.
6 9 9 7 2 5 2 3
Displacement
Exchange: 9.9972523
The first digit on the left determines the number of positions the decimal separator must be.
be moved from the right. Like field 9.
11 System Trace Audit Number n 6 Bytes
The STAN is a number that uniquely identifies the message. The value of the Trace
remains unchanged in all messages during the life of the transaction.
The STAN is generated by the originator of the message.
Value
E-Commerce 5900
Codigo Definición
00 Normal Transaction of this type
01 The client is not present
02 Terminal without attention e.g. ATM
03 Trade or suspicious card
05 Client Present, card absent
08 Mail Order / Telephone Order
10 Customer Identity Verified
51 Account verification request without authorization
55 Request for telecode authorization
For the case of Extracts that require more than one response message (MTI 0210), we
proceed as follows:
The initial value 001 is sent in the Additional Response Data.
The terminal will respond with a Financial Authorization Request message (MTI 0200) with the
the same value in field 44. If there is additional data, another MTI 0210 will be generated with the value
002 and so on. In case there are no more data, the value will be 000.
Servicios:
For services, this field contains the messages to be displayed on the Ticket in case of
that the transaction be approved
SERVICIOS:
For service transaction cases (Proc. Code = 900000), this field contains:
Service Data, Payment Type and Payment Type Data
[Link] Data a 80
Service Data is the transaction data of the service Whatever its origin,
entered, by magnetic stripe reading or by barcode reader reading, etc.
Note: The first four digits determine the Identifier of the Provider or billing entity. In the case
from the mobile phones, the phone number (09X1nnnnnn) will appear followed by spaces in
white
The possible values for account type are in Annex III f).
The value 00 in the Account Type subfield determines the balance of an unspecified account.
If the transaction is local, the positions from 004 to 021 contain the current balance and
Positions 022~039 the Available balance.
Positions 040~057 the Additional Balance 1.
The positions 058~075 the Additional balance 2.
Positions 076~093 the Additional balance 3.
Positions 094~111 the Additional balance 4.
Value Meaning
1 New Registration
2 Change Registration
3 Borrar Registro
5 Reading
8 Delete Record
Note: In cases of reversals for cash withdrawals at ATMs, certain situations may arise.
special situations, for the following reason:
At the initial request (0200), the issuing entity approved the transaction;
The ATM, when attempting to dispense the requested amount approved by the entity, detects a non-
availability of sufficient tickets for it, and proceeds to deliver up to what is available, this
The value of what is dispensed is the value that will be presented in the first subfield of field 95 Actual.
Transaction Amount
Reverse or refund the original order and make the new debit for the amount.
corresponding, which appears in the first subfield of field 95
b). Credit the customer's account with the amount of the difference between what was authorized in the
original message 0210 and what is actually dispensed by the cashier that appears in the subfield
Actual Transaction Amount (field 95 of message 0420)
It is a field where the name of the operator of the Authorization Center is reported.
enabled to perform card blockages from our computer. It cannot be omitted in
the cases of blockages.
Annex I
Processing Code Operation Code Field 3 (6 Bytes)
Annex II
Response Code Field 39 (2 Bytes)
Code Description of the return code
00 Transaction accepted
01 Call the issuing entity
02 Contact the card issuer
03 Invalid trade
04 Capture the card
05 Do not accept the card
06 Error
07 Capture the card - Possible fraud
08 Accepted with identification
11 Approved VIP Client
12 Invalid transaction
13 Invalid amount
14 Card number does not exist
15 Issuer number or Bin does not exist
19 Retry the transaction
25 Record not in the file (not processed)
28 File temporarily unavailable
30 Message with format error
39 Nonexistent Credit Account
40 Request to unsupported function
41 Hold Card - The card is lost
43 Retain Card - The card is stolen
51 Insufficient funds
52 Non-Existent Current Account
53 Nonexistent Savings Box
54 The card is expired
55 The PIN is incorrect or has not been entered.
57 Unauthorized transaction
58 Transaction not allowed on this device
61 Cash Advance is exceeded
62 Restricted card is invalid in this region/Incorrect data
63 Security breach
65 Exceeds the maximum extraction frequency limit
75 Maximum PIN entry exceeded
76 Previous message not found
77 Invalid repeated message
78 The specified account does not exist
79 Transaction previously reversed
80 Invalid Date
81 Cryptographic Error in the Pin
84 Time limit exceeded
85 There is no reason to deny the transaction
86 PIN or the CVV cannot be verified
87 Finalized totals for this trading day
88 The Switch cannot provide totals now.
89 Cannot receive the financial position
91 The transmitter is not operating
92 The transaction cannot be routed
93 The transaction cannot be completed
94 Duplicate transmission detected
96 The system is not functioning correctly.
N0 Stand-In Error
C:\Users\DEVELOPMENT\AppData\Roaming\Skype\My Skype Received Files\Manual [Link] Page 19
ISO 8583 Message
Annex III
a) Network International Identification Field 24
Network Identification Descripción
010 Authorization Center
020 Terminal Pos
030 Terminal ATM
040 Cash Registers/Bank Cashiers
050 E-Commerce/Authorization Orders
060 Telephone Banking
070 Exterior Switch
Annex IV
Message Format
I. Financial Messages
MESSAGE 200
NRO. DESCRIPTION OF THE ISO TYPE FORMAT Size
ISO (Bytes)
MTI a 4
PRIMARY BITMAP a 8
SECONDARY BITMAP a 8
2 PAN a LLVAR (2+19) 21
3 PROCESSING CODE n 6
4 AMOUNT TRANSACTION n 12
5 AMOUNT SETTLEMENT n 12
6 AMOUNT CARDHOLDER BILLING n 12
7 TRANSMISSION DATE AND TIME n MMDDhhmmss 10
9 CONVERSION RATE, SETTLEMENT a 8
10 CONVERSION RATE CARDHOLDER BILLING a 8
11 SYSTEM TRACE AUDIT n 6
12 LOCAL TRANSACTION TIME n hhmmss 6
13 DATE EFFECTIVE, LOCAL TRANSACTION n MMDD 4
14 DATE, EXPIRATION n YYMM 4
15 DATE, SETTLEMENT n MMDD 4
16 DATE, CONVERSION n MMDD 4
18 MERCHANT TYPE n 4
19 ACQUIRING INSTITUTION COUNTRY CODE n 3
22 POS ENTRY MODE n 4
24 NETWORK INTERNATIONAL IDENTIFICATION n 3
25 POS CONDITION CODE n 4
26 PIN DATA LENGTH n 2
32 ACQUIRER INSTITUTION CODE a LLVAR (2+11) 13
33 FORWARDING INSTITUTION CODE a LLVAR (2+11) 13
35 TRACK 2 DATA a LLVAR (2+37) 39
37 RETRIEVAL REFERENCE NUMBER n 12
41 CARD ACCEPTOR TERMINAL ID a 8
42 CARD ACCEPTOR ID CODE n 15
43 CARD ACCEPTOR NAME a 40
44 ADDITIONAL RESPONSE DATA a LLVAR(2+99) 101
45 TRACK 1 a LLVAR (2+76) 78
48 ADDITIONAL DATA a LLLVAR(3+255) 258
49 CURRENCY CODE TRANSACTION n 3
50 CURRENCY CODE SETTLEMENT n 3
51 CURRENCY CODE CARDHOLDER BILLING n 3
52 PIN DATA a EMPAQ. HEXA 8
61 POS DATA(MST) FOR NATIONAL USE (ISO) a LLVAR (2+26) 28
102 ACCOUNT 1 a 28
103 ACCOUNT 2 a 28
Maximum possible length of the message (Bytes) 835
MENSAJE 210
NRO. DESCRIPTION OF THE ISO TYPE FORMAT Size
ISO Bytes
MTI a 4
0 PRIMARY BITMAP a 8
1 SECONDARY BITMAP a 8
2 PAN n LLVAR (2+19) 21
3 PROCESSING CODE n 6
4 AMOUNT TRANSACTION n 12
5 AMOUNT SETTLEMENT n 12
6 CARDHOLDER BILLING AMOUNT n 12
7 TRANSMISSION DATE AND TIME n MMDDhhmmss 10
9 CONVERSION RATE, SETTLEMENT a 8
10 CONVERSION RATE CARDHOLDER BILLING a 8
11 SYSTEM TRACE AUDIT n 6
12 LOCAL TIME TRANSACTION n hhmmss 6
13 DATE EFFECTIVE, LOCAL TRANSACTION n MMDD 4
14 DATE, EXPIRATION n YYMM 4
15 DATE, SETTLEMENT n MMDD 4
16 DATE, CONVERSION n MMDD 4
18 MERCHANT TYPE n 4
19 ACQUIRING INSTITUTION COUNTRY CODE n 3
22 POS ENTRY MODE n 4
24 NETWORK INTERNATIONAL IDENTIFIER n 3
26 PIN DATA LENGTH n 2
32 ACQUIRER INSTITUTION CODE n LLVAR (2+11) 13
33 FORWARDING INSTITUTION CODE n LLVAR (2+11) 13
35 TRACK 2 DATA a LLVAR (2+37) 39
37 RETRIEVAL REFERENCE NUMBER n 12
38 APPROVAL CODE a 6
39 ACTION CODE a 2
41 CARD ACCEPTOR TERMINAL ID a 8
42 CARD ACCEPTOR ID CODE n 15
43 CARD ACCEPTOR NAME a 40
44 ADDITIONAL RESPONSE DATA a LLVAR (2+99) 101
45 TRACK 1 a LLVAR (2+76) 78
47 ADDITIONAL DATA (Extracts - Payments) a LLLVAR (3+980) 983
48 ADDITIONAL DATA a LLLVAR(3+255) 258
49 CURRENCY CODE TRANSACTION n 3
50 CURRENCY CODE SETTLEMENT n 3
51 CURRENCY CODE CARDHOLDER BILLING n 3
52 PIN DATA a EMPAQ. HEXA 8
54 ADDITIONAL AMOUNTS a LLLVAR (3+108) 111
61 POS DATA(MST) FOR NATIONAL USE (ISO) a LLVAR (2+26) 28
102 ACCOUNT 1 n 28
103 ACCOUNT 2 n 28
126 VECTOR SELECTION ACCOUNT OAR a LLLVAR(3+280) 283
Maximum possible message length (Bytes) 2216
MENSAJE 420
NRO. DESCRIPTION OF THE ISO TYPE FORMAT Size
ISO (Bytes)
MTI a 4
PRIMARY BITMAP a 8
SECONDARY BITMAP a 8
2 PAN n LLVAR (2+19) 21
3 PROCESSING CODE n 6
4 AMOUNT TRANSACTION n 12
5 AMOUNT SETTLEMENT n 12
6 AMOUNT CARDHOLDER BILLING n 12
7 TRANSMISSION DATE AND TIME n MMDDhhmmss 10
9 CONVERSION RATE, SETTLEMENT a 8
10 CONVERSION RATE CARDHOLDER BILLING a 8
11 SYSTEM TRACE AUDIT n 6
12 TIME LOCAL TRANSACTION n hhmmss 6
13 DATE EFFECTIVE, LOCAL TRANSACTION n MMDD 4
14 DATE, EXPIRATION n YYMM 4
15 DATE, SETTLEMENT n MMDD 4
16 DATE, CONVERSION n MMDD 4
18 MERCHANT TYPE n 4
19 ACQUIRING INSTITUTION COUNTRY CODE n 3
22 POS ENTRY MODE n 4
24 NETWORK INTERNATIONAL IDENTIFIER n 3
32 ACQUIRER INSTITUTION CODE n LLVAR (2+11) 13
33 FORWARDING INSTITUTION CODE n LLVAR (2+11) 13
35 TRACK 2 DATA a LLVAR (2+37) 39
37 RETRIEVAL REFERENCE NUMBER n 12
38 APPROVAL CODE a 6
39 ACTION CODE a 2
41 CARD ACCEPTOR TERMINAL ID a 8
42 CARD ACCEPTOR ID CODE n 15
43 CARD ACCEPTOR NAME a 40
45 TRACK 1 a LLVAR (2+76) 78
48 ADDITIONAL DATA a LLLVAR(3+255) 258
49 CURRENCY CODE TRANSACTION n 3
50 CURRENCY CODE SETTLEMENT n 3
51 CURRENCY CODE CARDHOLDER BILLING n 3
61 POS DATA a LLVAR (2+26) 28
90 ORIGINAL DATA ELEMENTS a 42
95 REPLACEMENT AMOUNTS n 36
102 ACCOUNT 1 n 28
103 ACCOUNT 2 n 28
Maximum possible length of the message (Bytes) 806
MENSAJE 430
NRO. DESCRIPTION OF THE ISO TYPE FORMAT Size
ISO (Bytes)
MTI a 4
PRIMARY BITMAP a 8
SECONDARY BITMAP a 8
2 PAN n LLVAR (2+19) 21
3 PROCESSING CODE n 6
4 AMOUNT TRANSACTION n 12
5 AMOUNT SETTLEMENT n 12
6 AMOUNT CARDHOLDER BILLING n 12
7 TRANSMISSION DATE AND TIME n MMDDhhmmss 10
9 CONVERSION RATE, SETTLEMENT a 8
10 CONVERSION RATE CARDHOLDER BILLING a 8
11 SYSTEM TRACE AUDIT n 6
12 LOCAL TRANSACTION TIME n hhmmss 6
13 DATE EFFECTIVE, LOCAL TRANSACTION n MMDD 4
14 DATE, EXPIRATION n YYMM 4
15 DATE, SETTLEMENT n MMDD 4
16 DATE, CONVERSION n MMDD 4
18 MERCHANT TYPE n 4
19 ACQUIRING INSTITUTION COUNTRY CODE n 3
22 POS ENTRY MODE n 4
24 NETWORK INTERNATIONAL IDENTIFIER n 3
32 ACQUIRER INSTITUTION CODE n LLVAR (2+11) 13
33 FORWARDING INSTITUTION CODE n LLVAR (2+11) 13
35 TRACK 2 DATA a LLVAR (2+37) 39
37 RETRIEVAL REFERENCE NUMBER n 12
38 APPROVAL CODE a 6
39 ACTION CODE a 2
41 CARD ACCEPTOR TERMINAL ID a 8
42 CARD ACCEPTOR ID CODE a 15
43 CARD ACCEPTOR NAME a 40
45 TRACK 1 a LLVAR (2+76) 78
48 ADDITIONAL DATA a LLLVAR(3+255) 258
49 CURRENCY CODE TRANSACTION n 3
50 CURRENCY CODE SETTLEMENT n 3
51 CURRENCY CODE CARDHOLDER BILLING n 3
61 POS DATA a LLVAR (2+26) 28
90 ORIGINAL DATA ELEMENTS a 42
95 REPLACEMENT AMOUNTS n 36
102 ACCOUNT 1 n 28
103 ACCOUNT 2 n 28
Maximum possible message length (Bytes) 806
MENSAJE 300
NRO. DESCRIPTION OF THE ISO TYPE FORMAT Size
ISO (Bytes)
MTI a 4
PRIMARY BITMAP a 8
SECONDARY BITMAP a 8
2 PAN n LLVAR (2+19) 21
7 TRANSMISSION DATE AND TIME n MMDDHHMMSS 10
11 SYSTEM TRACE AUDIT n 6
14 DATE, EXPIRATION n YYMM 4
18 MERCHANT TYPE n 4
22 POS ENTRY MODE n 4
24 NETWORK INTERNATIONAL IDENTIFICATION n 3
25 POS CONDITION CODE n 4
26 PIN DATA LENGTH n 2
32 ACQUIRER INSTITUTION CODE a LLVAR (2+11) 13
33 FORWARDING INSTITUTION CODE a LLVAR (2+11) 13
35 TRACK 2 DATA a LLVAR (2+37) 39
37 RETRIEVAL REFERENCE NUMBER n 12
41 CARD ACCEPTOR TERMINAL ID a 8
42 CARD ACCEPTOR ID CODE n 15
43 CARD ACCEPTOR NAME a 40
TRACK 1 a LLVAR (2+76) 78
48 ADDITIONAL DATA a LLLVAR(3+255) 258
52 PIN DATA a EMPAQ. HEXA 8
91 FILE UPDATE CODE n 1
102 ACCOUNT 1 n 28
103 ACCOUNT 2 n 28
127 PRIVATE DATA 122
Maximum possible message length (Bytes) 741
MESSAGE 310
MESSAGE 302
MENSAJE 312
MESSAGE 800
MENSAJE 810
MESSAGE 802
NRO. DESCRIPTION OF THE ISO TYPE FORMAT Size
ISO Bytes
MTI a 4
PRIMARY BITMAP a 8
SECONDARY BITMAP a 8
2 PAN a LLVAR (2+19) 21
7 TRANSMISSION DATE AND TIME n MMDDhhmmss 10
11 SYSTEM TRACE AUDIT n 6
12 TIME LOCAL TRANSACTION n hhmmss 6
13 DATE EFFECTIVE, LOCAL TRANSACTION n MMDD 4
14 DATE, EXPIRATION n YYMM 4
22 POS ENTRY MODE n 4
24 NETWORK INTERNATIONAL IDENTIFICATION n 3
25 POS CONDITION CODE n 4
26 PIN DATA LENGTH n 2
32 ACQUIRER INSTITUTION CODE a LLVAR (2+11) 13
33 FORWARDING INSTITUTION CODE a LLVAR (2+11) 13
35 TRACK 2 DATA a LLVAR (2+37) 39
37 RETRIEVAL REFERENCE NUMBER n 12
41 CARD ACCEPTOR TERMINAL ID a 8
42 CARD ACCEPTOR ID CODE n 15
44 ADDITIONAL RESPONSE DATA a LLVAR(2+99) 101
45 TRACK 1 a LLVAR (2+76) 78
48 ADDITIONAL DATA a LLLVAR(3+255) 258
52 PIN DATA a EMPAQ. HEXA 8
61 POS DATA(MST) FOR NATIONAL USE (ISO) a LLVAR (2+26) 28
70 NETWORK MANAGEMENT INFORMATION CODE n 3
96 MESSAGE SECURITY CODE a 32
Maximum possible length of the message (Bytes) 692
MESSAGE 812
NRO. DESCRIPTION OF THE ISO TYPE FORMAT Size
ISO (Bytes)
MTI a 4
PRIMARY BITMAP a 8
Secondary Bitmap a 8
2 PAN a LLVAR (2+19) 21
7 TRANSMISSION DATE AND TIME n MMDDhhmmss 10
11 SYSTEM TRACE AUDIT n 6
12 TIME LOCAL TRANSACTION n hhmmss 6
13 DATE EFFECTIVE, LOCAL TRANSACTION n MMDD 4
14 DATE, EXPIRATION n YYMM 4
22 POS ENTRY MODE n 4
24 NETWORK INTERNATIONAL IDENTIFICATION n 3
32 ACQUIRER INSTITUTION CODE a LLVAR (2+11) 13
33 FORWARDING INSTITUTION CODE a LLVAR (2+11) 13
37 RETRIEVAL REFERENCE NUMBER n 12
38 APPROVAL CODE a 6
39 ACTION CODE a 2
41 CARD ACCEPTOR TERMINAL ID a 8
42 CARD ACCEPTOR ID CODE a 15
44 ADDITIONAL RESPONSE DATA a LLVAR(2+99) 101
48 ADDITIONAL DATA a LLLVAR(3+255) 258
70 NETWORK MANAGEMENT INFORMATION CODE n 3
Maximum possible length of the message (Bytes) 509