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.
SAFHAZ D.96A

SAFHAZ — EDIFACT Safety / Hazard Notification Message (D.96A)

The SAFHAZ message carries the safety and hazard information for a substance or chemical product: CAS / UN identification, risk phrases, storage conditions, emergency measures, protective equipment. It is the structured-EDI counterpart of safety data sheets (SDS). This page summarises the segment structure as published by UN/CEFACT for directory D.96A.

Purpose

The SAFHAZ message carries the safety and hazard information for a substance or chemical product: CAS / UN identification, risk phrases, storage conditions, emergency measures, protective equipment. It is the structured-EDI counterpart of safety data sheets (SDS).

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

Segment structure

The SAFHAZ D.96A message has 68 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
0030RFFReferenceC×10
0040DTMDate/time/periodC×10
0050FTXFree textC×99
0060  SG1Group (×10)C×10
0070  NADName and addressM1
0080  RFFReferenceC×10
0090    SG2Group (×10)C×10
0100    CTAContact informationM1
0110    COMCommunication contactC×5
0120      SG3Group (×1000)M×1000
0130      DOCDocument/message detailsM1
0140      IMDItem descriptionC×10
0150      PIAAdditional product idC×10
0160      MEAMeasurementsC×10
0170      RCSRequirements and conditionsC×10
0180      RFFReferenceC×10
0190      DTMDate/time/periodC×10
0200      FTXFree textC×99
0210        SG4Group (×10)C×10
0220        NADName and addressM1
0230        RFFReferenceC×10
0240          SG5Group (×10)C×10
0250          CTAContact informationM1
0260          COMCommunication contactC×5
0270            SG6Group (×20)C×20
0280            SFISafety informationM1
0290            PIAAdditional product idC×10
0300            EQDEquipment detailsC×99
0310            FTXFree textC×99
0320              SG7Group (×10)C×10
0330              NADName and addressM1
0340              RFFReferenceC×10
0350                SG8Group (×10)C×10
0360                CTAContact informationM1
0370                COMCommunication contactC×5
0380                  SG9Group (×10)C×10
0390                  HANHandling instructionsM1
0400                  FTXFree textC×99
0410                    SG10Group (×10)C×10
0420                    IMDItem descriptionM1
0430                    MEAMeasurementsC×10
0440                    PCDPercentage detailsC×10
0450                    RFFReferenceC×10
0460                    FTXFree textC×99
0470                      SG11Group (×10)C×10
0480                      DGSDangerous goodsM1
0490                      RFFReferenceC×10
0500                      FTXFree textC×99
0510                        SG12Group (×10)C×10
0520                        PACPackageM1
0530                        PCIPackage identificationC×10
0540                          SG13Group (×999)C×999
0550                          CCICharacteristic/class idM1
0560                          IMDItem descriptionC×10
0570                          FTXFree textC×99
0580                          CAVCharacteristic valueC×10
0590                            SG14Group (×10)C×10
0600                            RFFReferenceM1
0610                            DTMDate/time/periodC×10
0620                              SG15Group (×10)C×10
0630                              MEAMeasurementsM1
0640                              TEMTest methodC×10
0650                              DTMDate/time/periodC×10
0660                              RFFReferenceC×10
0670                              FTXFree textC×99
0680UNTMessage trailerM1

Detail

No segment in this section.

Summary

No segment in this section.

Changes vs D.96A

This page documents directory D.96A itself: it serves as the reference for every other version of the message. The synthesis below describes the structural changes that later directories will introduce relative to it.

No top-level differences detected between D.96A and D.96A for this message. Differences are then limited to nested groups and code lists.

Structural example

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

edifact safhaz-d96a-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL096001'
UNH+1+SAFHAZ:D:96A:UN'
BGM+270+SAFHAZ-2026-SDS-0007+9'
RFF+ACE:CAS-67-64-1'
DTM+137:20260514:102'
FTX+AAI+++UN 1090 Acetone - IMDG class 3 - PG II - flash point -20 C'
UNT+6+1'
UNZ+1+CTRL096001'

Common errors

  • Misaligned UNH tokens — The UNH+...+SAFHAZ:D:96A: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.96A, 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: SAFHAZ D.10A, SAFHAZ D.16B, SAFHAZ D.21B, SAFHAZ D.24A.

← All EDIFACT versions