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.24A

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

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.24A.

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.24A. The segments listed, their status (M / C), position and repetition factor are extracted from the official file safhaz_c.htm hosted on service.unece.org.

Segment structure

The SAFHAZ D.24A 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.
00010UNHMessage headerM1
00020BGMBeginning of messageM1
00030RFFReferenceC×10
00040DTMDate/time/periodC×10
00050FTXFree textC×99
00060  SG1Group (×10)C×10
00070  NADName and addressM1
00080  RFFReferenceC×10
00090    SG2Group (×10)C×10
00100    CTAContact informationM1
00110    COMCommunication contactC×5
00120      SG3Group (×1000)M×1000
00130      DOCDocument/message detailsM1
00140      IMDItem descriptionC×999
00150      PIAAdditional product idC×10
00160      MEAMeasurementsC×10
00170      RCSRequirements and conditionsC×10
00180      RFFReferenceC×10
00190      DTMDate/time/periodC×10
00200      FTXFree textC×99
00210        SG4Group (×10)C×10
00220        NADName and addressM1
00230        RFFReferenceC×10
00240          SG5Group (×10)C×10
00250          CTAContact informationM1
00260          COMCommunication contactC×5
00270            SG6Group (×20)C×20
00280            SFISafety informationM1
00290            PIAAdditional product idC×10
00300            EQDEquipment detailsC×99
00310            FTXFree textC×99
00320              SG7Group (×10)C×10
00330              NADName and addressM1
00340              RFFReferenceC×10
00350                SG8Group (×10)C×10
00360                CTAContact informationM1
00370                COMCommunication contactC×5
00380                  SG9Group (×10)C×10
00390                  HANHandling instructionsM1
00400                  FTXFree textC×99
00410                    SG10Group (×999)C×999
00420                    IMDItem descriptionM1
00430                    MEAMeasurementsC×10
00440                    PCDPercentage detailsC×10
00450                    RFFReferenceC×10
00460                    FTXFree textC×99
00470                      SG11Group (×10)C×10
00480                      DGSDangerous goodsM1
00490                      RFFReferenceC×10
00500                      FTXFree textC×99
00510                        SG12Group (×10)C×10
00520                        PACPackageM1
00530                        PCIPackage identificationC×10
00540                          SG13Group (×999)C×999
00550                          CCICharacteristic/class idM1
00560                          IMDItem descriptionC×10
00570                          FTXFree textC×99
00580                          CAVCharacteristic valueC×10
00590                            SG14Group (×10)C×10
00600                            RFFReferenceM1
00610                            DTMDate/time/periodC×10
00620                              SG15Group (×10)C×10
00630                              MEAMeasurementsM1
00640                              TEMTest methodC×10
00650                              DTMDate/time/periodC×10
00660                              RFFReferenceC×10
00670                              FTXFree textC×99
00680UNTMessage 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.24A for the SAFHAZ 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.

Max-repeat changes

  • IMD (header): repeat ×10 in D.96A → ×999 in D.24A.

Structural example

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

edifact safhaz-d24a-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL024001'
UNH+1+SAFHAZ:D:24A: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+CTRL024001'

Common errors

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

← All EDIFACT versions