ModulesShipments
Modules

Shipments in Jules

How Jules groups containers into shipments, tracks vessels in real time, manages documentation workflows, and monitors demurrage and detention.

Shipments in Jules

Product documentation — A shipment groups containers traveling under the same Bill of Lading. It is the primary entity for cargo tracking, documentation management, and delivery monitoring.


Table of Contents

  1. Overview
  2. Shipment Structure
  3. Creating a Shipment
  4. Tracking: Location & Timing
  5. Manual vs Automatic Tracking
  6. Container-Level Tracking
  7. Documentation Workflow
  8. Letter of Credit Integration
  9. Demurrage & Detention Monitoring
  10. Shipment Owners & Watchers
  11. Filtering & Sorting
  12. Relationships with Other Modules
  13. Key Business Rules
  14. Glossary

Overview

A shipment in Jules represents a group of containers traveling together under a common Bill of Lading (BL). While bookings reserve space and containers carry physical cargo, the shipment is the entity that tracks the journey from departure to arrival.

Shipments are the primary workspace for the logistics and documentation teams. They provide real-time visibility into where cargo is, when it will arrive, and what documentation status it has.


Shipment Structure

Core fields

FieldDescriptionExample
Harold numberSystem-generated unique IDSHIP-2026-0441
BL numberBill of Lading numberMSC-BL-2026-0441
Reference numberExternal referenceREF-2026-0042
VesselShip and voyage informationMSC Valentina — 024W
Shipping lineCarrierMSC
Logistic forwarderFreight forwarderGeodis
Pre-carriage lineInland transport providerXPO Logistics
Port(s) of loadingDeparture port(s)New York
Port(s) of destinationArrival port(s)Iskenderun
Number of containersContainer count20
FieldDescription
BL typeClassification of the Bill of Lading
HBL numberHouse Bill of Lading number (when using forwarder)
MBL numberMaster Bill of Lading number
TelexTelex release reference
Release typeHow cargo is released at destination

Release types

TypeDescription
BILL_OF_LADINGOriginal BL required for cargo release
EXPRESS_RELEASEElectronic release, no original needed
SEAWAY_BILLNon-negotiable transport document
TELEXTelex release instruction
OBLOriginal Bill of Lading
RATED_MBL / RATED_HBLRated Master/House BL
TELEXED_MBL / TELEXED_HBLTelexed Master/House BL
OBL_PRINT_AT_PODOriginal BL to be printed at port of destination
SWB_TELEXSeaway Bill with telex

Creating a Shipment

Shipments can be created in two ways:

1. Manual creation (upsert)

Create a shipment by selecting containers and specifying the BL number:

FieldRequired
BL numberYes
Container IDsYes
Shipping lineOptional
Port of loading / destinationOptional
D&D termsOptional

2. Automatic grouping

When containers are loaded and a BL is issued, Jules can automatically group containers with the same BL number into a shipment via upsertShipmentsByBLNumber.


Tracking: Location & Timing

Jules provides real-time cargo tracking through two status dimensions:

Location status

StatusMeaning
AT_ORIGINContainers are at the loading port
LOADEDLoaded onto the vessel
IN_TRANSITVessel is sailing
TRANSSHIPMENTContainer being transferred between vessels
REACHED_PODArrived at port of destination
REACHED_DESTINATION_PORTAt final destination port
COMPLETEDDelivery fully complete

Timing status

StatusMeaning
ON_TIMEShipment is on schedule
DELAYEDShipment is behind schedule
EARLY_ARRIVALShipment arrived ahead of schedule

Key tracking dates

FieldDescription
Estimated sailing datePlanned departure
Actual sailing dateWhen the vessel actually departed
Original ETAFirst estimated arrival date
Current ETALatest estimated arrival (updated during transit)
Final ETAFinal confirmed arrival date
Actual arrival at PODWhen the vessel actually arrived
Empty container timeWhen containers were returned empty
Days to ETACountdown to arrival
Expected transit daysExpected duration of the voyage

Tracking events (transshipments)

Jules records transshipment events via ContainerToTranshipment, tracking intermediate port calls with vessel transfers.


Manual vs Automatic Tracking

Jules supports both tracking modes:

Automatic tracking

  • Tracking data is pulled from tracking APIs (carrier/port integrations)
  • refreshShipmentsTracking triggers an update from external sources
  • trackingApiUpdatedAt records the last API refresh timestamp
  • A trackedContainer is designated as the reference container for tracking the shipment

Manual tracking overrides

When automatic tracking is unavailable or incorrect, users can set manual values:

Manual fieldOverrides
manualLocationStatusLocation status
manualTimingStatusTiming status
manualCurrentEtaCurrent ETA
manualTrackingEventLatest tracking event
manualActualSailingDateSailing date
manualActualArrivalPodArrival date at POD
manualEmptyContainerTimeEmpty return date

trackingManualUpdatedAt records when the last manual update was made.


Container-Level Tracking

Beyond shipment-level tracking, Jules tracks each container individually via ShipmentContainer:

FieldDescription
Container referencePhysical container number
D&D accruedDemurrage and detention charges for this container
Empty container timeWhen this specific container was returned
Timing statusON_TIME, DELAYED, or EARLY_ARRIVAL
Tracking eventLatest event for this container
Empty pickup at originWhen empty was collected at origin
Gated in at POLWhen container entered the loading port
Gated out at PODWhen container left the destination port

Container-level tracking is updated via updateShipmentContainersTracking.


Documentation Workflow

Shipment documentation follows a tracked workflow:

