intermodal/calculate
billingTimeline: Lay out the deadline chain around a demurrage or detention invoice: the last date it may be issued, the last date it may be disputed, and the last date the dispute must be resolved.chargeableDays: Count the days a container is charged for between the start of its clock and its exit, and list the dates behind the count.demurrageClock: Pick the two events a charge’s clock runs between.freeTimeExpiry: Lay out a container’s free time from the instant its clock started, and say when it ends.multimodalETA: Compute an end-to-end ETA across the legs of a multimodal move, and report the time in transit and the time in dwell separately.
BillingDates: The dates a billing timeline is counted from: the anchor, and the invoice and request once they exist.BillingDeadlines: WhatbillingTimelinereturns: each deadline as an ISO date, and each comparison once its date exists.BillingWindows: The three windows the caller supplies, in calendar days, none defaulted, and an optional agreed resolution date.ClockDirection: Which leg of the container’s cycle the clock is on.ClockEvent: A container event: what happened and the instant it happened.ClockEventType: The events a container’s charging clocks run between, named after the DCSA Track & Trace equipment events they correspond to (equipmentEventTypeCodewithemptyIndicatorCode):ClockOptions: The optionsdemurrageClockreads.ClockScope: Which charge is being clocked.ClockStartEvent: Where an import demurrage, storage or combined clock starts, when the tariff says so.FreeTime: WhatfreeTimeExpiryreturns: the free-time window as local dates, and the instant it ends.FreeTimeChargeOptions:FreeTimeOptionsplus how charged days are counted, and the optional tier boundaries.FreeTimeCharges: WhatchargeableDaysreturns: the day count an invoice bills, and the dates that back it.MultimodalJourney: WhatmultimodalETAreturns: the end-to-end ETA, with the time moving and the time waiting kept apart.TierBand: A band of chargeable-day ordinals and how many of the charged days fell in it.
Accessibility
© 2026 NorthGuild · Licences
Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.