[Python] How to calculate a checkdigit for a gs1-128 SSCC barcode

Discussão em 'Python' iniciado por Stack, Março 24, 2025.

  1. Stack

    Stack Membro Participativo

    Im looking for a method to calculate checkdigits for SSCC barcodes that are compliant with GS1.org. https://www.gs1.org/services/how-calculate-check-digit-manually

    The SSSCC barcode consists of 2 parts. GTIN nr for example: 1234567 Indentifier : 123456789

    I can't find any library that calculates the check digit so far. for example

    GTIN = '1234567'
    Identifier = '123456789'
    raw_sscc = GTIN + Identifier
    SSCC_code = ADD_CHECKDIGIT_SSCC(raw_sscc)

    Continue reading...

Compartilhe esta Página