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

RECADV — EDIFACT Receiving Advice Message (D.21B)

The RECADV message is the receiving advice sent by the buyer once a shipment is physically received: it confirms received quantities, flags discrepancies against the DESADV, and traces rejections or damages. This page summarises the segment structure as published by UN/CEFACT for directory D.21B.

Purpose

The RECADV message is the receiving advice sent by the buyer once a shipment is physically received: it confirms received quantities, flags discrepancies against the DESADV, and traces rejections or damages.

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

Segment structure

The RECADV D.21B message has 128 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×10
00040ALIAdditional informationC×5
00050CUXCurrenciesC×9
00060FTXFree textC×99
00070  SG1Group (×10)C×10
00080  RFFReferenceM1
00090  DTMDate/time/periodC×9
00100  GEIProcessing informationC×99
00110  MOAMonetary amountC×99
00120  ALCAllowance or chargeC1
00130    SG2Group (×10)C×10
00140    DOCDocument/message detailsM1
00150      SG3Group (×10)C×10
00160      CDIPhysical or logical stateM1
00170      INPParties and instructionC×5
00180        SG4Group (×99)M×99
00190        NADName and addressM1
00200        LOCPlace/location identificationC×10
00210          SG5Group (×10)C×10
00220          RFFReferenceM1
00230          DTMDate/time/periodC×9
00240            SG6Group (×10)C×10
00250            CTAContact informationM1
00260            COMCommunication contactC×5
00270              SG7Group (×10)C×10
00280              TODTerms of delivery or transportM1
00290                SG8Group (×10)C×10
00300                CDIPhysical or logical stateM1
00310                INPParties and instructionC×5
00320                  SG9Group (×10)C×10
00330                  LOCPlace/location identificationM1
00340                  CDIPhysical or logical stateC×10
00350                    SG10Group (×10)C×10
00360                    TDTTransport informationM1
00370                    DTMDate/time/periodC×10
00380                    CDIPhysical or logical stateC×20
00390                      SG11Group (×9999)C×9999
00400                      EQDEquipment detailsM1
00410                        SG12Group (×10)C×10
00420                        CDIPhysical or logical stateM1
00430                        INPParties and instructionC×5
00440                          SG13Group (×25)C×25
00450                          SELSeal numberM1
00460                          CDIPhysical or logical stateM×10
00470                            SG14Group (×10)C×10
00480                            EQAAttached equipmentM1
00490                              SG15Group (×10)C×10
00500                              CDIPhysical or logical stateM1
00510                              INPParties and instructionC×5
00520                                SG16Group (×9999)C×9999
00530                                CPSConsignment packing sequenceM1
00540                                  SG17Group (×9)C×9
00550                                  RFFReferenceM1
00560                                  DTMDate/time/periodC×9
00570                                    SG18Group (×9)C×9
00580                                    TDTTransport informationM1
00590                                    DTMDate/time/periodC×9
00600                                      SG19Group (×9)C×9
00610                                      NADName and addressM1
00620                                      LOCPlace/location identificationC×9
00630                                        SG20Group (×9999)C×9999
00640                                        PACPackageM1
00650                                        QVRQuantity variancesC1
00660                                          SG21Group (×999)C×999
00670                                          PCIPackage identificationM1
00680                                          RFFReferenceC×9
00690                                            SG22Group (×10)C×10
00700                                            CDIPhysical or logical stateM1
00710                                            INPParties and instructionC×5
00720                                              SG23Group (×999)C×999
00730                                              GINGoods identity numberM1
00740                                                SG24Group (×10)C×10
00750                                                CDIPhysical or logical stateM1
00760                                                INPParties and instructionC×5
00770                                                  SG25Group (×9999)C×9999
00780                                                  LINLine itemM1
00790                                                  PIAAdditional product idC×10
00800                                                  IMDItem descriptionC×99
00810                                                  QTYQuantityC×10
00820                                                  QVRQuantity variancesC×10
00830                                                  DTMDate/time/periodC×9
00840                                                  PRIPrice detailsC1
00850                                                  PCDPercentage detailsC×9
00860                                                  FTXFree textC×99
00870                                                    SG26Group (×99)C×99
00880                                                    NADName and addressM1
00890                                                    LOCPlace/location identificationC×9
00900                                                      SG27Group (×99)C×99
00910                                                      CTAContact informationM1
00920                                                      COMCommunication contactC×9
00930                                                        SG28Group (×10)C×10
00940                                                        CDIPhysical or logical stateM1
00950                                                        INPParties and instructionC×5
00960                                                          SG29Group (×10)C×10
00970                                                          DOCDocument/message detailsM1
00980                                                            SG30Group (×10)C×10
00990                                                            CDIPhysical or logical stateM1
01000                                                            INPParties and instructionC×5
01010                                                              SG31Group (×99)C×99
01020                                                              GINGoods identity numberM1
01030                                                                SG32Group (×10)C×10
01040                                                                CDIPhysical or logical stateM1
01050                                                                INPParties and instructionC×5
01060                                                                  SG33Group (×10)C×10
01070                                                                  RFFReferenceM1
01080                                                                  DTMDate/time/periodC×9
01090                                                                  GEIProcessing informationC×99
01100                                                                  MOAMonetary amountC×99
01110                                                                  ALCAllowance or chargeC1
01120                                                                    SG34Group (×9999)C×9999
01130                                                                    PCIPackage identificationM1
01140                                                                    QTYQuantityC×9
01150                                                                    QVRQuantity variancesC1
01160                                                                      SG35Group (×10)C×10
01170                                                                      CDIPhysical or logical stateM1
01180                                                                      INPParties and instructionC×5
01190                                                                        SG36Group (×10)C×10
01200                                                                        GINGoods identity numberM1
01210                                                                          SG37Group (×10)C×10
01220                                                                          CDIPhysical or logical stateM1
01230                                                                          INPParties and instructionC×5
01240                                                                            SG38Group (×9)C×9
01250                                                                            RFFReferenceM1
01260                                                                            DTMDate/time/periodC×9
01270                                                                            CNTControl totalC1
01280UNTMessage 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.21B for the RECADV 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

  • CUX in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.
  • FTX in the header section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.
  • GEI in the header section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.
  • MOA in the header section (status C, repeat ×99) — not present at the top of the corresponding D.96A section.
  • ALC in the header section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.
  • PRI in the header section (status C, repeat ×1) — not present at the top of the corresponding D.96A section.
  • PCD in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.

Max-repeat changes

  • IMD (header): repeat ×25 in D.96A → ×99 in D.21B.

Structural example

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

edifact recadv-d21b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL021001'
UNH+1+RECADV:D:21B:UN'
BGM+632+REC-2026-0098+9'
DTM+137:20260514:102'
DTM+50:20260513:102'
NAD+SU+5410000000456::9'
NAD+BY+5410000000123::9'
RFF+ON:ORDER789'
CPS+1'
LIN+1++3520000001234:EN'
QTY+194:10'
QTY+12:10'
UNT+13+1'
UNZ+1+CTRL021001'

Common errors

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

X12 functional equivalent: X12 861.

← All EDIFACT versions