SaaS Application

Mythril - TMS Platform

Mythril is a comprehensive Transportation Management System (TMS) that centralizes all logistics operations for freight companies in Mexico. It replaces manual Excel/Email workflows with automated, auditable processes.

Core Modules:

  • Trip Management: Full lifecycle from draft to completion with automated state transitions triggered by Samsara GPS webhooks (departure → in-transit → completed)
  • Fleet & Driver Catalogs: Tractors, trailers, dollies, and operators with document validation (SCT permits, insurance policies, federal licenses) and availability tracking
  • Ground & Maritime Quoting: Automated cost calculation (fuel, tolls, urea, overhead) with multi-currency support and PDF export
  • CFDI Invoicing + Carta Porte: Automated tax document generation via FacturAPI integration with full SAT compliance validation
  • AI-Powered Expense Capture: Drivers upload ticket photos via PWA; Gemini Vision extracts data (amount, issuer RFC, date) for admin review
  • Financial Settlements: Trip-level profit/loss calculation with utility traffic-light system (green/yellow/red)
  • Collections (CxC): Accounts receivable panel with PPD payment complement stamping and aging reports

Key Integrations:

  • Samsara: Real-time GPS tracking, automated route creation, geofence-based state transitions, odometer-based maintenance alerts, and driving behavior analytics
  • FacturAPI: CFDI draft → stamp → cancel pipeline with Carta Porte 3.0+ complement for Mexican tax compliance

Architecture Highlights: RBAC, immutable audit logging, push notifications via PWA, background job processing with BullMQ, and document storage in Cloudflare R2.

Tech Stack

NestJS, TypeScript, PostgreSQL, React, Next.js, PWA, Samsara API, FacturAPI, RBAC, BullMQ, Redis, Cloudflare R2, AI Expense OCR, Real-time GPS Tracking, Webhooks, Audit Logging.

Descriptive image number 0 for Mythril - TMS PlatformDescriptive image number 1 for Mythril - TMS PlatformDescriptive image number 2 for Mythril - TMS PlatformDescriptive image number 3 for Mythril - TMS PlatformDescriptive image number 4 for Mythril - TMS PlatformDescriptive image number 5 for Mythril - TMS PlatformDescriptive image number 6 for Mythril - TMS PlatformDescriptive image number 7 for Mythril - TMS Platform