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.
HANMOV D.05A

HANMOV — EDIFACT Cargo / Goods Handling and Movement Message (D.05A)

The HANMOV message describes the cargo handling and movement operations within a logistics site — terminal, warehouse, port or airport hub: lifting orders, internal moves, inter-terminal transfers. It bridges WMS / TOS systems with their operational resources. This page summarises the segment structure as published by UN/CEFACT for directory D.05A.

Purpose

The HANMOV message describes the cargo handling and movement operations within a logistics site — terminal, warehouse, port or airport hub: lifting orders, internal moves, inter-terminal transfers. It bridges WMS / TOS systems with their operational resources.

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

Segment structure

The HANMOV D.05A message has 109 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.
0010UNHMessage headerM1
0020BGMBeginning of messageM1
0030DTMDate/time/periodC×9
0040HANHandling instructionsC×9
0050FTXFree textC×9
0060CNTControl totalC×9
0070CUXCurrenciesC×9
0080  SG1Group (×9)C×9
0090  TCCCharge/rate calculationsM1
0100  LOCPlace/location identificationC×9
0110  FTXFree textC×9
0120  CUXCurrenciesC×9
0130    SG2Group (×9)C×9
0140    RFFReferenceM1
0150    DTMDate/time/periodC×9
0160      SG3Group (×1)C1
0170      STSStatusM1
0180      DTMDate/time/periodC×9
0190      FTXFree textC×9
0200      HANHandling instructionsC×9
0210      MOAMonetary amountC×9
0220        SG4Group (×9)C×9
0230        NADName and addressM1
0240        LOCPlace/location identificationC×9
0250        DOCDocument/message detailsC×9
0260          SG5Group (×9)C×9
0270          RFFReferenceM1
0280          DTMDate/time/periodC×9
0290            SG6Group (×1)C1
0300            CTAContact informationM1
0310            COMCommunication contactC×9
0320              SG7Group (×9)C×9
0330              TDTTransport informationM1
0340                SG8Group (×1)C1
0350                STSStatusM1
0360                LOCPlace/location identificationC×9
0370                DTMDate/time/periodC×9
0380                  SG9Group (×1)C1
0390                  RFFReferenceM1
0400                  DTMDate/time/periodC×9
0410                    SG10Group (×1)C1
0420                    DOCDocument/message detailsM1
0430                    DTMDate/time/periodC×9
0440                      SG11Group (×9)C×9
0450                      TODTerms of delivery or transportM1
0460                      LOCPlace/location identificationC×9
0470                        SG12Group (×99)C×99
0480                        LINLine itemM1
0490                          SG13Group (×1)C1
0500                          STSStatusM1
0510                          PIAAdditional product idC×9
0520                          IMDItem descriptionC×99
0530                          HANHandling instructionsC×9
0540                          TCCCharge/rate calculationsC×9
0550                            SG14Group (×9)C×9
0560                            NADName and addressM1
0570                              SG15Group (×9)C×9
0580                              CTAContact informationM1
0590                              COMCommunication contactC×9
0600                              MEAMeasurementsC×9
0610                              QTYQuantityC×9
0620                              GINGoods identity numberC×99
0630                              GIRRelated identification numbersC×99
0640                                SG16Group (×1)C1
0650                                DTMDate/time/periodM1
0660                                QTYQuantityC×9
0670                                FTXFree textC×9
0680                                  SG17Group (×1)C1
0690                                  RFFReferenceM1
0700                                  DTMDate/time/periodC×9
0710                                  LOCPlace/location identificationC×9
0720                                    SG18Group (×1)C1
0730                                    PACPackageM1
0740                                    MEAMeasurementsC×9
0750                                    QTYQuantityC×9
0760                                      SG19Group (×9)C×9
0770                                      PCIPackage identificationM1
0780                                      GINGoods identity numberC×9
0790                                        SG20Group (×9)C×9
0800                                        GIDGoods item detailsM1
0810                                        HANHandling instructionsC×9
0820                                        CSTCustoms status of goodsC×9
0830                                        TMPTemperatureC×9
0840                                        RNGRange detailsC×9
0850                                        LOCPlace/location identificationC×9
0860                                        MOAMonetary amountC×9
0870                                        PIAAdditional product idC×9
0880                                        FTXFree textC×9
0890                                        NADName and addressC×9
0900                                        MEAMeasurementsC×9
0910                                        DIMDimensionsC×9
0920                                        RFFReferenceC×9
0930                                        PCIPackage identificationC×9
0940                                          SG21Group (×9)C×9
0950                                          DOCDocument/message detailsM1
0960                                          DTMDate/time/periodC×9
0970                                          SGPSplit goods placementC×9
0980                                          TCCCharge/rate calculationsC×9
0990                                            SG22Group (×9)C×9
1000                                            DGSDangerous goodsM1
1010                                            FTXFree textC×9
1020                                            MEAMeasurementsC×9
1030                                              SG23Group (×9)C×9
1040                                              EQDEquipment detailsM1
1050                                              EQNNumber of unitsC×9
1060                                              SELSeal numberC×9
1070                                              EQAAttached equipmentC×99
1080                                              RFFReferenceC×9
1090UNTMessage trailerM1

Detail

No segment in this section.

Summary

No segment in this section.

Changes vs D.96A

Top-level differences between D.96A and D.05A for the HANMOV message (segments directly inside header / detail / summary, ignoring nested groups). The comparison is indicative: a given tag may have evolved inside nested groups without showing up in this synthesis.

Segments added vs D.96A

  • STS in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.
  • TOD in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.

Max-repeat changes

  • CST (header): repeat ×1 in D.96A → ×9 in D.05A.
  • TMP (header): repeat ×1 in D.96A → ×9 in D.05A.
  • RNG (header): repeat ×1 in D.96A → ×9 in D.05A.
  • EQN (header): repeat ×1 in D.96A → ×9 in D.05A.
  • SEL (header): repeat ×1 in D.96A → ×9 in D.05A.

Structural example

Minimal example of an HANMOV D.05A message with mandatory segments only. The goal is to show the exact version declared in UNH (HANMOV:D:05A:UN) — not to replicate a full business case (see the HANMOV D.96A page for an annotated example).

edifact hanmov-d05a-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL005001'
UNH+1+HANMOV:D:05A:UN'
BGM+266+HANMOV-2026-1004+9'
DTM+137:202605141430:203'
HAN+L:::Lifting and inland transfer'
FTX+AAI+++Move 24 containers from yard Block A to rail siding R2'
LOC+5+FRLEH::6'
LOC+11+FRTGV::6'
UNT+8+1'
UNZ+1+CTRL005001'

Common errors

  • Misaligned UNH tokens — The UNH+...+HANMOV:D:05A: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.05A, 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: HANMOV D.96A, HANMOV D.01B, HANMOV D.10A, HANMOV D.16B, HANMOV D.21B, HANMOV D.24A, HANMOV D.97A, HANMOV D.99B, HANMOV D.00B, HANMOV D.02B, HANMOV D.08A, HANMOV D.13B, HANMOV D.18B, HANMOV D.20B.

← All EDIFACT versions