Ocean Container Manifest
A container loading manifest for a deep-sea sailing, prepared by the shipping line and filed by the port with the terminal load list.
- Vessel, voyage and ports up top. The vessel with its IMO number and flag, the voyage and manifest numbers, the ports of loading and discharge with departure, arrival and cargo cut-off.
- The load list in a PDF417. The symbol carries the structured EDI load list, so container, VGM and port pairs travel with the page.
- A container table from data. Driven by
source: container number and type, seal and bill-of-lading reference in monospace, cargo with shipper and consignee, and customs status. - Verified gross mass. SOLAS VGM for every container, with voyage totals of containers, TEU and weight, and a note on how the mass was weighed.
- Reefer and dangerous-goods panels. One for reefer stowage, one for the IMDG declarations with the emergency contact.
- Sign-offs. The vessel planner's and chief officer's drawn signatures, beside a terminal gate-out box for checking seals at the gate.
- Plus a shipping-line header, a footer with live page numbers, a faint
PORT COPYwatermark and the legal conditions at the foot.
Features used: PDF/A-2b conformance, watermarks, columns, tables, rules, SVG, barcodes (pdf417), data binding, headers and footers
- Output
- Template
- Data
How it's built
The load list inside a PDF417
The identification block's third column carries the whole EDI load list as a PDF417: the vessel, voyage, port pair, sailing date, container count, total VGM and every container number travel in the symbol, so a terminal system reads the manifest without retyping it. The inline [barcode, pdf417, value, width|height] shortcode reads $data.voyage.edi, a plain string in the data (MFST+NSPI041W+CAVAN+JPYOK+20260814+8CTR+142640KG+NSTU4023187:…). That column alone:
{ "table": { "style": "metaTable", "widths": [1], "rows": [
[ { "th": "EDI LOAD LIST", "style": "metaHead" } ],
[ { "td": "[barcode, pdf417, $data.voyage.edi, 126|34][br][fontsize, 6.5][color, #5E8DA0]Scan for the structured load list — container, VGM, and port pairs travel in the symbol[/color][/fontsize]", "style": "metaBarcodeCell" } ]
] } }
One row per container
The container table names $data.containers as its source, and its second row, written with $item tokens, is drawn once per box. Identifiers that a clerk compares character by character - the container number, the seal and the bill of lading - are set in Mono, the monospaced face the document declares in fonts. Trimmed to three of its six columns:
{ "table": { "style": "boxTable", "widths": [1.35, 0.8, 1.05], "source": "$data.containers", "rows": [
[ { "th": "CONTAINER · TYPE", "style": "th" }, { "th": "SEAL", "style": "th" }, { "th": "B/L REF.", "style": "th" } ],
[ { "td": "[font, Mono][fontsize, 7.5]$item.number[/fontsize][/font][br][fontsize, 6.5][color, #5E8DA0]$item.type[/color][/fontsize]" },
{ "td": "[font, Mono][fontsize, 7]$item.seal[/fontsize][/font]" },
{ "td": "[font, Mono][fontsize, 7]$item.bl[/fontsize][/font]" } ]
] } }
Reefer and IMDG panels
Each panel is a one-column table: a coloured header cell, then one cell of lines from data. The panel style holds the frame and breakInside: "avoid", so a panel is never split across two pages; the IMDG panel takes the same shape with a red 1 pt frame (dgPanel) and a red header (dgHead).
{ "table": { "style": "reeferPanel", "widths": [1], "rows": [
[ { "th": "REEFER STOWAGE", "style": "reeferHead" } ],
[ { "td": "[font, Mono][fontsize, 7.5]$data.reefer.line[/fontsize][/font][br][fontsize, 7.5]$data.reefer.note[/fontsize]", "style": "reeferCell" } ]
] } }