TerminalFormat: bLength: 5
9F40

Additional Terminal Capabilities

Tag ID
9F40
Format
b
Length (bytes)
5
Source
Terminal

What it is

Additional Terminal Capabilities is a 5-byte bitmap detailing the transaction types the terminal handles (bytes 1–2; byte 2 = cash deposit), its data-input capability (byte 3) and its data-output and code-table support (bytes 4–5). It supplements Terminal Capabilities (9F33) for the acquirer and issuer.

Where it appears

Terminal configuration value; sent to the card and issuer.

How tag 9F40 is encoded

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

Length

The value is always 5 bytes, so the length field is 05. A complete 9F40 object starts 9F 40 05 and is 8 bytes long in all.

Value format b

Format b is binary: the bits mean what this tag defines, with no padding or character conversion.

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, 9F40 appears as 9F 40 05: the tag followed by the length the card wants.

Specification reference

Defined in: EMV 4.x Book 4 (Cardholder, Attendant & Acquirer Interface), Annex A

Bit-level definitions below follow: EMV 4.4 Book 4, Annex A3, Tables 28–32 — Additional Terminal Capabilities (5 bytes)

Bit & value breakdown

EMV 4.4 Book 4, Annex A3, Tables 28–32 — Additional Terminal Capabilities (5 bytes)
Byte 1 — Transaction Type Capability
b8 = 0x80Cash
b7 = 0x40Goods
b6 = 0x20Services
b5 = 0x10Cashback
b4 = 0x08Inquiry
b3 = 0x04Transfer
b2 = 0x02Payment
b1 = 0x01Administrative
Byte 2 — Transaction Type Capability
b8 = 0x80Cash deposit
b7–b1RFUReserved for Future UseBits or bytes with no current meaning, reserved by the spec; they must be set to zero. — must be 0
Byte 3 — Terminal Data Input Capability
b8 = 0x80Numeric keys
b7 = 0x40Alphabetic and special characters keys
b6 = 0x20Command keys
b5 = 0x10Function keys
b4–b1RFUReserved for Future UseBits or bytes with no current meaning, reserved by the spec; they must be set to zero. — must be 0
Byte 4 — Terminal Data Output Capability
b8 = 0x80Print or electronic, attendant
b7 = 0x40Print or electronic, cardholder
b6 = 0x20Display, attendant
b5 = 0x10Display, cardholder
b4–b3RFUReserved for Future UseBits or bytes with no current meaning, reserved by the spec; they must be set to zero. — must be 0
b2 = 0x02Code table 10
b1 = 0x01Code table 9
Byte 5 — Terminal Data Output Capability (code tables)
b8 = 0x80Code table 8
b7 = 0x40Code table 7
b6 = 0x20Code table 6
b5 = 0x10Code table 5
b4 = 0x08Code table 4
b3 = 0x04Code table 3
b2 = 0x02Code table 2
b1 = 0x01Code table 1

Example values

F000F0A001Cash, goods, services and cashback; numeric, alphabetic, command and function keys; attendant print and display; code table 1