Executive Summary
Vision Statement
To build a global freight ERP that democratizes enterprise-class supply chain orchestration. Enabling operators to run road, air, ocean, rail, and courier logistics on a single double-entry financial ledger.
Mission Statement
To eliminate global supply chain fragmentation by providing a unified SaaS ecosystem that bridges shippers, freight forwarders, carriers, agents, customs brokers, and customers.
Business Goals
- Scale Readiness: Out-of-the-box infrastructure capable of supporting over 10,000 corporate tenants and 500 million shipment records per year.
- Operations Automation: Automate 90% of repeatable tasks (e.g., manifest generation, automated tariff lookups, and invoice matching) using decoupled rule engines.
- Global Expansion & Fiscalization: Compliance with multi-region accounting rules, customs networks (C-TPAT, AEO, NCTS), and secure fiscal setups.
Competitive Advantages
Unified Multi-Modal Ledger
Unlike siloed software, a single container or master waybill tracking file spans sea, air, rail, and road tracking states sequentially on one transactional timeline.
Enterprise Financial Subledger
True double-entry subledger tracking that handles multi-currency transactions, automatic exchange rate freezes, and accounting validations natively.
Product Scope
The ERP platform comprises high-performing modular core components running on a resilient messaging bus.
Core Architecture Modules
Multi-Modal Operations Engine
Handles the creation of operations sheets, House and Master Bills of Lading, airway bills, customs status alerts, and multi-leg consolidation routing.
Warehouse WMS
Advanced cross-dock control, warehouse inventory management, bin placement optimization, barcode tracking, and digital packing list reconciliation.
Module Communication Map
User Types & RBAC
Strict tenant-isolated Role-Based Access Control (RBAC) governing data reads and mutation triggers.
Business Workflows
Functional Requirements
Non-Functional Requirements
System Architecture
Database Planning
API Standards
UI & UX Standards
Security Standards
Coding Standards
Development Roadmap
Future AI Modules
Deployment Strategy
Commercial Strategy
Overall System Layers
Module & Reusability
Tenancy Stratagem
Security Architecture
Laravel Directory Specs
Database Strategy
API Architecture
Queues & Dispatchers
Storage & S3 Policies
AI Pipeline Integration
Performance Caching
Deploy & Cloud Topo
Git Flow & Standards
Database Principles
Operational design rules governing structure formatting, indexing bounds, and keys formatting.
Domain Entities Map
Entity Relationships
Data Tenancy Boundaries
Indexing Strategy Matrix
Data Lifecycle Rules
Performance Partitions
Security & PII Crypt
Future Extensibility
Design Philosophy
Visual identity standards optimized for density, visual speed, and professional analytics.
High density layout
Compact, borderless grid containers and tight layout cells maximize visible data on active screen canvasses.
Minimal Decor
Excludes soft gradient shapes and heavy border drops. Contrast states indicate warnings and focus parameters.
Color Tokens
Dark App BG
Light App BG
Primary Accent
Secondary Action
Typography Scale
Display headers use **Outfit** display fonts, while interface labels use **Inter** sans-serif profiles.
H1 Banner Display: 36px / 2.25rem (Outfit Bold)
H2 Section Title: 24px / 1.5rem (Outfit Bold)
H3 Card Heading: 18px / 1.125rem (Inter Semi-Bold)
Body Copy text: 14px / 0.875rem (Inter Regular)
Mono Ledger Data: 13px / 0.8125rem (Fira Code Regular)
Layout & Grid
Uniform structural dimensions coordinate workspaces layouts.
- Sidebar Specs: Width is fixed to 280px, collapsing to a compact 72px menu on tablet boundaries.
- 8px Grid Increments: Visual margins, card borders, gap spacing values align to 8px multiples.
Component Library
Form Fields
Standard input fields are set to a 36px height with 6px rounded edges, including visible state check borders.
Slide-out Drawers
Right-aligned drawers display nested records logs and details without forcing secondary page loads.
Visual Timelines
Vertical progress trails map shipping milestone changes using live colors states indications.
Dashboard Layouts
Three distinct layouts optimize display density based on targeted roles.
Executive BI
Renders revenue trends, gross cost distribution area graphs, and aggregate financial tables.
Operational Dispatch
Focuses on milestones warnings, customs checks delays, and fleet tracking map visuals.
Driver Mobile UI
Emphasizes oversized buttons, delivery checklists, and single-click camera capture panels.
Form Integrity
- Inline Checks: Form inputs validate constraints dynamically when focus moves.
- Autosave Indicators: Header notices show active save states (
Saving... / Saved).
Grid Table System
- Pin Headers: Tables keep column headers visible during vertical scrolls.
- Floating Action Bar: Selecting checkboxes calls a bottom action tray (e.g.
Print Labels, Dispatch).
Mobile Touch UX
Standards enforcing at least a 44px by 44px touch area for mobile layouts, paired with network status bars.
Access Guidelines
Full keyboard accessibility (via Tab controls) and ARIA semantic tags on all elements.
Interaction States
Skeleton mock outlines shim dynamic data loads, while destructive updates require reference code confirmations.
Icon Guidelines
Consistent deployment of the Lucide icon library with fixed stroke weights (1.75px) and size categories.
Charts & Vis
Area graphs and trend indicators display operational growth details.
Cartography Maps
Dynamic geofences and path lines trace vehicle speeds and scheduled routing stops.
AI Interface Mock
+------------------------------------------------------+
| AI Assistant Sidebar |
|------------------------------------------------------|
| Prompt: "Auto-extract fields from lading-09.pdf." |
| [OCR Split View Grid] |
| Extracted Origin: NYC <==> Original: "New York" |
| [ Commit Fields ] [ Decline Selection ] |
+------------------------------------------------------+
DOCUMENT OUTLINE
- PART 1: SPECIFICATIONS
- 1. Executive Summary
- 2. Product Scope
- 3. User Types & RBAC
- 4. Business Workflows
- 5. Functional Requirements
- 6. Non-Functional Requirements
- 7. System Architecture
- 8. Database Planning
- 9. API Standards
- 10. UI & UX Standards
- 11. Security Standards
- 12. Coding Standards
- 13. Development Roadmap
- 14. Future AI Modules
- 15. Deployment Strategy
- 16. Commercial Strategy
- PART 2: ARCHITECTURE
- A1. Overall System Layers
- A2. Module & Reusability
- A3. Tenancy Stratagem
- A4. Security Architecture
- A5. Laravel Directory Specs
- A6. Database Strategy
- A7. API Architecture
- A8. Queues & Dispatchers
- A9. Storage & S3 Policies
- A10. AI Pipeline Integration
- A11. Performance Caching
- A12. Deploy & Cloud Topo
- A13. Git Flow & Standards
- PART 3: DATABASE DESIGN
- D1. Database Principles
- D2. Domain Entities Map
- D3. Entity Relationships
- D4. Data Tenancy Boundaries
- D5. Indexing Strategy Matrix
- D6. Data Lifecycle Rules
- D7. Performance Partitions
- D8. Security & PII Crypt
- D9. Future Extensibility
- PART 4: DESIGN SYSTEM
- U1. Design Philosophy
- U2. Color Tokens
- U3. Typography Scale
- U4. Layout & Grid
- U5. Component Library
- U6. Dashboard Layouts
- U7. Form Integrity
- U8. Grid Table System
- U9. Mobile Touch UX
- U10. Access Guidelines
- U11. Interaction States
- U12. Icon Guidelines
- U13. Charts & Vis
- U14. Cartography Maps
- U15. AI Interface Mock