Skip to content

FR - Siret validation issue #535

@hsmett

Description

@hsmett

The SIREN number consists of 9 digits.
This number must pass the Luhn algorithm test.

The SIRET number consists of 14 digits. It begins with the SIREN number, followed by 5 other digits.
The SIRET number must also pass the Luhn algorithm test, with the exception of La Poste (356 000 000 XXXXX), which benefits from a special rule allowing it to have more numbers available.

Right now it seems to me that the SIRET number is not fully validated.

Source:

Les numéros SIREN, NIC et SIRET intègrent le mécanisme de contrôle de parité connu sous le nom de formule (ou clé) de Luhn.
https://xml.insee.fr/schema/siret.html#controles

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions