All Functions

gsrn - Global Service Relation Number

The Global Service Relation Number (GSRN) is the GS1 Identification Key used to identify the service provider and/or service recipient in any service relationship. The GSRN itself has no meaning and this allows the coupon to be looked-up in a database and its associated information retrieved at any point or location.

Source: http://www.gs1.org/barcodes/technical/idkeys/gsrnp

This method generates random Global Service Relation Numbers.

Usage(s)

gsrn ( ) Returns a random but valid GSRN number
gsrn ( $prefill ) Returns a random GSRN number with a prefix $prefill

Parameter(s)

$prefill The optional parameter to indicate a specific range

Example(s)

Global Service Relation Number example

gsrn() x 10
817019610850151481
411369833821910265
317575025980776095
000915068507283886
652594622939021342
684405486853646719
776537067848762609
325681570474019172
286470726766238497
487274447893556870

See also

sscc - Serial Shipping Container Code gdti - Global Document Type Identifier gsin - Global Shipment Identification Number