About this calculator
BAPLIE (Bayplan/Stowage Plan Occupied and Empty Locations) is the UN/EDIFACT message that carriers, terminals and stowage centres use to exchange the contents of a container ship: every slot position, container number, ISO size-type, weight, ports of loading and discharge, operator, dangerous goods (DG), reefers and out-of-gauge cargo. The text format is dense, for example LOC+147+0020282::5', so it is hard to read without planning software.
This viewer reads BAPLIE 2.x (directory D.95B, including SMDG 2.2.1 with VGM) and BAPLIE 3.x (D.13B, SMDG 3.1.1) following the SMDG Message Implementation Guides. Once you pick a file you get a vessel and voyage summary, containers and TEU per port of discharge (POD), total weight, DG and reefer counts, and a bay plan view: a row × tier grid for every 40-foot bay, deck above and hold below, coloured by POD, operator, weight or cargo type. Click a slot to see the container details.
Automatic validation checks the UNT/UNZ control counts, mandatory segments, qualifier codes, the ISO 9711 position format (BBBRRTT), double-booked slots, 40-footers overlapping 20-foot cells, the ISO 6346 check digit and the SOLAS VGM status. Your file is never sent to a server or stored: all processing happens in your browser. Results can be exported to CSV for Excel. To plan the load, calculate stability and export a validated BAPLIE, continue in the Vessel Planner.
Worked example
A BAPLIE 2.2 fragment for one container:
LOC+147+0020282::5'
MEA+VGM++KGM:24713'
LOC+9+IDSUB'
LOC+11+IDBPN'
RFF+BM:1'
EQD+CN+CSQU3054383+45G1+++5'
NAD+CA+NBL:172:20'
The viewer reads it as: bay 002 (40-foot), row 02 (port), tier 82 (deck), container CSQU 305438 3 (check digit 3 is valid), type 45G1 = 40-foot high cube 9'6" (2 TEU), full, VGM 24.7 t verified, loaded in Surabaya (IDSUB), discharged in Balikpapan (IDBPN), operator NBL.
How to use it
Choose a BAPLIE file
Click "Choose file" or drop an .edi/.txt file on the upload box. You can also paste the EDIFACT text or load the fictitious sample.
Read the summary and validation
Check the BAPLIE version, vessel, voyage, containers per POD, weight, DG, reefers and the list of errors or warnings.
Browse the bay plan
Pick a bay, switch the colouring (POD, operator, weight, type) and click a slot to see the container number, ISO type, weight and ports.
Export or continue
Download a CSV for Excel, or open the Vessel Planner to plan the whole ship and export a validated BAPLIE.