Glossary

CPI-var

Component/Part Identifier (variable length)

urn:epc:id:cpi
Header: 0x3D96 bits

What is CPI-var?

Variable-length CPI encoding with a 6-bit encoded alphanumeric component part reference (null-terminated) followed by a numeric serial.

Used for: Components requiring alphanumeric part references.

Field layout

The first 8 bits are always the header (0x3D = 61 decimal), which identifies this as CPI-var. The partition field determines how bits are divided between the company prefix and the following reference field - see the partition table below.

Defined in GS1 EPC Tag Data Standard v2.3, Section 7.11 (Component and Part Identifier), encoding procedure in Section 14.6.9.2.

BitsFieldDescription
0–7Header0x3D (61) - identifies this encoding as CPI-var
8–10FilterSame as CPI-96.
11–13PartitionSame partition table as CPI-96.
14–53Company PrefixGS1 Company Prefix of the part manufacturer.
54–59Component Part Reference6-bit encoded, null-terminated. Supports alphanumeric part numbers.
60–95Serial36-bit numeric serial.

Filter values

The 3-bit filter field does not affect identity - it tells readers what packaging level or category the tag is applied to. The same item with different filter values has the same Pure Identity URI.

Source: GS1 EPC TDS v2.3, Table 10-8.

ValueNameDescription
0All othersUnspecified component or part
1ReservedNot yet assigned
2ReservedNot yet assigned
3ReservedNot yet assigned
4ReservedNot yet assigned
5ReservedNot yet assigned
6ReservedNot yet assigned
7ReservedNot yet assigned

Partition table

The 3-bit partition value determines how the fixed bit space is divided between the company prefix and the following reference field. GS1 company prefixes vary in length (6–12 digits), so the partition tells the decoder where one field ends and the next begins.

Source: GS1 EPC TDS v2.3, Table 14-34.

PartitionPrefix bitsPrefix digitsRef bitsRef digits
04012113
13711144
23410175
3309216
4278247
5247278
6206319

Related schemes

Source

GS1 EPC Tag Data Standard, Release 2.3, Ratified October 2025 - see Section 7.11 (Component and Part Identifier) and Section 14.6.9.2 for the encoding procedure. Read the EPC encoding guide for a full worked example of decoding hex to URI.