Version: 1.0
Date: 27-03-2026
Classification: Confidential
A B2B SaaS platform that enables end-to-end logistics tracking of containerized cargo across multi-modal transportation (road → vessel → road), integrated with government-approved bolt seal vendor Sepio Products, and a third-party vessel tracking provider. The platform serves insurance and compliance purposes by maintaining an auditable record of container integrity throughout transit.
Key Actors:
Customer completes a multi-step onboarding form capturing:
unassigned) linked to the customer.Customer creates a trip for a container, providing:
in-use.Completed.Draft, In Transit, At Port, On Vessel, Delivered, Completed.3-Tier Web Application with a decoupled frontend, RESTful backend API, and a relational database. Third-party integrations are isolated behind an internal adapter/service layer. Both the web portal and mobile/desktop applications consume the same backend API.
┌───────────────────────────────────────────────────────────────────┐
│ Clients │
│ Web Portal Mobile App Desktop App │
│ (System User / (Customer) (Customer) │
│ Customer) │
└──────────┬──────────────────┬──────────────────┬──────────────────┘
│ │ │
└──────────────────▼──────────────────┘
│ HTTPS / REST
▼
┌───────────────────────────────────────────────────────────────────┐
│ Backend API (Node.js) │
│ │
│ ┌────────────┐ ┌────────────┐ ┌────────────────────┐ │
│ │ Auth │ │ Customer │ │ Trip Management │ │
│ │ Module │ │ Module │ │ Module │ │
│ └────────────┘ └────────────┘ └────────────────────┘ │
│ ┌────────────┐ ┌────────────┐ ┌────────────────────┐ │
│ │ Seal & │ │ Order │ │ Notifications │ │
│ │ Rate Mgmt │ │ Module │ │ Module │ │
│ └────────────┘ └────────────┘ └────────────────────┘ │
│ │
│ ┌─────────────────────────────────────────────────────────────┐ │
│ │ Third-Party Adapter Layer │ │
│ │ ┌──────────────────┐ ┌──────────────────────────┐ │ │
│ │ │ Sepio Adapter │ │ Vessel Tracking Adapter │ │ │
│ │ └──────────────────┘ └──────────────────────────┘ │ │
│ └───────────────────────────────────────────────────────── ───┘ │
└──────────────────────────────┬────────────────────────────────────┘
│
┌───────────────┴──────────────────┐
▼ ▼
┌──────────────────────────┐ ┌─────────────────────────────────┐
│ PostgreSQL DB │ │ External APIs │
│ (Primary Store) │ │ - Sepio APIs │
└──────────────────────────┘ │ - Vessel Tracking API │
│ - Email Service (SMTP/SES) │
└─────────────────────────────────┘System User fills customer form → Platform creates Customer record (status: Pending) → Platform sends welcome email with login credentials → Customer receives email
Customer logs in via web portal or application → Completes onboarding form (company, GST, KYC fields) → Platform calls Sepio Onboarding API (passes customer data) → Sepio sends OTP to customer mobile/email → Customer enters OTP on platform → Platform calls Sepio OTP Verification API → On success → Customer status: Active / Onboarded
Customer enters desired quantity → Platform calculates price from tiered rate config → Customer reviews invoice summary and confirms → Platform calls Sepio Order API (customer ID, quantity) → Sepio returns [seal_number_1, seal_number_2, ...] → Platform stores seals (status: Unassigned) → Customer views Sepio shipment tracking on portal or application
Customer fills trip form (vehicle, driver, container, cargo, locations) → Customer selects an Unassigned seal from their inventory → Platform creates Trip record (status: In Transit) → Seal status updated to: In Use → Platform calls Sepio Seal Assignment API (seal number + trip metadata) → Sepio registers seal as active for customs validation
[Background Job] → Platform polls Sepio Seal Status API for all active seals → Updates seal_status on trip (Valid / Tampered / Broken / Unknown) → Customer views status on Trip Detail page via web or application (informational only)
Customer's staff adds vessel information to the trip (via web or application)
→ Platform calls Vessel Tracking API (container/vessel identifiers)
→ [Background Job] polls Vessel API for position updates
→ Platform displays route, current position, ETA
→ On container departure from destination port:
→ Platform marks vessel leg as Complete
→ Tracking stopsCustomer's staff opens trip on portal or application → Submits final delivery confirmation (date, receiving party, notes) → Trip status → Completed → All trip data locked (read-only)
End of Document