Practical guide

How to map UN/LOCODE without losing the exact freight stop

Store the trade location code and the actual facility separately. A valid location code does not necessarily identify the terminal, warehouse or gate where the vehicle needs to arrive.

Three layers

Map trading location, facility and shipment stop separately.

The UNECE directory documentation distinguishes the location code, function, status and other attributes. Pin the code-list release and validate the country and location together. Keep the facility ID from the terminal or partner separately, and link both to the applicable stop in your shipment.

Do not turn every port code into a precise GPS or gate instruction. Treat subordinate codes, partner-specific facility IDs and addresses as separate facts unless the source explicitly equates them.

Worked example

Two terminals can share a parent location without sharing a booking.

A synthetic booking is moved from terminal East to terminal West in the same port area. The broader location may remain the same, but the facility reference, arrival instructions and booking can change. Keep the original facility in the history and resolve the selected delivery to the new stop.

Acceptance checks

Catch mappings that are valid in format but wrong in context.

Related resources

Continue with a scoped check.

Inspect location fields in the readiness scanner

Bind location references to the correct freight stop

Software direction

Make transport data issues visible before the handoff.

Explore the public demo and compare proposed software plans. Paid access is not open yet.

Compare plans