BAPLIE — EDIFACT Bay Plan / Stowage Plan (D.05A)
The BAPLIE message is the loading plan of a container vessel: it describes the physical position of each container (bay, row, tier), whether loaded, empty or planned, with its weight, IMDG class and contents. It is the central exchange between terminals and carriers. This page summarises the segment structure as published by UN/CEFACT for directory D.05A.
Purpose
The BAPLIE message is the loading plan of a container vessel: it describes the physical position of each container (bay, row, tier), whether loaded, empty or planned, with its weight, IMDG class and contents. It is the central exchange between terminals and carriers.
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 baplie_c.htm hosted on service.unece.org.
Segment structure
The BAPLIE D.05A message has 37 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 | DTM | Date/time/period | M | 1 |
0040 | SG1 | Group (×9) | C | ×9 |
0050 | RFF | Reference | M | 1 |
0060 | DTM | Date/time/period | C | ×9 |
0070 | SG2 | Group (×9) | C | ×9 |
0080 | NAD | Name and address | M | 1 |
0090 | SG3 | Group (×9) | C | ×9 |
0100 | CTA | Contact information | M | 1 |
0110 | COM | Communication contact | C | ×9 |
0120 | SG4 | Group (×3) | M | ×3 |
0130 | TDT | Transport information | M | 1 |
0140 | LOC | Place/location identification | M | ×2 |
0150 | DTM | Date/time/period | M | ×99 |
0160 | RFF | Reference | C | 1 |
0170 | FTX | Free text | C | 1 |
0180 | SG5 | Group (×9999) | C | ×9999 |
0190 | LOC | Place/location identification | M | 1 |
0200 | GID | Goods item details | C | 1 |
0210 | GDS | Nature of cargo | C | 1 |
0220 | FTX | Free text | C | ×9 |
0230 | MEA | Measurements | M | ×9 |
0240 | DIM | Dimensions | C | ×9 |
0250 | TMP | Temperature | C | 1 |
0260 | RNG | Range details | C | 1 |
0270 | LOC | Place/location identification | C | ×9 |
0280 | RFF | Reference | M | 1 |
0290 | SG6 | Group (×3) | C | ×3 |
0300 | EQD | Equipment details | M | 1 |
0310 | EQA | Attached equipment | C | ×9 |
0320 | NAD | Name and address | C | ×9 |
0330 | RFF | Reference | C | ×9 |
0340 | SG7 | Group (×999) | C | ×999 |
0350 | DGS | Dangerous goods | M | 1 |
0360 | FTX | Free text | C | 1 |
0370 | 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.05A for the BAPLIE 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
CTAin the header section (status M, repeat ×1) — not present at the top of the corresponding D.96A section.COMin the header section (status C, repeat ×9) — not present at the top of the corresponding D.96A section.
Status changes (M ↔ C)
NAD(header): status C in D.96A → M in D.05A.
Max-repeat changes
NAD(header): repeat ×3 in D.96A → ×1 in D.05A.
Structural example
Minimal example of an BAPLIE D.05A message with mandatory segments only. The goal is to show the exact version declared in UNH (BAPLIE:D:05A:UN) — not to replicate a full business case (see the BAPLIE D.96A page for an annotated example).
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL005001'
UNH+1+BAPLIE:D:05A:UN'
BGM+244+BAPLIE-2026-MSC1234+9'
DTM+137:202605141430:203'
TDT+20+MSC1234W+1++MSC::ZZZ+++9301234:103:::MSC OSCAR'
LOC+5+FRLEH::6'
LOC+147+0010186::ZZZ'
EQD+CN+MSCU1234567+45G1+++5'
MEA+AAE+G+KGM:24500'
UNT+8+1'
UNZ+1+CTRL005001' Common errors
- Misaligned UNH tokens — The
UNH+...+BAPLIE:D:05A: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.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.
Related messages
Other versions of this message available on ediverse.io: BAPLIE D.96A, BAPLIE D.01B, BAPLIE D.10A, BAPLIE D.16B, BAPLIE D.21B, BAPLIE D.24A, BAPLIE D.97A, BAPLIE D.99B, BAPLIE D.00B, BAPLIE D.02B, BAPLIE D.08A, BAPLIE D.13B, BAPLIE D.18B, BAPLIE D.20B.