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.
DESADV D.97A

DESADV — EDIFACT Despatch Advice (ASN) (D.97A)

The DESADV (Despatch Advice) message announces the shipment of goods to a delivery point, including pack, pallet and SSCC details. It is the universal Advance Shipping Notice outside North America. This page summarises the segment structure as published by UN/CEFACT for directory D.97A.

Purpose

The DESADV (Despatch Advice) message announces the shipment of goods to a delivery point, including pack, pallet and SSCC details. It is the universal Advance Shipping Notice outside North America.

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

Segment structure

The DESADV D.97A message has 36 header entries, 66 detail entries and 2 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×10
0040ALIAdditional informationC×5
0050MEAMeasurementsC×5
0060MOAMonetary amountC×5
0070  SG1Group (×10)C×10
0080  RFFReferenceM1
0090  DTMDate/time/periodC1
0100    SG2Group (×10)C×10
0110    NADName and addressM1
0120    LOCPlace/location identificationC×10
0130      SG3Group (×10)C×10
0140      RFFReferenceM1
0150      DTMDate/time/periodC1
0160        SG4Group (×10)C×10
0170        CTAContact informationM1
0180        COMCommunication contactC×5
0190          SG5Group (×10)C×10
0200          TODTerms of delivery or transportM1
0210          LOCPlace/location identificationC×5
0220          FTXFree textC×5
0230            SG6Group (×10)C×10
0240            TDTDetails of transportM1
0250            PCDPercentage detailsC×6
0260              SG7Group (×10)C×10
0270              LOCPlace/location identificationM1
0280              DTMDate/time/periodC×10
0290                SG8Group (×10)C×10
0300                EQDEquipment detailsM1
0310                MEAMeasurementsC×5
0320                SELSeal numberC×25
0330                EQAAttached equipmentC×5
0340                  SG9Group (×10)C×10
0350                  HANHandling instructionsM1
0360                  FTXFree textC×10

Detail

Pos.TagNameSRep.
0370  SG10Group (×9999)C×9999
0380  CPSConsignment packing sequenceM1
0390  FTXFree textC×5
0400    SG11Group (×9999)C×9999
0410    PACPackageM1
0420    MEAMeasurementsC×10
0430    QTYQuantityC×10
0440      SG12Group (×10)C×10
0450      HANHandling instructionsM1
0460      FTXFree textC×10
0470        SG13Group (×1000)C×1000
0480        PCIPackage identificationM1
0490        RFFReferenceC1
0500        DTMDate/time/periodC×5
0510        GIRRelated identification numbersC×99
0520          SG14Group (×99)C×99
0530          GINGoods identity numberM1
0540          DLMDelivery limitationsC×10
0550            SG15Group (×9999)C×9999
0560            LINLine itemM1
0570            PIAAdditional product idC×10
0580            IMDItem descriptionC×25
0590            MEAMeasurementsC×10
0600            QTYQuantityC×10
0610            ALIAdditional informationC×10
0620            GINGoods identity numberC×100
0630            GIRRelated identification numbersC×100
0640            DLMDelivery limitationsC×100
0650            DTMDate/time/periodC×5
0660            NADName and addressC×5
0670            TDTDetails of transportC1
0680            HANHandling instructionsC×20
0690            FTXFree textC×99
0700            MOAMonetary amountC×5
0710              SG16Group (×99)C×99
0720              RFFReferenceM1
0730              NADName and addressC1
0740              CTAContact informationC1
0750              DTMDate/time/periodC1
0760                SG17Group (×10)C×10
0770                DGSDangerous goodsM1
0780                QTYQuantityC1
0790                FTXFree textC×5
0800                  SG18Group (×100)C×100
0810                  LOCPlace/location identificationM1
0820                  NADName and addressC1
0830                  DTMDate/time/periodC1
0840                  QTYQuantityC×10
0850                    SG19Group (×1000)C×1000
0860                    SGPSplit goods placementM1
0870                    QTYQuantityC×10
0880                      SG20Group (×9999)C×9999
0890                      PCIPackage identificationM1
0900                      DTMDate/time/periodC×5
0910                      MEAMeasurementsC×10
0920                      QTYQuantityC1
0930                        SG21Group (×10)C×10
0940                        GINGoods identity numberM1
0950                        DLMDelivery limitationsC×100
0960                          SG22Group (×10)C×10
0970                          HANHandling instructionsM1
0980                          FTXFree textC×5
0990                          GINGoods identity numberC×1000
1000                            SG23Group (×10)C×10
1010                            QVRQuantity variancesM1
1020                            DTMDate/time/periodC×5

Summary

Pos.TagNameSRep.
1030CNTControl totalC×5
1040UNTMessage trailerM1

Changes vs D.96A

Top-level differences between D.96A and D.97A for the DESADV 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

  • TDT in the detail section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.
  • CTA in the detail section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.

Max-repeat changes

  • NAD (detail): repeat ×1 in D.96A → ×5 in D.97A.

Structural example

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

edifact desadv-d97a-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL097001'
UNH+1+DESADV:D:97A:UN'
BGM+351+ASN9001+9'
DTM+137:20260514:102'
DTM+11:20260515:102'
NAD+SU+5410000000456::9'
NAD+BY+5410000000123::9'
CPS+1'
PAC+1++201'
PCI+33E'
GIN+BJ+340000000000000001'
LIN+1++3520000001234:EN'
QTY+12:10'
UNT+13+1'
UNZ+1+CTRL097001'

Common errors

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

X12 functional equivalent: X12 856.

← All EDIFACT versions