@schie/epc - v0.1.0
    Preparing search index...

    Type Alias UpcToSgtin96Input

    Input for converting a UPC-A into an SGTIN-96 EPC.

    const input: UpcToSgtin96Input = {
    upc: '036000291452',
    companyPrefixLength: 6,
    serial: 123,
    indicatorDigit: 1,
    };
    input.upc;
    // => '036000291452'
    type UpcToSgtin96Input = {
        companyPrefixLength: number;
        filter?: number;
        indicatorDigit?: number;
        partition?: number;
        serial: string | number | bigint;
        upc: string;
    }
    Index

    Properties

    companyPrefixLength: number

    Length of the company prefix portion.

    filter?: number

    Filter value used in tag encoding.

    indicatorDigit?: number

    Indicator digit used to form the GTIN.

    partition?: number

    Partition value used in tag encoding.

    serial: string | number | bigint

    Serial number for the individual item.

    upc: string

    12-digit UPC-A code.