1D Free plan

GLS eCsomag Barcode Generator API

GLS parcel barcode (modified ITF-12 check digit)

Sample GLS eCsomag barcode

AA034088476456ZA 034088476456

Generated live by the BarGen API from 03408847645

GLS eCsomag is the parcel identification barcode used by the GLS Hungary eCsomag shipping platform to label and track domestic and international courier parcels. The code is an 11-digit numeric parcel identifier printed on shipping labels generated through the GLS eCsomag portal or API, and it is scanned at every handling point from pickup through delivery to update parcel status in the GLS tracking system. It is rendered as a linear barcode using standard numeric encoding compatible with GLS depot and courier handheld scanners.

BarGen generates the GLS eCsomag barcode by accepting the 11-digit parcel identifier with format set to gls-ecsomag and rendering it as a scannable linear symbol, returned as SVG for label printing integrations or PNG for order confirmation emails and shipment tracking pages. This lets webshops and fulfillment systems reproduce a GLS-compatible barcode without depending on the GLS label PDF for every display context.

GLS eCsomag is a 12-digit Interleaved 2 of 5 barcode used by GLS for parcel labeling. The user supplies the first 11 digits; the 12th check digit is automatically computed using a modified ITF-12 algorithm.

The check digit is calculated by weighting the 11 digits alternately by 3 and 1 from right to left, summing the products, and taking (9 − sum mod 10) mod 10. Unlike the standard ITF-12 check digit (where the weighted sum is complemented to 10), this variant complements to 9.

Example: input 03398870351 → weighted sum 91 → 91 mod 10 = 1 → check digit (9 − 1) = 8 → full barcode 033988703518.

Common use cases

E-commerce order fulfillment labels

Hungarian webshops generate GLS eCsomag barcodes on packing slips so warehouse staff can scan and confirm the correct parcel before handing it to the courier.

Shipment tracking pages

Online stores embed a scannable GLS eCsomag barcode on order tracking pages so customers or support staff can scan it directly instead of retyping the parcel number.

Depot sorting and handover scanning

GLS depots and courier handheld devices scan the eCsomag barcode at each handover point, from pickup through the sorting hub to final delivery, to update tracking status automatically.

Generate GLS eCsomag via the REST API

curl "https://api.bargen.pro/v1/barcode/gls-ecsomag?data=03408847645&format=svg" \
  -H "X-API-Key: YOUR_API_KEY"

Returns the barcode as SVG. See the API documentation for all options.

Frequently asked questions

What does the GLS eCsomag barcode encode?

It encodes the 11-digit parcel identifier assigned by the GLS eCsomag platform when a shipping label is created, the same number customers use to track their parcel on the GLS website.

Which symbology renders the GLS eCsomag number?

BarGen renders the GLS eCsomag identifier as a linear numeric barcode compatible with the scanners used across GLS depots and courier handheld devices, matching the format printed on official GLS shipping labels.

Can I generate this barcode before creating the GLS shipment?

No. The 11-digit parcel identifier is assigned by GLS when the shipping label is created through the eCsomag portal or API, so you need that identifier first before BarGen can render its barcode.

Specifications

Digits
11 (input) → 12 (encoded)
Symbology
Interleaved 2 of 5
Check Digit
Modified ITF-12 (mod-9 complement)

Availability

Available from the Free plan.

See pricing

Related formats

Start generating GLS eCsomag barcodes

Free tier with 1,000 API calls per month. No credit card required.