ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.
MEQPOS D.21B

MEQPOS — EDIFACT Means of Transport and Equipment Position Message (D.21B)

The MEQPOS message conveys the current geographic position of a means of transport (vessel, train, truck) or equipment (container, trailer): timestamped geolocation, operational status, link to the resource. It is used for logistics track & trace and real-time dashboards. This page summarises the segment structure as published by UN/CEFACT for directory D.21B.

Purpose

The MEQPOS message conveys the current geographic position of a means of transport (vessel, train, truck) or equipment (container, trailer): timestamped geolocation, operational status, link to the resource. It is used for logistics track & trace and real-time dashboards.

This page focuses on the structure published by UN/CEFACT for directory D.21B. The segments listed, their status (M / C), position and repetition factor are extracted from the official file meqpos_c.htm hosted on service.unece.org.

Segment structure

The MEQPOS D.21B message has 24 header entries, 0 detail entries and 0 summary entries (segments and groups combined). Groups are shown in bold and their members are indented by actual nesting depth.

Pos.TagNameSRep.
00010UNHMessage headerM1
00020BGMBeginning of messageM1
00030DTMDate/time/periodC×9
00040QTYQuantityC1
00050LOCPlace/location identificationM1
00060  SG1Group (×9)C×9
00070  RFFReferenceM1
00080  DTMDate/time/periodC×9
00090    SG2Group (×1)M1
00100    TDTTransport informationM1
00110    DTMDate/time/periodC×9
00120      SG3Group (×9)C×9
00130      LOCPlace/location identificationM1
00140      DTMDate/time/periodC×9
00150        SG4Group (×9)C×9
00160        NADName and addressM1
00170          SG5Group (×9)C×9
00180          CTAContact informationM1
00190          COMCommunication contactC×9
00200            SG6Group (×999)C×999
00210            EQDEquipment detailsM1
00220            LOCPlace/location identificationC×9
00230            DTMDate/time/periodC×9
00240UNTMessage trailerM1

Detail

No segment in this section.

Summary

No segment in this section.

Changes vs D.96A

The MEQPOS message is not published in directory D.96A. No "D.96A → D.21B" comparison line can therefore be produced — see the block below for details.

This message is not published in directory D.96A: it was introduced into the standard after that release and therefore has no historical baseline for comparison. The first directory indexed on ediverse.io sets the reference; later changes are then documented from one release to the next in subsequent directories.

Structural example

Minimal example of an MEQPOS D.21B message with mandatory segments only. The goal is to show the exact version declared in UNH (MEQPOS:D:21B:UN) — not to replicate a full business case.

edifact meqpos-d21b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL021001'
UNH+1+MEQPOS:D:21B:UN'
BGM+23+MEQPOS-2026-LIVE-091+9'
DTM+137:202605141430:203'
QTY+1:1'
LOC+162+48.8566:2.3522:LATLON'
UNT+6+1'
UNZ+1+CTRL021001'

Common errors

  • Misaligned UNH tokens — The UNH+...+MEQPOS:D:21B:UN token must reflect exactly the directory in use — a mismatch between the UNH release and the release agreed with the partner is rejected by every strict validator.
  • Wrong UNT segment count — The value after UNT+ must include UNH and UNT themselves. By far the most common sender-side error, regardless of the directory in use.
  • Stale code lists — Between D.96A and D.21B, several code lists received new qualifiers (DTM status, RFF qualifier, NAD codes…). Reusing an older directory’s code tables triggers warnings or even rejections depending on the partner’s strict-conformance mode.

Other versions of this message available on ediverse.io: MEQPOS D.10A, MEQPOS D.16B, MEQPOS D.24A.

← All EDIFACT versions