StatusMeaningTypical action
TO_STARTDocumentation not yet begunBL draft not requested
DRAFT_SHAREDDraft BL sent for reviewCustomer reviews BL details
APPROVEDBL terms approvedCustomer confirms BL
PAYMENT_RECEIVEDPayment received (for LC trades)Payment confirmed before doc release
SENT_TO_CLIENTFinal documents sentOriginal BL / telex sent to customer

Documentation dates

FieldDescription
Bill of Lading dateDate of BL issuance
Doc release dateWhen documents were released
BTC dateBill to carrier date
Last shipment dateLatest date for this shipment
Date of receiptWhen documents were received

Shipping info and VGM flags

FlagDescription
isShippingInfoSentWhether shipping instructions have been sent to the carrier
isVGMSentWhether Verified Gross Mass declarations have been submitted

Letter of Credit Integration

Shipments can be linked to a Letter of Credit for trade finance:

FieldDescription
Letter of CreditLink to the LC entity in Jules
LC numberReference number
LC bank of issueIssuing bank
LC bank of advisingAdvising bank
LC bank of confirmingConfirming bank
LC date of issueWhen the LC was issued
LC ETDRequired departure date per LC terms
LC payment clausePayment terms
LC period presentationDays to present documents
LC statusCurrent status of the LC
LC typeType of LC (irrevocable, confirmed, etc.)
Ref number of issuing bankBank's internal reference
Insured amountInsurance coverage amount

Demurrage & Detention Monitoring

FieldDescription
DemurrageDaily charge at port (days)
DetentionDaily charge outside port (days)
Free timeDays before charges begin
Free time limitDate when charges start
D&D accruedTotal demurrage and detention accumulated (days)

Jules provides filters to quickly identify shipments where free time has expired (isFreeTimePassed) and sort by freeTimeLimit to prioritize urgent container returns.


Shipment Owners & Watchers

RoleDescription
OwnersUsers responsible for this shipment (can be multiple)
WatchersUsers subscribed to notifications about this shipment
Doc created byUser who generated the documentation

Filtering & Sorting

Jules provides extensive filtering for shipment management:

Key filters

FilterDescription
Location statusWhere the cargo is (AT_ORIGIN, IN_TRANSIT, etc.)
Timing statusON_TIME, DELAYED, EARLY_ARRIVAL
Doc statusDocumentation workflow stage
Current ETADate range for expected arrival
Free time limitDate range for D&D deadline
Days to ETANumeric filter (e.g., < 5 days)
Shipping linesFilter by carrier
Port of loading / destinationFilter by route
Has pending tasksShipments with outstanding action items
Is tracked automaticallyWhether tracking is from API or manual

Sort options

SortDirection
Current ETAASC / DESC
D&D accruedASC / DESC
Created atASC / DESC
Loading dateASC / DESC
Days to ETAASC / DESC
Free time limitASC / DESC

Relationships with Other Modules

ModuleRelationship
BookingsFreight bookings whose containers form this shipment
ContainersPhysical units in the shipment
AllocationsCommercial pairings represented in this shipment
VesselThe ship carrying the cargo
InvoicesSale and purchase invoices linked to this shipment
PDFsGenerated documents (BL, packing list, etc.)
TasksAction items tracked per shipment
Letter of CreditTrade finance instrument covering this shipment
OperationsBuy and sell operations whose cargo is on this shipment
Pre-CarriageInland transport legs feeding this shipment

Key Business Rules

1. BL as primary identifier

The BL number is the primary external identifier for a shipment. Multiple containers sharing the same BL are grouped into one shipment.

2. Harold numbering

Every shipment receives a unique Harold number from the system.

3. Multi-port support

A shipment can have multiple ports of loading and multiple ports of destination, reflecting complex routing with transshipments.

4. Tracked container

Each shipment designates one tracked container as the reference for shipment-level tracking. This container's position represents the shipment's position.

5. Stepper configuration

Like allocations, shipments use a configurable stepper system for workflow customization per organization.

6. Daily quantities

Jules tracks daily loading and delivery quantities for operational planning via loadingsDailyQuantities and deliveriesDailyQuantities.

7. Portal visibility

Shipment data is selectively visible to external portal users:

  • Supplier companies can see port of loading
  • Customer companies can see port of destination
  • Internal fields (costs, margins) are hidden from portal users

Glossary

TermDefinition
BL (Bill of Lading)The main transport document issued by the carrier, serving as receipt of cargo and title document
D&DDemurrage and Detention — charges for keeping containers beyond free time
Doc statusThe documentation workflow stage (TO_START → SENT_TO_CLIENT)
ETAEstimated Time of Arrival
ETDEstimated Time of Departure
Free timeDays a container can stay at port/outside port without incurring D&D charges
Free time limitThe date when D&D charges begin
HBLHouse Bill of Lading — issued by a freight forwarder
LC (Letter of Credit)Trade finance instrument guaranteeing payment upon presentation of documents
Location statusWhere the cargo is in its journey (AT_ORIGIN → COMPLETED)
MBLMaster Bill of Lading — issued by the carrier
NORNotice of Readiness — notification that the vessel is ready to load or discharge
Release typeHow cargo is released at destination (original BL, telex, express, etc.)
ShipmentA group of containers traveling under the same BL
Timing statusWhether the shipment is ON_TIME, DELAYED, or EARLY_ARRIVAL
Tracked containerThe reference container used for shipment-level tracking
TransshipmentTransfer of containers from one vessel to another at an intermediate port
VGMVerified Gross Mass — mandatory weight declaration for each container