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

    DiscountsAndShrinkageResponse

    {
        "meta": {
            "tenant": "string",
            "totalTripsAudited": 0
        },
        "auditSummary": {
            "totalDiscountsAndPenaltiesMxn": 0,
            "netFinancialErosionMxn": 0,
            "totalRecoverablePotentialMxn": 0,
            "recoveryPotentialPct": 0
        },
        "discountsBreakdown": {},
        "demurrageAudit": {},
        "shrinkagePenaltiesAudit": {},
        "clientsBreakdown": [
            {}
        ],
        "actionableDisputes": [
            {}
        ]
    }
    Built with