Back to Portfolio

Trans Auto Hub - Global Multi-Branch Vehicle Trading & Shipping ERP

A multi-country automotive procurement, RoRo/Container ocean shipping, and multi-currency settlement ERP connecting headquarters in Japan with branches across Sri Lanka, Dubai, and India.

Category
Global Logistics & Automotive ERP
Year
2026
Duration
Production
Trans Auto Hub - Global Multi-Branch Vehicle Trading & Shipping ERP

Project Overview

Trans Auto Hub is a specialized Global Vehicle Trading ERP built with Laravel, MySQL, Redis, and Docker to manage the end-to-end international vehicle export lifecycle. Designed for a Japan procurement headquarters operating regional sales branches in Sri Lanka, Dubai, and India, the platform tracks every chassis from auction purchase through branch allocation, multi-vehicle direct sales, container/RoRo vessel loading, Bill of Lading documentation, multi-currency polymorphic payments, and automated Email/SMS customer milestones.

Key Features

Multi-branch international operations (Japan HQ, Sri Lanka, Dubai, India) with branch-scoped RBAC (7 granular roles)

8-Stage Vehicle Lifecycle Pipeline (Draft → Purchased → Allocated → Reserved → Shipped → Arrived → Released → Completed)

Dual-Mode Ocean Freight Module supporting both Multi-Container manifests (seal numbers, container charges) and RoRo vessel shipments

Group Direct Sales & Multi-Vehicle Booking engine with commercial invoice valuation and per-chassis currency pricing

Polymorphic Multi-Currency Payment Ledger tracking Owner → Supplier, Branch → Owner, and Customer → Branch settlements

Event-driven Email & SMS Notification Queue (Redis) triggered automatically on reservation, advance payment, vessel departure, and arrival

UUID primary keys across all public entities with global SoftDeletes and status transition audit logs

Challenges & Solutions

Complex Container vs. RoRo Ocean Shipment Reconciliations

Vehicles can be shipped individually via Roll-on/Roll-off (RoRo) or grouped into multiple shipping containers with separate seal numbers, notify parties, and port charges, and manifests frequently change before vessel departure.

Engineered a transactional ShipmentService using the Repository pattern that dynamically diffs added and removed vehicle IDs on manifest updates, automatically reverting removed vehicles to their prior Booking or Allocation state.

Three-Tier Cross-Border Payment Tracking

International auto trading involves three distinct financial flows (HQ paying Japanese suppliers in JPY, regional branches settling transfer prices with HQ, and local customers paying advances/balances to branches) without bloating the ERP into complex double-entry accounting.

Implemented a polymorphic Payment ledger (paymentable_type / paymentable_id) supporting purchases, allocations, and multi-vehicle direct sale bookings with multi-currency tracking and automated balance reminders.

Strict Multi-Branch Data Governance & Auditability

Branch managers, sales executives, and finance officers in different countries must only access their respective inventory and customer bookings while HQ maintains global visibility.

Built policy-based role authorization across 7 operational roles, UUID public identifiers, and event-driven VehicleStatusHistory listeners that log every state change and user action.

Engineering Write-ups & Architecture

Next Project

Singlish Pro - Phonetic Sinhala Transliteration Library

Singlish Pro - Phonetic Sinhala Transliteration Library

A high-performance NPM package that brings seamless phonetic Sinhala typing to any modern web application.

View Project