COMDIS — EDIFACT Commercial Dispute Message (D.99B)
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.99B.
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.99B. 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.99B 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.
Header
| Pos. | Tag | Name | S | Rep. |
|---|---|---|---|---|
0010 | UNH | Message header | M | 1 |
0020 | BGM | Beginning of message | M | 1 |
0030 | RFF | Reference | C | ×9 |
0040 | DTM | Date/time/period | C | ×9 |
0050 | CUX | Currencies | C | ×9 |
0060 | SG1 | Group (×99) | C | ×99 |
0070 | NAD | Name and address | M | 1 |
0080 | CTA | Contact information | C | 1 |
0090 | COM | Communication contact | C | ×5 |
0100 | SG2 | Group (×9999) | C | ×9999 |
0110 | DOC | Document/message details | M | 1 |
0120 | DTM | Date/time/period | C | ×9 |
0130 | MOA | Monetary amount | C | ×2 |
0140 | SG3 | Group (×9) | C | ×9 |
0150 | AJT | Adjustment details | M | 1 |
0160 | FTX | Free text | C | ×9 |
0170 | SG4 | Group (×9) | C | ×9 |
0180 | INP | Parties and instruction | M | 1 |
0190 | FTX | Free text | C | ×9 |
0200 | SG5 | Group (×9999) | C | ×9999 |
0210 | DLI | Document line identification | M | 1 |
0220 | MOA | Monetary amount | C | ×2 |
0230 | SG6 | Group (×9) | C | ×9 |
0240 | AJT | Adjustment details | M | 1 |
0250 | FTX | Free text | C | ×9 |
0260 | UNT | Message trailer | M | 1 |
Detail
No segment in this section.
Summary
No segment in this section.
Changes vs D.96A
Top-level differences between D.96A and D.99B 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
CUXin 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.99B message with mandatory segments only. The goal is to show the exact version declared in UNH (COMDIS:D:99B:UN) — not to replicate a full business case (see the COMDIS D.96A page for an annotated example).
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL099001'
UNH+1+COMDIS:D:99B: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+CTRL099001' Common errors
- Misaligned UNH tokens — The
UNH+...+COMDIS:D:99B:UNtoken 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.99B, 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.
Related messages
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.05A, COMDIS D.08A, COMDIS D.18B.
X12 functional equivalent: X12 826.