Skip to main content

Air Cargo Manifest

A flight cargo manifest for a freighter departure, kept in the flight file by the airline's cargo office — the airline counterpart of the trucking run manifest.

  • Flight, routing and manifest at a glance. Flight number, date, aircraft and scheduled times, origin and destination, and the manifest number as a scannable Code 128.
  • A ULD build-up table from data. Driven by source, one row per unit load device with its position, nature of goods, shipper and consignee, pieces, weight and volume.
  • A barcode on every air waybill. Each row sets a Code 128 of its air waybill above the number, and the special-handling codes in monospace.
  • Flight totals. Units, air waybills, pieces, weight and volume, summed in a band above the table and in its closing row.
  • A dangerous-goods NOTOC panel. Red-bordered, with the dangerous-goods line, the notification to captain and the emergency contact.
  • Acceptance signatures. Numbered build-up and transfer notes, then loadmaster and captain ink signatures drawn as SVG, beside a transfer check left to sign at breakdown.
  • Plus a carrier header with a drawn aircraft mark, a footer with live page numbers, a faint FLIGHT FILE watermark and the legal conditions at the foot.

Features used: PDF/A-2b conformance, watermarks, columns, tables, lists, rules, SVG, barcodes (code128), data binding, headers and footers

How it's built​

A barcode on every air waybill​

The ULD table names $data.uld as its source. The header row carries no $item token, so it is drawn once; the row that does is a template, drawn once per ULD; the totals row reads only $data and is drawn once, after them. The first cell sets a Code 128 of the air waybill above its number with the inline [barcode, type, value, width|height] shortcode, and Mono is the monospaced face the document declares in fonts. Here trimmed to three of its seven columns:

{ "table": { "style": "uldTable", "widths": [1.5, 0.95, 2.6], "source": "$data.uld", "rows": [
[ { "th": "AWB / SCAN", "style": "th" }, { "th": "ULD · POSITION", "style": "th" }, { "th": "NATURE OF GOODS · PARTIES", "style": "th" } ],
[ { "td": "[barcode, code128, $item.awb, 74|14][br][font, Mono][fontsize, 6.5]$item.awb[/fontsize][/font]", "style": "awbCell" },
{ "td": "[font, Mono][fontsize, 7]$item.id[/fontsize][/font][br][fontsize, 6.5][color, #7986CB]$item.position[/color][/fontsize]", "style": "uldCell" },
{ "td": "[fontsize, 7.5][b]$item.nature[/b][/fontsize][br][fontsize, 6.5]$item.shipper → $item.consignee[/fontsize]", "style": "uldCell" } ],
[ { "p": "FLIGHT TOTALS — $data.totals.uld · $data.totals.awb", "style": "totalsLabel", "colspan": 3 } ]
] } }

The build-up notes come from data the same way: a list with a source and a map draws one item per entry.

{ "ol": { "source": "$data.notes", "map": "$item.note", "style": "noteList" } }

See Tables, Data source and Barcodes.

Ink signatures drawn as SVG​

Each acceptance box holds a borderless table: an svg row with the signature, then the signer's name and date over a hairline. The signature is two paths, a stroke and a fine underline flourish; sigInk draws 1.4 pt with round caps and joins and no fill, sigInkFine 0.7 pt.

{ "svg": { "viewBox": [120, 26], "width": 92, "children": [
{ "path": { "d": "M9 17 C13 5 19 7 18 12 C17 17 24 9 31 13 C37 16 35 20 44 15 C52 10 58 17 66 12 C74 7 84 16 96 11", "style": "sigInk" } },
{ "path": { "d": "M7 21 C34 24 70 22 102 17", "style": "sigInkFine" } }
] } }

Change the d of the first path to give each signer a hand of their own; see SVG.