Reference the booking number from the accepted EDI 301 in the B2A segment of the 304 transaction set
Populate cargo description, HS codes, weights, and marks in the L5, L0, and L1 segments
Include hazmat details in the H1/H2/H3 segments if applicable, following IMDG class and UN number conventions
Specify shipper, consignee, and notify party details in the N1 loop with correct qualifier codes (SH, CN, NO)
Transmit via the carrier's AS2 or SFTP EDI channel and confirm receipt with the 997 acknowledgment before the documentation cut-off deadline
Known gotchas
The 304 must reference the exact booking number from the 301 confirmation; a mismatch will cause the carrier's system to reject or orphan the instructions
Documentation cut-off times are typically 24–48 hours before vessel departure; late 304 submissions may not be processed
Dangerous goods in the H1 segment require the IMDG class, UN number, and packing group to be correct and consistent with the shipper's declaration
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp