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

    DispatchToBillResponse

    {
        "meta": {
            "tenant": "XAXX010101000",
            "totalDeliveredTripsAudited": 416
        },
        "efficiencySummary": {
            "auditedTripsCount": 416,
            "billedTripsCount": 10,
            "unbilledTripsCount": 406,
            "billingCompletionRatePct": 2.4,
            "avgDaysToBill": 8.5,
            "medianDaysToBill": 6,
            "fastestBillDays": 1,
            "slowestBillDays": 21,
            "billedFreightMxn": 267857.2,
            "unbilledFreightWipMxn": 10874998.72
        },
        "agingDistribution": {
            "sameDay_0d": {},
            "fast_1_3d": {},
            "standard_4_7d": {},
            "delayed_8_15d": {},
            "critical_16d_plus": {}
        },
        "clientBreakdown": [
            {}
        ],
        "topBottlenecks": [
            {}
        ]
    }
    Built with