{
  "schema_version": "legipro.partner_adapter_fixture.v1",
  "roadmap_task_id": "SAAS-0052",
  "generated_at": "2026-06-29T08:02:20Z",
  "status": "dry_run_fixture_harness",
  "adapter_contract": {
    "input_payload_schema": "review_runtime_contract_v1 + legipro.partner_handoff.einvoicing_vat.v1",
    "output_payload_schema": "legipro.partner_adapter_fixture.v1",
    "default_mode": "dry_run",
    "live_network_default": false,
    "third_party_mutation_default": false,
    "description": "Shared fixture contract for vendor-shaped dry-run adapters. Per-platform stubs should consume this shape instead of inventing one-off glue."
  },
  "request_context": {
    "tenant_id": "partner-demo",
    "workspace_id": "partner-einvoicing-sandbox",
    "request_id": "partner_fixture_einvoicing_vat_001",
    "mode": "validate",
    "question": "Can the partner workflow prepare a source-backed review packet for a French B2B invoice affected by the 2026 e-invoicing rollout?",
    "facts": {
      "jurisdiction": "FR",
      "period": "2026",
      "entity_type": "B2B supplier workflow",
      "sector": "accounting software",
      "known_facts": [
        "Partner keeps its own user experience, authentication, billing and workflow.",
        "Fixture uses public information and test data only.",
        "No third-party platform credentials are required for this first proof."
      ],
      "invoice_context": {
        "invoice_kind": "B2B services invoice",
        "supplier_country": "FR",
        "customer_country": "FR",
        "workflow_surface": "invoice review / e-invoicing preparation"
      }
    },
    "snapshot_pin": {
      "corpus_snapshot_id": "legipro-status-20260629T075402Z",
      "index_snapshot_id": "meili-legipro-documents-2026-06-29T07:54:02Z",
      "replay_policy": "snapshot_pinned_required"
    }
  },
  "credential_posture": {
    "mode": "dry_run",
    "credential_required": false,
    "credential_present": false,
    "credential_source": "none",
    "fail_closed": false,
    "fail_closed_reason": null,
    "legipro_token_class": "demo"
  },
  "dry_run_target": {
    "platform_family": "generic_accounting_platform",
    "workflow_surface": "e-invoicing / VAT / accounting-treatment review",
    "object_flow": "invoice_or_dossier_review_handoff",
    "target_operation": "create_draft_review_note_or_dossier_reference",
    "live_network_call_attempted": false,
    "request_preview": {
      "method": "POST",
      "path": "/partner-fixture/draft-review-packet",
      "body_keys": [
        "partner_context",
        "review_status",
        "source_refs",
        "missing_facts",
        "risk_flags",
        "dossier_id",
        "export_bundle_id",
        "audit_id"
      ]
    }
  },
  "idempotency_key": "adapterdry_ba1c5120ab6713265aabce90",
  "source_refs": [
    {
      "source_id": "official.aife.facturation-electronique-b2b",
      "artifact_id": "public.aife.facturation-electronique-b2b",
      "passage_id": "aife.b2b.calendar.2026.reception.issuance.001",
      "authority_rank": 1,
      "effective_date": "2026-09-01",
      "retrieved_by": "explicit",
      "citation_label": "AIFE - Facturation electronique interentreprises"
    },
    {
      "source_id": "official.impots.gouv.fr.facturation-electronique",
      "artifact_id": "public.impots.gouv.fr.e-invoicing-business",
      "passage_id": "impots.facturation-electronique.calendar.2026.001",
      "authority_rank": 1,
      "effective_date": "2026-09-01",
      "retrieved_by": "lexical",
      "citation_label": "impots.gouv.fr - Electronic invoicing calendar"
    },
    {
      "source_id": "legipro.einvoicing.vat.review-card",
      "artifact_id": "legipro.structured-knowledge.einvoicing-vat",
      "passage_id": "legipro.einvoicing.vat.review-card.001",
      "authority_rank": 2,
      "effective_date": "2026",
      "retrieved_by": "graph",
      "citation_label": "LegiPro structured e-invoicing/VAT review card"
    }
  ],
  "output_artifact_refs": {
    "review_packet_id": "partner_fixture_einvoicing_vat_001",
    "dossier_id": "dos_959f0ad96197",
    "export_bundle_id": "exp_959f0ad96197",
    "audit_id": "aud_959f0ad96197",
    "proof_fixture_asset": "site/legipro-fr/assets/legipro-einvoicing-vat-proof-fixture-2026-06-29.json",
    "adapter_fixture_asset": "site/legipro-fr/assets/legipro-shared-adapter-fixture-harness-2026-06-29.json"
  },
  "security_denials": [
    {
      "attempted_surface": "legipro_internal_control_plane",
      "requested_route": "/v0/rotor/tasks/next",
      "token_class": "demo",
      "denied": true,
      "reason": "demo_public_token_scope_denied",
      "network_call_attempted": false
    },
    {
      "attempted_surface": "third_party_partner_api",
      "requested_route": "third_party_api://accounting-platform/live-write",
      "token_class": "demo",
      "denied": true,
      "reason": "third_party_live_api_disabled_in_fixture",
      "network_call_attempted": false
    }
  ],
  "screening_pack_attachment": {
    "safe_to_attach": true,
    "secret_fields_present": false,
    "claims_professional_certification": false,
    "claims_client_reliance": false,
    "included_in_buyer_screening_pack": true,
    "attachment_note": "Attach this fixture to buyer screening material as evidence of the dry-run adapter shape only."
  },
  "network_policy": {
    "default_mode": "dry_run",
    "live_third_party_api_call_attempted": false,
    "third_party_mutation_attempted": false,
    "allowed_external_calls": []
  },
  "boundaries": {
    "scenario_ready": false,
    "answer_ready": false,
    "promotion_allowed": false,
    "human_review_complete": false,
    "client_reliance": false,
    "semantic_search_active": false,
    "professional_certification": false
  }
}
