All Functions

gcn - Global Coupon Number

The GCN is the GS1 Identification Key used to identify a coupon. The GCN will identify a coupon uniquely thus ensuring that it is always identified correctly anywhere in the world. Each coupon that is different from another is allocated a separate, unique GCN. The GCN 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. The GCN is normally assigned by the Coupon Issuer using Application Identifier.

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

This function produces random GS1 valid Global Coupon Numbers.

Usage(s)

gcn ( ) Returns a random GCN number
gcn ( $prefill ) Returns a random GCN number with a prefix $prefill

Parameter(s)

$prefill The optional parameter to indicate a specific range

Example(s)

Global Coupon Number example

gcn() x 10
5678409730535
0416987225907
9954593827593
8073597438671
2795421283955
6576661839081
6667771964814
7865678394652
8534721946108
0463367829620

See also

gtin - Global Trade Item Number ean - EAN International ucc - Uniform Code Council cip - Catalogue Item Publication