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.
COMDIS D.18B

COMDIS — EDIFACT Commercial Dispute Message (D.18B)

The COMDIS message is the formal notification of a commercial dispute between a buyer and a supplier: it carries the identification of the disputed document (invoice, order, delivery), the nature of the disagreement, the contested amounts and the related supporting evidence. It sits in the invoicing → dispute → resolution cycle ahead of any payment hold. This page summarises the segment structure as published by UN/CEFACT for directory D.18B.

Purpose

The COMDIS message is the formal notification of a commercial dispute between a buyer and a supplier: it carries the identification of the disputed document (invoice, order, delivery), the nature of the disagreement, the contested amounts and the related supporting evidence. It sits in the invoicing → dispute → resolution cycle ahead of any payment hold.

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

Segment structure

The COMDIS D.18B message has 26 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×9
00040DTMDate/time/periodC×9
00050CUXCurrenciesC×9
00060  SG1Group (×99)C×99
00070  NADName and addressM1
00080  CTAContact informationC1
00090  COMCommunication contactC×5
00100    SG2Group (×9999)C×9999
00110    DOCDocument/message detailsM1
00120    DTMDate/time/periodC×9
00130    MOAMonetary amountC×2
00140      SG3Group (×9)C×9
00150      AJTAdjustment detailsM1
00160      FTXFree textC×9
00170        SG4Group (×9)C×9
00180        INPParties and instructionM1
00190        FTXFree textC×9
00200          SG5Group (×9999)C×9999
00210          DLIDocument line identificationM1
00220          MOAMonetary amountC×2
00230            SG6Group (×9)C×9
00240            AJTAdjustment detailsM1
00250            FTXFree textC×9
00260UNTMessage 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.18B for the COMDIS 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.

Structural example

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

edifact comdis-d18b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL018001'
UNH+1+COMDIS:D:18B:UN'
BGM+706+COMDIS-2026-D-0073+9'
RFF+IV:INV-2026-7811'
DTM+171:20260512:102'
CUX+2:EUR:4'
NAD+BY+5410000000123::9'
NAD+SU+5410000000456::9'
CTA+IC+:Litiges Comptabilité'
COM+litiges@example.com:EM'
DOC+380+INV-2026-7811'
MOA+125:420.00'
AJT+1+:::Quantity discrepancy on line 1'
INP+8+:Return delivery in progress'
DLI+1+1++3520000001234:EN'
UNT+15+1'
UNZ+1+CTRL018001'

Common errors

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

X12 functional equivalent: X12 826.

← All EDIFACT versions