TerminalFormat: nLength: 6
9F02

Amount, Authorised (Numeric)

Tag ID
9F02
Format
n
Length (bytes)
6
Source
Terminal

What it is

Amount, Authorised (Numeric) is the transaction amount in minor units, 6 BCD bytes (12 digits), right-justified with leading zeros. Interpret it with the transaction currency (5F2A) and its exponent. It is compared against terminal floor limits and is a primary cryptogram input.

Where it appears

Set by the terminal; supplied to the card through the PDOL/CDOL.

How tag 9F02 is encoded

EMV data objects are BER-TLV: tag, then length, then value. 9F02 is a 2-byte, context-specific class, primitive tag (tag number 2), so its value is plain data rather than nested TLV objects.

9F10011111Bits 8–7 = 10: context-specific class. Bit 6 = 0: primitive. Bits 5–1 all set: the tag number continues in the next byte.
0200000010Bit 8 = 0: last tag byte. Bits 7–1 = 2.

Length

The value is always 6 bytes, so the length field is 06. A complete 9F02 object starts 9F 02 06 and is 9 bytes long in all.

Value format n

Format n is numeric: BCD, two digits per byte, right-aligned and padded with leading zeros. 6 bytes hold 12 digits.

Who supplies it

The terminal supplies this value. A card that needs it lists the tag in a data object list (PDOL, CDOL1, CDOL2 or DDOL), and the terminal places the value, at the length the card asked for, in the matching command. In a DOL, 9F02 appears as 9F 02 06: the tag followed by the length the card wants.

Specification reference

Defined in: EMV 4.x Book 3 (Application Specification), Annex A — Data Element Dictionary

Example values

00000000100010.00 in a 2-exponent currency
000000012345123.45