Practical guide

How to match ERP and TMS shipment IDs without merging the wrong loads

Keep an internal shipment ID and store confirmed aliases for each source. A reference is only meaningful with its issuer and scope; two systems can legitimately reuse the same number.

Model the reference type

A purchase order, shipment and carrier booking are not the same object.

Use a source-scoped key such as workspace, source system, reference type and reference value. Store the original formatting and apply only normalization that your source contract allows. Removing leading zeroes can collapse two different identifiers.

For example, purchase order 820 may be fulfilled by two separate loads. Associate the order with each in the appropriate relation, but never merge the two shipments just because their shared order number matches.

Match decisions

Decide when to link, hold or keep records separate.

ObservationDecision
Verified carrier booking and ERP shipment have a confirmed linkReuse the existing shipment and retain the evidence for the alias.
Same literal carrier reference appears in another workspaceKeep it separate. The value alone does not prove a shared identity.
Proposed alias already points to another shipmentHold for review; do not move the alias or merge the records automatically.
Only delivery date and consignee matchUse the data to propose a candidate, not an automatic merge.
Regression tests

Prove that a replay does not create another shipment.

Run an exact repeat, a one-to-many order, a reused reference and a wrong-workspace fixture. Check that the repeat reuses the established identity and that ambiguous candidates leave the source records unchanged. Keep document and regulatory identifiers separate from the internal shipment ID.

Related resources

Continue with a scoped check.

Bind documents after shipment identity is clear

Distinguish shipment references from eFTI identifiers

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