{
  "schemaVersion": 1,
  "documentSet": "logistics",
  "asOf": "2026-09-08",
  "counts": {
    "shipments": 16,
    "delivered": 13,
    "parcels": 56,
    "cartons": 56,
    "trackingEvents": 74
  },
  "identities": [
    {
      "id": "weight-from-parcels",
      "statement": "gross_weight_kg = parcels * 12.200 on every shipment",
      "expected": "683.200"
    },
    {
      "id": "bol-pieces-equal-shipment-parcels",
      "statement": "sum(bill-of-lading-register.pieces) = sum(shipments-export.parcels)",
      "expected": "56"
    },
    {
      "id": "packing-list-cartons-equal-parcels",
      "statement": "distinct packing-list.carton_number = sum(parcels)",
      "expected": "56"
    },
    {
      "id": "freight-rates-to-invoice",
      "statement": "sum(freight-charges.line_total where billable) = carrier invoice total",
      "expected": "861.19"
    },
    {
      "id": "customs-valuation",
      "statement": "goods + freight = customs value; duty and import tax follow the declared rates",
      "expected": "133.29"
    },
    {
      "id": "undelivered-parcels-are-on-exceptions",
      "statement": "sum(delivery-exceptions.parcels_held) = parcels - delivered_parcels",
      "expected": "12"
    }
  ],
  "totals": {
    "parcels": 56,
    "deliveredParcels": 44,
    "grossWeightKg": "683.200",
    "freightBillableUsd": "861.19",
    "freightAllShipmentsUsd": "1093.24",
    "declaredValueUsd": "3808.00",
    "customsValueUsd": "1748.08",
    "customsChargesUsd": "133.29"
  },
  "knownDefects": [
    {
      "file": "packing-list-piece-count-mismatch.csv",
      "cause": "the fourth carton of each BOL-2026-0003 consignment was dropped",
      "missingCartons": 4,
      "missingLines": 12
    },
    {
      "file": "carrier-invoice-fuel-surcharge-basis.csv",
      "cause": "the fuel surcharge on SHIP-07 was applied to the weight charge only",
      "understatementUsd": "1.56",
      "statedTotalUsd": "859.63",
      "correctTotalUsd": "861.19"
    }
  ]
}
