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.
DOCADV D.05A

DOCADV — EDIFACT Document/Message Advice Message (D.05A)

The DOCADV message is the advice sent by a trade partner regarding a previously received document: it indicates its status (accepted, accepted with reservations, rejected), the discrepancies detected, the related references and the actions required. It is one of the three EDIFACT business-feedback channels alongside APERAK and CONTRL. This page summarises the segment structure as published by UN/CEFACT for directory D.05A.

Purpose

The DOCADV message is the advice sent by a trade partner regarding a previously received document: it indicates its status (accepted, accepted with reservations, rejected), the discrepancies detected, the related references and the actions required. It is one of the three EDIFACT business-feedback channels alongside APERAK and CONTRL.

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

Segment structure

The DOCADV D.05A message has 74 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
0030RFFReferenceM1
0040BUSBusiness functionM1
0050INPParties and instructionM×10
0060FCAFinancial charges allocationM×3
0070DTMDate/time/periodM×3
0080FTXFree textC×20
0090  SG1Group (×9)M×9
0100  FIIFinancial institution informationM1
0110  RFFReferenceC×2
0120  CTAContact informationC1
0130  COMCommunication contactC×5
0140    SG2Group (×9)M×9
0150    NADName and addressM1
0160    RFFReferenceC1
0170    CTAContact informationC1
0180    COMCommunication contactC×5
0190      SG3Group (×1)M1
0200      DTMDate/time/periodM1
0210      LOCPlace/location identificationM1
0220        SG4Group (×5)M×5
0230        MOAMonetary amountM1
0240          SG5Group (×1)C1
0250          ALCAllowance or chargeM1
0260          PCDPercentage detailsC×2
0270            SG6Group (×3)M×3
0280            LOCPlace/location identificationM1
0290            DTMDate/time/periodC1
0300              SG7Group (×1)M1
0310              PAIPayment instructionsM1
0320              FIIFinancial institution informationC1
0330              LOCPlace/location identificationC1
0340                SG8Group (×5)M×5
0350                PYTPayment termsM1
0360                FIIFinancial institution informationC1
0370                DTMDate/time/periodC1
0380                MOAMonetary amountC1
0390                PCDPercentage detailsC1
0400                FTXFree textC1
0410                  SG9Group (×1)C1
0420                  TODTerms of delivery or transportM1
0430                  LOCPlace/location identificationC1
0440                    SG10Group (×1)C1
0450                    TSRTransport service requirementsM1
0460                    LOCPlace/location identificationC×5
0470                      SG11Group (×5)C×5
0480                      INPParties and instructionM1
0490                      FTXFree textC1
0500                      DTMDate/time/periodC×2
0510                        SG12Group (×9)M×9
0520                        RFFReferenceM1
0530                        DTMDate/time/periodC1
0540                        FTXFree textC×2
0550                          SG13Group (×20)M×20
0560                          DOCDocument/message detailsM1
0570                          MOAMonetary amountC1
0580                          PCDPercentage detailsC1
0590                          LOCPlace/location identificationC1
0600                          FTXFree textC1
0610                            SG14Group (×20)C×20
0620                            ICDInsurance cover descriptionM1
0630                            DTMDate/time/periodC1
0640                            FTXFree textC×9
0650                              SG15Group (×9)C×9
0660                              ALIAdditional informationM1
0670                                SG16Group (×3)C×3
0680                                NADName and addressM1
0690                                CTAContact informationC1
0700                                COMCommunication contactC×5
0710                                  SG17Group (×1)C1
0720                                  AUTAuthentication resultM1
0730                                  DTMDate/time/periodC1
0740UNTMessage 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.05A for the DOCADV 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

  • PYT in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.
  • ICD in the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.

Segments removed vs D.96A

  • PAT in the header section — present in D.96A but missing in D.05A at the same level.
  • TAX in the header section — present in D.96A but missing in D.05A at the same level.

Status changes (M ↔ C)

  • LOC (header): status C in D.96A → M in D.05A.

Max-repeat changes

  • INP (header): repeat ×5 in D.96A → ×10 in D.05A.
  • FCA (header): repeat ×1 in D.96A → ×3 in D.05A.
  • FTX (header): repeat ×9 in D.96A → ×20 in D.05A.

Structural example

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

edifact docadv-d05a-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL005001'
UNH+1+DOCADV:D:05A:UN'
BGM+700+DOCADV-2026-0099+9'
RFF+ON:ORDER789'
BUS++17'
INP+27'
FCA+1'
DTM+137:20260514:102'
NAD+MS+5410000000123::9'
NAD+MR+5410000000456::9'
DOC+380+INV-2026-7811'
UNT+11+1'
UNZ+1+CTRL005001'

Common errors

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

X12 functional equivalent: X12 824.

← All EDIFACT versions