{
  "schema_version": "legipro.partner_proof_fixture.einvoicing_vat.v1",
  "roadmap_task_id": "SAAS-0057",
  "generated_at": "2026-06-29T08:02:20Z",
  "status": "dry_run_fixture",
  "one_paragraph_screening_summary": "LegiPro can sit behind an accounting platform's own e-invoicing or invoice-review workflow and return a source-backed draft review packet with official sources, missing facts, caution points, a dossier/export identifier and an audit reference, using public/test data only for the first screening proof.",
  "network_policy": {
    "mode": "dry_run",
    "third_party_credentials_required": false,
    "live_third_party_api_call_attempted": false,
    "credential_source": "none_dry_run_fixture",
    "allowed_external_calls": []
  },
  "partner_context": {
    "adapter_shape": "credential_free_partner_fixture",
    "buyer_specific": false,
    "product_family": "accounting_einvoicing_vat",
    "first_proof_requires_partner_credentials": false
  },
  "review_packet": {
    "schema_version": "review_runtime_contract_v1",
    "contract_status": "preview_contract_only",
    "endpoint": "/v1/review",
    "endpoint_status": "planned_preview_not_live",
    "request": {
      "request_id": "partner_fixture_einvoicing_vat_001",
      "tenant_id": "partner-demo",
      "workspace_id": "partner-einvoicing-sandbox",
      "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?",
      "proposed_treatment": "The partner product wants to present an e-invoicing/VAT review packet inside its own invoice workflow without sending live credentials.",
      "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"
      },
      "export_requested": true
    },
    "result": {
      "status": "partially_answerable",
      "answer": "LegiPro can prepare a source-backed draft review packet for this partner-style e-invoicing/VAT workflow, anchored to official calendar sources and the structured e-invoicing knowledge layer. The packet is not a certified conclusion: it identifies the missing facts and routes the result back to the partner workflow for review.",
      "applicability": {
        "jurisdiction": "FR",
        "period": "2026",
        "effective_dates": [
          "2026-09-01",
          "2027-09-01"
        ],
        "source_freshness": "current",
        "source_hierarchy_note": "Official e-invoicing calendar sources outrank LegiPro structured review cards; the review card only organizes the workflow and missing facts.",
        "checks": [
          {
            "check_id": "jurisdiction",
            "status": "pass",
            "signal": "jurisdiction=FR"
          },
          {
            "check_id": "effective_dates",
            "status": "pass",
            "signal": "effective_date_count=3"
          },
          {
            "check_id": "source_hierarchy",
            "status": "pass",
            "signal": "authority_ranks=1,1,2"
          },
          {
            "check_id": "supersession",
            "status": "pass",
            "signal": "supersession_events=0; superseded_candidates=0"
          },
          {
            "check_id": "missing_facts",
            "status": "block",
            "signal": "missing_fact_count=3",
            "remedy": "Collecter les faits manquants listés avec leurs remèdes avant validation."
          },
          {
            "check_id": "source_conflicts",
            "status": "pass",
            "signal": "contradiction_count=0"
          }
        ],
        "summary_status": "block"
      },
      "sources": [
        {
          "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"
        }
      ],
      "missing_facts": [
        {
          "fact_id": "company_size_and_mandate_scope",
          "label": "Company size and mandate scope",
          "remedy": "Collect whether the entity is large, ETI, SME or micro-company before issuance timing is validated."
        },
        {
          "fact_id": "platform_status",
          "label": "Chosen PDP/PPF or approved platform status",
          "remedy": "Collect the selected e-invoicing platform path before any operational readiness conclusion."
        },
        {
          "fact_id": "invoice_line_vat_treatment",
          "label": "Invoice-line VAT treatment and exemptions",
          "remedy": "Collect line-level VAT treatment facts before confirming the accounting/VAT position."
        }
      ],
      "risk_flags": [
        {
          "code": "REVIEW_GATE_REQUIRED",
          "severity": "medium",
          "message": "The output is a draft review packet and remains gated for professional review."
        },
        {
          "code": "NO_LIVE_PARTNER_CREDENTIALS",
          "severity": "low",
          "message": "This proof fixture does not use partner credentials or call a live partner API."
        }
      ],
      "contradictions": [],
      "dossier": {
        "dossier_id": "dos_959f0ad96197",
        "revision_id": "rev_de7c66db3b50",
        "previous_revision_id": null,
        "audit_id": "aud_959f0ad96197",
        "export_bundle_id": "exp_959f0ad96197",
        "review_status": "draft_requires_professional_review",
        "source_snapshot": {
          "corpus_snapshot_id": "legipro-status-20260629T075402Z",
          "index_snapshot_id": "meili-legipro-documents-2026-06-29T07:54:02Z"
        },
        "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"
          }
        ],
        "export_formats": [
          "json",
          "html"
        ],
        "export_contract": {
          "schema_version": "export_bundle_contract_v1",
          "contract_status": "preview_contract_only",
          "status": "preview_contract_only",
          "retryable": true
        }
      },
      "audit": {
        "audit_id": "aud_959f0ad96197",
        "corpus_snapshot_id": "legipro-status-20260629T075402Z",
        "index_snapshot_id": "meili-legipro-documents-2026-06-29T07:54:02Z",
        "latency_ms": 0,
        "citation_coverage": 1.0,
        "cost_units": 0
      },
      "ai_boundary": {
        "llm_stages": [
          "request_normalization",
          "answer_synthesis"
        ],
        "deterministic_stages": [
          "policy_gate",
          "evidence_retrieval",
          "applicability_check",
          "citation_verification",
          "dossier_export",
          "audit_event"
        ],
        "citation_verifier": "mechanical_not_self_grading"
      },
      "boundaries": {
        "review_required": true,
        "not_advice": true,
        "scenario_ready": false,
        "answer_ready": false,
        "promotion_allowed": false,
        "human_review_complete": false,
        "client_reliance": false,
        "semantic_search_active": false,
        "professional_certification": false
      }
    }
  },
  "partner_handoff_payload": {
    "schema_version": "legipro.partner_handoff.einvoicing_vat.v1",
    "target_partner_surface": "invoice_review_or_einvoicing_preparation_workflow",
    "partner_keeps": [
      "user_experience",
      "branding",
      "authentication",
      "billing",
      "customer_relationship",
      "workflow"
    ],
    "legipro_returns": {
      "status": "partially_answerable",
      "dossier_id": "dos_959f0ad96197",
      "export_bundle_id": "exp_959f0ad96197",
      "audit_id": "aud_959f0ad96197",
      "source_count": 3,
      "missing_fact_count": 3,
      "risk_flag_count": 2
    },
    "recommended_partner_actions": [
      {
        "action": "store_draft_review_packet",
        "reason": "Keep the review packet inside the partner workflow without changing the partner UI."
      },
      {
        "action": "request_missing_facts",
        "reason": "Ask for company size, platform status and line-level VAT treatment before validation."
      },
      {
        "action": "route_for_professional_review",
        "reason": "The packet is review-gated and not client-reliance ready."
      }
    ]
  },
  "boundaries": {
    "no_approved_partnership_claimed": true,
    "no_live_partner_api_call": true,
    "no_client_reliance": true,
    "no_professional_certification": true,
    "human_review_required": true,
    "semantic_search_active": false
  }
}
