DUFREI API
    • Raíz
      • 1. Core & Health
        • Health Check
      • 2. AI Agents & MCP
        • Model Context Protocol (Streamable HTTP)
        • Initialize Legacy SSE Stream
        • Send Legacy MCP JSON-RPC Message
      • 3. Financial Documents
        • List Financial Documents
        • Cash Inflow Forecast & Customer Concentration (HHI)
        • Discounts, Demurrage & Shrinkage Recovery Audit
      • 4. Shipments & Fleet
        • List Shipments (Trips)
        • Audit Fleet Utilization and Productivity
        • Audit Dispatch-to-Bill and Invoicing Efficiency
        • Freight Financial Unit Economics ($/km, $/L)
      • 3. Financial & Invoices
        • SAT CFDI 4.0 Monthly Fiscal Ledger & Retention Reconciliation
      • 5. Scheduled Alerts
        • Schedule Alert Rules
    • Schemas
      • PaginationMeta
      • FinancialDocsResponse
      • ShipmentsResponse
      • FinancialSummary
      • TripSummary
      • ErrorResponse
      • CanceledRecord
      • PaymentRecord
      • FinancialDocument
      • MexicanAddress
      • ShipmentLeg
      • TripDocument
      • ScheduleAlertsRequest
      • ScheduleAlertsSuccessResponse
      • McpJsonRpcRequest
      • McpJsonRpcResponse
      • RouteCatalogDetails
      • FleetUtilizationResponse
      • DispatchToBillResponse
      • CashInflowForecastResponse
      • DiscountsAndShrinkageResponse
      • FinancialUnitEconomicsResponse

    FinancialUnitEconomicsResponse

    {
        "meta": {
            "tenant": "string",
            "totalTripsAudited": 0
        },
        "fleetEconomics": {
            "totalTripsCount": 0,
            "totalGrossFreightMxn": 0,
            "totalTollsMxn": 0,
            "totalNetMarginMxn": 0,
            "totalKilometers": 0,
            "totalDeliveredLiters": 0,
            "totalDeliveredWeightKg": 0,
            "grossRevenuePerKmMxn": 0,
            "tollExpensePerKmMxn": 0,
            "netMarginPerKmMxn": 0,
            "grossRevenuePerLiterMxn": 0,
            "netMarginPerLiterMxn": 0,
            "tollBurdenPct": 0
        },
        "configurationComparison": {
            "fullDoubleTrailer": {},
            "sencillo": {},
            "economicAdvantageOfFull": {}
        },
        "topCorridorsByNetPerKm": [
            {}
        ],
        "bottomCorridorsByNetPerKm": [
            {}
        ]
    }
    Built with