{
  "record_type": "shipment_document_matching_fixture",
  "schema_version": "1.0.0",
  "as_of": "2026-09-22",
  "matching_policy": {
    "auto_match_min_confidence": 0.9,
    "human_review_min_confidence": 0.6,
    "identifier_types": ["SHIPMENT_ID", "CUSTOMER_PO", "ORDER_REFERENCE", "BOOKING_REFERENCE"],
    "duplicate_strategy": "CONTENT_HASH_EXACT",
    "version_strategy": "EXPLICIT_SUPERSEDES",
    "conflict_policy": "BLOCK_AND_REVIEW",
    "never_guess": true
  },
  "shipments": [
    {
      "shipment_id": "PL-28491",
      "route": "Poznań, PL → Rotterdam, NL",
      "aliases": [
        { "type": "CUSTOMER_PO", "value": "PO-88402" },
        { "type": "ORDER_REFERENCE", "value": "SO-88402" },
        { "type": "BOOKING_REFERENCE", "value": "BK-77A" }
      ]
    },
    {
      "shipment_id": "PL-28492",
      "route": "Wrocław, PL → Hamburg, DE",
      "aliases": [
        { "type": "CUSTOMER_PO", "value": "PO-88403" },
        { "type": "ORDER_REFERENCE", "value": "SO-88403" },
        { "type": "BOOKING_REFERENCE", "value": "BK-77B" }
      ]
    }
  ],
  "payment_profiles": [
    {
      "shipment_id": "PL-28491",
      "required_document_types": ["CMR", "POD", "RATE_CONFIRMATION", "INVOICE"]
    }
  ],
  "documents": [
    {
      "document_id": "DOC-CMR-28491-V1",
      "document_type": "CMR",
      "version": 1,
      "supersedes_document_id": null,
      "source_channel": "DRIVER_UPLOAD",
      "content_hash": "sha256:cmr-28491-v1",
      "identifiers": [
        { "type": "SHIPMENT_ID", "value": "PL-2849I", "confidence": 0.64, "source": "EXTRACTION_FIXTURE" },
        { "type": "BOOKING_REFERENCE", "value": "BK-77A", "confidence": 0.72, "source": "EXTRACTION_FIXTURE" }
      ]
    },
    {
      "document_id": "DOC-POD-28491-V1",
      "document_type": "POD",
      "version": 1,
      "supersedes_document_id": null,
      "source_channel": "CARRIER_EMAIL",
      "content_hash": "sha256:pod-28491-v1",
      "identifiers": [
        { "type": "SHIPMENT_ID", "value": "PL-28491", "confidence": 0.99, "source": "EXTRACTION_FIXTURE" }
      ]
    },
    {
      "document_id": "DOC-POD-28491-COPY",
      "document_type": "POD",
      "version": 1,
      "supersedes_document_id": null,
      "source_channel": "SHARED_MAILBOX",
      "content_hash": "sha256:pod-28491-v1",
      "identifiers": [
        { "type": "SHIPMENT_ID", "value": "PL-28491", "confidence": 0.99, "source": "EXTRACTION_FIXTURE" }
      ]
    },
    {
      "document_id": "DOC-POD-28491-V2",
      "document_type": "POD",
      "version": 2,
      "supersedes_document_id": "DOC-POD-28491-V1",
      "source_channel": "CARRIER_EMAIL",
      "content_hash": "sha256:pod-28491-v2-signed",
      "identifiers": [
        { "type": "SHIPMENT_ID", "value": "PL-28491", "confidence": 0.99, "source": "EXTRACTION_FIXTURE" }
      ]
    },
    {
      "document_id": "DOC-RATE-28491-V1",
      "document_type": "RATE_CONFIRMATION",
      "version": 1,
      "supersedes_document_id": null,
      "source_channel": "TMS",
      "content_hash": "sha256:rate-28491-v1",
      "identifiers": [
        { "type": "ORDER_REFERENCE", "value": "SO-88402", "confidence": 1, "source": "SYSTEM_FIELD" }
      ]
    },
    {
      "document_id": "DOC-INV-28491-V1",
      "document_type": "INVOICE",
      "version": 1,
      "supersedes_document_id": null,
      "source_channel": "ERP",
      "content_hash": "sha256:invoice-28491-v1",
      "identifiers": [
        { "type": "SHIPMENT_ID", "value": "PL-28491", "confidence": 1, "source": "SYSTEM_FIELD" },
        { "type": "CUSTOMER_PO", "value": "PO-88403", "confidence": 1, "source": "SYSTEM_FIELD" }
      ]
    },
    {
      "document_id": "DOC-DN-28492-V1",
      "document_type": "DELIVERY_NOTE",
      "version": 1,
      "supersedes_document_id": null,
      "source_channel": "WMS",
      "content_hash": "sha256:delivery-note-28492-v1",
      "identifiers": [
        { "type": "CUSTOMER_PO", "value": "PO-88403", "confidence": 1, "source": "SYSTEM_FIELD" }
      ]
    },
    {
      "document_id": "DOC-EMAIL-UNKNOWN-01",
      "document_type": "ATTACHMENT",
      "version": 1,
      "supersedes_document_id": null,
      "source_channel": "SHARED_MAILBOX",
      "content_hash": "sha256:unknown-attachment-01",
      "identifiers": [
        { "type": "BOOKING_REFERENCE", "value": "BK-77B", "confidence": 0.71, "source": "EXTRACTION_FIXTURE" }
      ]
    }
  ],
  "evidence_boundaries": {
    "external_systems_connected": 0,
    "documents_uploaded": 0,
    "ocr_or_extraction_executed": 0,
    "automatic_document_links_persisted": 0,
    "human_decisions_persisted": 0,
    "invoice_releases_executed": 0,
    "source_files_included": false,
    "payment_ready_confirmed": false
  },
  "license": {
    "name": "eFTI Compliance Public Dataset License 1.0",
    "url": "https://efticompliance.pl/licencja-danych/#v1-0"
  }
}
