ISO 8583 Parser
online lookup

ISO 8583 MTI Decoder

The MTI is the first thing you read on any message. Type four digits and it gets pulled apart below.

0
Digit 1 · Version
ISO 8583:1987
4
Digit 2 · Message class
Reversal / chargeback
2
Digit 3 · Function
Advice
0
Digit 4 · Origin
Acquirer
MTIMeaningNotes
0100Authorization requestReal-time authorization; holds funds, does not clear
0110Authorization responseCarries the DE39 verdict
0120Authorization adviceA fait accompli; the issuer must accept it
0130Authorization advice response
0200Financial requestAuthorization and capture in one step
0210Financial response
0220Financial adviceOffline or stand-in transactions sent afterwards
0230Financial advice response
0320Batch upload advice
0400Reversal requestUndo the original and wait for an answer
0410Reversal responseIn practice this is almost always 00
0420Reversal adviceAlready reversed here; the other side must follow
0430Reversal advice response
0500Reconciliation request
0510Reconciliation response
0520Reconciliation advice
0800Network management requestSign-on, sign-off, echo test, key exchange
0810Network management response
0820Network management advice

What each digit means

An MTI is four digits and each one carries its own meaning — together they are the message's identity. Digit 1 is the standard version, digit 2 the message class (authorization, financial, reversal, network management…), digit 3 the function (request, response, advice), and digit 4 the originator plus whether this is a repeat.

Digit 3: request versus advice

This digit decides whether the other side is allowed to say no. Function 0 is a request — "I would like to do this, do you agree?" — and can be declined. Function 2 is an advice — "I have already done this, you must follow" — and can only be acknowledged.

So 0400 and 0420 are not synonyms: one asks to reverse, the other announces a reversal that already happened. Getting this wrong means sending 0400, being declined, and having no way back because you already voided the transaction locally.

Digit 4: the repeat flag, and the trap in it

Odd values in digit 4 mean repeat: 0400 is the first attempt, 0401 a re-send of that same one. The rule for repeats is that nothing but this digit may change — DE11 (STAN) and DE7 (transmission time) especially must keep their original values. A great many "double charge" incidents trace back to a retry that helpfully generated a fresh STAN, which the receiver reads as two separate transactions.


The first digit is an edition, and both editions are live

Position 1 of the MTI names which edition of ISO 8583 the message is written in: 0 for the 1987 edition, 1 for 1993. It is easy to read that as history and assume the higher number replaced the lower one. It did not.

Both are in production at the same time, inside the same card scheme, for the same transaction. Authorization messages are the 1987 form and begin with 00100, 0110, 0200, 0400. Clearing messages are the 1993 form and begin with 1, such as 1240 for a first presentment. So one purchase produces a 0100 on the authorization leg and a 1240 in the clearing file, and those two are not different transactions.

The reason to care is that the two editions do not share a field dictionary. The same data element number can hold different content, and content can move between numbers — the merchant category code sits in DE18 in authorization and DE26 in clearing, for instance. A parser configured for one edition will decode the other without complaining and give you plausible nonsense. The crosswalk is in authorization versus clearing.

Working with a real message? This tool and 13 others also come as self-contained HTML files that run from your disk — no install, no network. For when the rule is that production data never touches a website. Offline edition, US$39 one-time.