Freight Charge Audit

Reprice carrier charges from supplied zone weight bands, a half-up fuel surcharge and explicit accessorial totals, then compare with invoiced freight.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

POST a JSON request to /freight-charge-audit/v1/check with an x402 V2 client.

Worked example

Request

{
  "fuel_basis_points": 500,
  "tariff": [
    {
      "zone": "A",
      "through_grams": 1000,
      "base_cents": 630
    },
    {
      "zone": "A",
      "through_grams": 2000,
      "base_cents": 930
    }
  ],
  "shipments": [
    {
      "id": "x",
      "zone": "A",
      "billable_grams": 1000,
      "accessorial_cents": 10,
      "invoiced_cents": 700
    },
    {
      "id": "y",
      "zone": "A",
      "billable_grams": 2001,
      "accessorial_cents": 0,
      "invoiced_cents": 1200
    }
  ]
}

Result

{
  "rated_shipments": 1,
  "unrated_shipments": 1,
  "rated_variance_cents": 28,
  "shipments": [
    {
      "id": "x",
      "base_cents": 630,
      "fuel_cents": 32,
      "expected_cents": 672,
      "variance_cents": 28
    },
    {
      "id": "y",
      "issue": "no_matching_band"
    }
  ]
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter