All Functions

gsin - Global Shipment Identification Number

The GSIN is the GS1 Identification Key used to identify a grouping of logistics units that comprise a shipment from one consignor to one consignee (buyer) referencing a despatch advice and/or BOL. The GS1 Identification Key is comprised of a GS1 Company Prefix, Shipper Reference and Check Digit using the Application Identifier.


The GSIN function produces random and artificial valid GSINs.


gsin ( $prefill ) Returns a random GSIN number with a prefix $prefill
gsin ( ) Returns a random but valid GSIN number


$prefill The optional parameter to indicate a specific range


Global Shipment Identification Number example

gsin() // returns: 211734926617120750
gsin(1337) // returns: 133734349473227060

See also

gsrn - Global Service Relation Number gdti - Global Document Type Identifier