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.
INSREQ D.21B

INSREQ — EDIFACT Inspection Request Message (D.21B)

The INSREQ message is the inspection request sent to a control body or service provider: it specifies what to inspect, where, when, against which standard, and with which urgency — quality, regulatory compliance, customs, veterinary. This page summarises the segment structure as published by UN/CEFACT for directory D.21B.

Purpose

The INSREQ message is the inspection request sent to a control body or service provider: it specifies what to inspect, where, when, against which standard, and with which urgency — quality, regulatory compliance, customs, veterinary.

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 insreq_c.htm hosted on service.unece.org.

Segment structure

The INSREQ D.21B message has 38 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/periodM×99
00040  SG1Group (×99)C×99
00050  RFFReferenceM1
00060  DTMDate/time/periodC×9
00070    SG2Group (×99)M×99
00080    NADName and addressM1
00090    LOCPlace/location identificationC×99
00100      SG3Group (×99)M×99
00110      DOCDocument/message detailsM1
00120        SG4Group (×99)C×99
00130        RFFReferenceM1
00140        DTMDate/time/periodC×99
00150          SG5Group (×99)C×99
00160          NADName and addressM1
00170            SG6Group (×99)C×99
00180            CTAContact informationM1
00190            COMCommunication contactC×99
00200              SG7Group (×999)C×999
00210              LINLine itemM1
00220              PIAAdditional product idC×99
00230              IMDItem descriptionC×99
00240              DTMDate/time/periodC×99
00250              RFFReferenceC×99
00260              FTXFree textC×9
00270                SG8Group (×999)C×999
00280                NADName and addressM1
00290                GEIProcessing informationC×99
00300                LOCPlace/location identificationC×99
00310                QTYQuantityC×99
00320                QVRQuantity variancesC×99
00330                RFFReferenceC×99
00340                FTXFree textC×9
00350                  SG9Group (×999)C×999
00360                  GINGoods identity numberM1
00370                  RFFReferenceC×99
00380UNTMessage trailerM1

Detail

No segment in this section.

Summary

No segment in this section.

Changes vs D.96A

The INSREQ 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 INSREQ D.21B message with mandatory segments only. The goal is to show the exact version declared in UNH (INSREQ:D:21B:UN) — not to replicate a full business case.

edifact insreq-d21b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL021001'
UNH+1+INSREQ:D:21B:UN'
BGM+701+INSREQ-2026-0220+9'
DTM+137:20260514:102'
DTM+200:20260520:102'
NAD+ON+5410000000123::9'
NAD+IS+5410000000456::9'
LOC+18+FRLEH::6'
LIN+1++3520000001234:EN'
QTY+1:500'
FTX+AAI+++Quality inspection on receipt - ISO 9001'
UNT+10+1'
UNZ+1+CTRL021001'

Common errors

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

X12 functional equivalent: X12 142.

← All EDIFACT versions