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

CASRES — EDIFACT Legal Administration Response in Civil Proceedings Message (D.21B)

The CASRES message is the legal administration’s formal response to a CASINT request lodged earlier in a civil proceeding: it carries the reference to the initial request, the decision taken (accepted, rejected, conditional), case-file references and the related deadlines. Its scope is the administration ↔ requester exchange. This page summarises the segment structure as published by UN/CEFACT for directory D.21B.

Purpose

The CASRES message is the legal administration’s formal response to a CASINT request lodged earlier in a civil proceeding: it carries the reference to the initial request, the decision taken (accepted, rejected, conditional), case-file references and the related deadlines. Its scope is the administration ↔ requester exchange.

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

Segment structure

The CASRES D.21B message has 8 header entries, 12 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×9
00040ERCApplication error informationC×9
00050LOCPlace/location identificationC×9
00060RFFReferenceC×9
00070MOAMonetary amountC×99
00080FTXFree textC×9

Detail

Pos.TagNameSRep.
00090  SG1Group (×99)C×99
00100  NADName and addressM1
00110  SEQSequence detailsC1
00120  FTXFree textC×9
00130    SG2Group (×99)C×99
00140    DOCDocument/message detailsM1
00150    GIRRelated identification numbersC×99
00160    PYTPayment termsC1
00170    DTMDate/time/periodC×9
00180    MOAMonetary amountC×99
00190    FTXFree textC×9
00200UNTMessage trailerM1

Summary

No segment in this section.

Changes vs D.96A

The CASRES message is not published in directory D.96A. No "D.96A → D.21B" comparison line can therefore be produced — see the block below for details.

This message is not published in directory D.96A: it was introduced into the standard after that release and therefore has no historical baseline for comparison. The first directory indexed on ediverse.io sets the reference; later changes are then documented from one release to the next in subsequent directories.

Structural example

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

edifact casres-d21b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL021001'
UNH+1+CASRES:D:21B:UN'
BGM+710+CASRES-2026-CIV-0042+9'
DTM+137:20260514:102'
RFF+AGA:CASE-2026-0042'
NAD+MS+5410000000123::9'
NAD+MR+5410000000456::9'
UNT+7+1'
UNZ+1+CTRL021001'

Common errors

  • Misaligned UNH tokens — The UNH+...+CASRES: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: CASRES D.10A, CASRES D.16B, CASRES D.24A.

← All EDIFACT versions