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.
REQDOC D.13B

REQDOC — EDIFACT Request for Document Message (D.13B)

The REQDOC message is a formal request for a specific document between trade partners: duplicate invoice, proof of delivery, copy of a payment advice. It references the expected document by type, number or search criterion. This page summarises the segment structure as published by UN/CEFACT for directory D.13B.

Purpose

The REQDOC message is a formal request for a specific document between trade partners: duplicate invoice, proof of delivery, copy of a payment advice. It references the expected document by type, number or search criterion.

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

Segment structure

The REQDOC D.13B message has 31 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
00030DOCDocument/message detailsM1
00040DTMDate/time/periodM×9
00050FTXFree textC×20
00060  SG1Group (×99)C×99
00070  RFFReferenceM1
00080  DTMDate/time/periodC×5
00090    SG2Group (×99)M×99
00100    NADName and addressM1
00110    LOCPlace/location identificationC×9
00120      SG3Group (×9)C×9
00130      CTAContact informationM1
00140      COMCommunication contactC×9
00150        SG4Group (×999)M×999
00160        LINLine itemM1
00170        GEIProcessing informationC×9
00180        DTMDate/time/periodC×9
00190        PIAAdditional product idC×9
00200        IMDItem descriptionC×9
00210        MEAMeasurementsC×9
00220          SG5Group (×99)C×99
00230          RFFReferenceM1
00240          DTMDate/time/periodC×9
00250            SG6Group (×99)C×99
00260            NADName and addressM1
00270            LOCPlace/location identificationC×9
00280              SG7Group (×9)C×9
00290              CTAContact informationM1
00300              COMCommunication contactC×9
00310UNTMessage 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.13B for the REQDOC 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

  • FTX in the header section (status C, repeat ×20) — not present at the top of the corresponding D.96A section.
  • GEI in the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.

Segments removed vs D.96A

  • GIS in the header section — present in D.96A but missing in D.13B at the same level.

Structural example

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

edifact reqdoc-d13b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL013001'
UNH+1+REQDOC:D:13B:UN'
BGM+700+REQDOC-2026-0044+9'
DTM+137:20260514:102'
NAD+MS+5410000000123::9'
NAD+MR+5410000000456::9'
DOC+380+INV-2026-7811'
DTM+171:20260512:102'
UNT+7+1'
UNZ+1+CTRL013001'

Common errors

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

X12 functional equivalent: X12 627.

← All EDIFACT versions