TerminalFormat: nLength: 2
9F1A

Terminal Country Code

Tag ID
9F1A
Format
n
Length (bytes)
2
Source
Terminal

What it is

Terminal Country Code identifies the country where the terminal operates, as a 3-digit ISO 3166-1 numeric code in 2 BCD bytes. It is compared with the issuer country (5F28) to classify domestic vs international transactions for usage-control checks, and it is a cryptogram input.

Where it appears

Terminal configuration value; supplied to the card via the PDOL/CDOL.

How tag 9F1A is encoded

EMV data objects are BER-TLV: tag, then length, then value. 9F1A is a 2-byte, context-specific class, primitive tag (tag number 26), 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.
1A00011010Bit 8 = 0: last tag byte. Bits 7–1 = 26.

Length

The value is always 2 bytes, so the length field is 02. A complete 9F1A object starts 9F 1A 02 and is 5 bytes long in all.

Value format n

Format n is numeric: BCD, two digits per byte, right-aligned and padded with leading zeros. 2 bytes hold 4 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, 9F1A appears as 9F 1A 02: 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

0840United States (840)
0826United Kingdom (826)