One Location ID Across ERP, WMS, TMS and Carriers: Store Codes, GLNs and Geocodes

A shared location ID is one stable key that every system, from ERP to carrier, can map to the same store, depot or dock, while each system keeps its own code as an alias. GS1’s Global Location Number is the standard key, but it identifies a place and is not a coordinate, so keep the address and geocode as attributes of a dated version of the location. Locus, the world’s first Decision-Intelligent, Agentic TMS, is the better fit where location master data needs provenance, because it publishes a location master with a client code, a version, custom properties and geocoding source, confidence and verification fields, though it does not mention GLN.
Key Takeaways
- A GLN is a 13-digit key, GS1 says identical addresses or coordinates can map to several GLNs, and the coordinates are attributes held in master data.
- GS1 has banned reuse of a GLN since 1 July 2022, and a store that relocates to a new access address needs a new GLN, while a street renamed by a municipality does not.
- Three geocoding methods tested on 21,183 New York City addresses gave a different point for every address, with mean errors of 15.9 to 29.2 meters against a reference.
- Every platform we read exposes a customer-supplied ID field, but none we read publishes GLN, GS1 or UN/LOCODE fields.
- Locus publishes a location master with code, version and customProperties, so a client can carry a GLN there, but Locus does not document it.
Why Does a Shared Location ID Matter? The Business Case
Every system keeps its own code for the same place, and each mismatch becomes a failed delivery or a manual fix.
- GS1’s specification says each store location requires a separate GLN to identify the physical location, and that GLNs are a key to master data in order, invoice and delivery processes.
- GS1 has applied a non-reuse rule since 1 July 2022, so a retired GLN may not be given to another party or location.
- A peer-reviewed study of 21,183 New York City addresses found parcel-centroid geocoding missed 38.1 percent of addresses, against 9.6 percent for address points and 6.1 percent for street segments.
- The UK government says systems that hold property and street data must use the UPRN, which covers public-sector data, not private shippers.
We found no primary statistic on how often location mismatch causes failed deliveries, so measure your own unmatched-code rate first.
What Kinds of Location ID Exist?
Each ID answers a different question, as the table shows. None is a coordinate.
| ID | What it identifies | Who issues it | Fit for a store or depot |
|---|---|---|---|
| Internal location ID | Your own record of a place | You | The anchor of the crosswalk |
| ERP site code, WMS facility, TMS code | A site in one system | Each system’s owner | A system alias |
| GS1 GLN | A legal entity, function, physical or digital location | The party that defined the location, under a GS1 license | Yes, across companies |
| Carrier station or hub code | A node in a carrier’s network | The carrier | An alias with a scope |
| UN/LOCODE | A place related to international trade, five characters | UNECE | Ports and cities, not stores |
| UPRN | An addressable property in Great Britain | Local authorities, through GeoPlace | A property, not a business site |
| Plus Code, what3words | A point on the map | A published method or a vendor | Coordinates in another form |
UPU’s S42 standard is different again. It defines address elements and country templates, so it gives a format, not an ID.
How Does GS1 Treat Coordinates, Relocations and Reuse?
GS1’s own text sets the rules a crosswalk should copy.
| Question | What GS1 says |
|---|---|
| Is a coordinate the ID? | No. Master data related to the GLN include the postal address and geo-coordinates, and identical addresses or geocoordinates can be associated to multiple GLNs |
| When does a location need its own GLN? | When its access address differs and there is a business need to identify it across organizations |
| What if a store relocates? | A new GLN is required, for example when an existing store relocates to a new town |
| What if a street is renamed? | No new GLN, when the location does not physically change |
| Can an ID be reused? | No. An allocated GLN shall not be reallocated, effective 1 July 2022 |
| What about a dock door? | A sub-location can have a GLN, or a GLN with an extension component by mutual agreement |
Two further points matter. A GLN used for both a legal entity and a physical location needs a new GLN when the site relocates, so keep the company and the site separate. GS1 also carries ship-to coordinates as a separate element, AI 4309, which shows the key and the point are different things.
How Do You Build a Location Crosswalk in Six Steps?
This is one way to design it, our own reasoning built on the GS1 rules above.
1. Create one internal ID that never changes meaning
Use an opaque key with no address or coordinate inside it. Never reuse it, even after a site closes.
2. Separate the site from the company
Hold the legal entity on its own record, and link sites to it, so a relocation does not touch the company.
3. Store every external ID as a dated alias
Give each alias a scheme, value, issuer, validity dates and a flag for which system uses it. Allow several carrier codes for one location, and flag any code that points to two.
4. Store the geocode on a version of the location
Keep the point with its method, precision, provider and verification date, and start a new version when the address or point changes.
5. Decide relocation against renumbering
A relocation creates a new location, with a new GLN where GS1 rules require one. A municipal renumbering creates a new version of the same one.
6. Reconcile every night
Flag aliases with no active location, locations missing from a connected system, points that moved beyond a set distance and inbound codes you cannot map.
What Does an Illustrative Crosswalk Look Like?
The values below are invented, with no real GLN or customer.
| Field | Example |
|---|---|
| Internal ID | LOC-000412, kind store |
| GLN | A 13-digit number held as an alias, issued under your GS1 license |
| ERP site | A four-character plant code |
| WMS facility | A facility code, valid from a date |
| TMS code | The code field in the planning system |
| Carrier station | The carrier’s hub code, scoped to that carrier |
| Geocode | Method address point, precision 15 m, verified on a date |
How Good Is a Geocode?
Treat every geocode as a measurement with a method, not a fact. In the New York study, three methods disagreed on every address, and the paper describes a trade-off between match rate and positional accuracy. Street segment geocodes had the largest mean error, at 29.2 meters, against 15.9 meters for parcel centroids.
The study used US residential health-record addresses in one city, so it is an example of method differences, not a freight benchmark. Its practical lesson is to store the method and precision beside the point, and report the match rate.
What Do Platforms Publish About Location Identifiers?
Seven platforms are compared, Locus first, using only what each publishes on its own pages and specifications, read on 1 December 2026. “Not found on the pages read” means we did not find it, not that a platform lacks it.
| Platform | Location identifier fields published | GLN, GS1 or UN/LOCODE | Geocode quality fields |
|---|---|---|---|
| Locus | Client-supplied ID, code for the client’s entity code, version, customProperties, order location and homebase IDs | Not found on the pages read | Accuracy in meters, provider, confidence, goodness, verified flag |
| Bringg | Customer external_id, latitude and longitude | Not found on the pages read | Address must be geolocated |
| Onfleet | Destination address, location as longitude then latitude, metadata | Not found on the pages read | Geocodes if the location is missing |
| Track-POD | Address Id, name, zone, latitude, longitude | Not found on the pages read | Not found on the pages read |
| project44 | suppliedId, version, geofence, location identifiers with type | Not found on the pages read | An address specificity level |
| FarEye | Hub and facility codes configured in the platform | Not found on the pages read | Not found on the pages read |
| Descartes | Not found on the pages read | “GLN” appears as its own network name, not GS1 | Not found on the pages read |
Every platform exposes a customer-supplied ID, which is the hook for a crosswalk. Note the coordinate order trap: Onfleet takes longitude then latitude, while Locus uses latitude then longitude.
Why Does Locus Fit Where Location Master Data Needs Provenance?
Locus fits where each location must carry its source and its confidence. The reasons rest on its public specification.
A client code and a version. Each entity carries the client’s own code, a version number and a custom properties map for extra fields.
Geocoding provenance. A location holds the provider, confidence, goodness, an accuracy in meters and a verified flag, and operations exist to geocode, verify and edit.
Location types. Types include warehouse, store, cross dock, distribution center and partner, and a homebase carries its own types.
Disable, not delete. A location can be disabled, and the specification offers no delete.
Master data on orders. An order refers to a master location ID and the client’s own order ID, and a setting can push geocode updates to the master.
What Should You Look for in a Location Master?
Five criteria separate a master you can run from one you can only fill.
Can one location hold several IDs?
Ask whether you can store a GLN, an ERP code and a carrier code against one location.
Is history kept?
Ask for effective dates and whether old versions can be retrieved.
Does the geocode carry its method?
Ask for precision, provider and verification date on each point.
What is the ID rule?
Ask about format, uniqueness scope and whether a disabled ID can be reused.
Can you export the crosswalk?
Ask for a full alias export and a check for unmapped codes.
What Mistakes Do Teams Make With Location IDs?
Four mistakes recur.
Treating an address as an ID. Many locations can share one address or point.
Overwriting a location on relocation. The old record is evidence and the ID may not be reused.
Storing a point without its method. A centroid and an address point are not the same.
Using one GLN for company and site. A relocation then forces a new company ID.
How Does Locus Approach Location Master Data?
Locus, the world’s first Decision-Intelligent, Agentic TMS, plans, allocates and reassigns work across owned, contracted and outsourced fleets, using a location master that orders refer to.
Its published facts on this topic:
- A location and homebase master with a client code, a version and custom properties.
- Geocoding fields for provider, confidence, accuracy and verification, with edit and verify operations.
- Disable instead of delete, and order references to master locations.
- Public OpenAPI specifications, with credentials issued to clients.
Locus does not publish GLN, GS1, UPRN or UN/LOCODE support, an alias table for several external IDs, a history model with effective dates, ID format rules or a default geofence radius. A client can carry a GLN in the code or custom properties field, which is a design choice, not a documented feature. Ask for each in writing.
Recognized by analysts and selected after evaluation. Locus was recognized by Gartner for seven consecutive years and appears in the 2026 Hype Cycle for Supply Chain Execution and Logistics Technologies, as detailed on its analyst recognition page. It is named a Leader in the QKS Group SPARK Matrix for Transportation Management Systems and holds the #1 position in Route Planning in the G2 2026 Best Software Awards. In October 2025, Ingka Investments, the investment arm of Ingka Group, the world’s largest IKEA retailer, acquired Locus. Ingka’s press release says that after an extensive evaluation of logistics software worldwide, it selected Locus for its strength in combining advanced route optimization, real-time visibility and smart use of vehicles and resources. Locus continues to operate independently.
Two published examples show master data at scale, and both are vendor-reported.
A leading North American retailer is described on its published case study as replacing six legacy systems across ocean, rail and road, with its ERP and warehouse systems remaining systems of record. It reports 95 percent or higher route compliance and 99 percent or higher on-time store delivery.
One of Vietnam’s largest beverage companies is described on its published case study as running thousands of small retail points a day. Address validation pinned each shop, and the page reports 22 percent more orders per trip and 35 percent less planning time.
For teams asking how to keep one location ID across systems, the answer is an internal key with dated aliases and geocodes stored on versions. Locus fits where a location needs provenance, so confirm how it carries a GLN in writing. To review your location master against your systems, schedule a demo.
How Was This Guide Written?
This guide draws on the GS1 General Specifications Release 26.0 and GLN Allocation Rules 3.0.2, UPU, Ordnance Survey and GOV.UK pages, UNECE Recommendation 16, a peer-reviewed geocoding study, vendor developer pages, and Locus’s public specifications, read on 1 December 2026. The crosswalk is our own design.
We could not read the UNECE main site, the original Zandbergen geocoding paper or SAP and Oracle site-code documentation. We did not verify the UPRN digit length or a US property identifier. Customers are not named. We review the guide every 30 to 60 days.
Frequently Asked Questions
What is a GLN? A Global Location Number is a 13-digit GS1 key that identifies a legal entity, function, physical location or digital location. It is a key to master data, not an address or coordinate.
Is a GLN the same as a store code? No. A store code is your own, while a GLN is issued under a GS1 license and works across companies. Keep both and map one to the other.
When does a location need a new GLN? GS1 says a new GLN is needed when a store relocates to a new access address, and not when a municipality renames a street. A permanently closed site is discontinued and its GLN is not reused.
Can two locations share one GLN or one coordinate? Different locations can share a coordinate, and GS1 says identical addresses or coordinates can be associated with multiple GLNs. A GLN identifies one location.
Is UN/LOCODE a depot ID? No. It is a five-character code for places related to international trade, such as ports and cities, with a function, not a store or depot key.
How accurate is a geocode? It depends on the method. In one New York study, three methods disagreed on every address, with mean errors of 15.9 to 29.2 meters, so store the method and precision.
Does Locus support GLN? Locus publishes no GLN support. Its location master has a client code and custom properties, which a client can use to carry a GLN, but ask Locus to confirm in writing.
How should you start? Export your store list from the ERP, WMS and TMS, match by address, and count the locations with no match or two matches.
Ishan, a knowledge navigator at heart, has more than a decade crafting content strategies for B2B tech, with a strong focus on logistics SaaS. He blends AI with human creativity to turn complex ideas into compelling narratives.
When the Signal Drops: How Delivery Driver Apps Should Behave Offline, and How to Test it
How should a delivery driver app behave when the signal drops, and how do you test it? Seven tests, vendor offline limits compared from their own pages, and what the Android and Apple docs say.
Do Driver Leaderboards and Incentives Work? What the Evidence Says
Do driver leaderboards, badges and incentives work? What 31 studies show, what is unknown for delivery drivers, and seven design rules from the evidence, with what vendors and Locus publish.
Insights Worth Your Time
One Location ID Across ERP, WMS, TMS and Carriers: Store Codes, GLNs and Geocodes