{
  "schema_version": "1.0",
  "illustrative": true,
  "notice": "ILLUSTRATIVE SYNTHETIC CASE. All organisations, people, identifiers, dates, quotations, records and amounts are invented. This is not a customer result, a real invoice, a payment demand or evidence of recovered revenue.",
  "case_id": "FF-DEMO-001",
  "project_id": "DEMO-DASHBOARD",
  "project_name": "Synthetic reporting dashboard",
  "currency": "GBP",
  "money_convention": "All monetary fields ending in _pence are integer pence. Candidate and ledger amounts are net of VAT; no VAT rate is assumed.",
  "review_cutoff": "2026-03-31",
  "supplier": "Demo Consultancy (fictional)",
  "customer": "Demo Customer (fictional)",
  "actors": [
    {
      "actor_id": "CUSTOMER-OWNER",
      "name": "Demo Customer Product Owner",
      "organisation": "Demo Customer (fictional)",
      "role": "SOW-authorised written change approver"
    },
    {
      "actor_id": "SUPPLIER-FINANCE",
      "name": "Demo Consultancy Finance Owner",
      "organisation": "Demo Consultancy (fictional)",
      "role": "Approves and issues supplier invoices"
    },
    {
      "actor_id": "CUSTOMER-AP",
      "name": "Demo Customer Accounts Payable",
      "organisation": "Demo Customer (fictional)",
      "role": "Maintains purchase-order requirements; not used as a substitute for scope approval"
    }
  ],
  "engagement_example": {
    "illustrative": true,
    "fixed_fee_pence": 95000,
    "duration_days": 30,
    "maximum_projects": 3,
    "success_fee_basis_points": 1000,
    "success_fee_basis": "Only eligible principal actually collected under agreed engagement terms. Identified work, issued invoices, VAT and pre-existing unpaid invoices are not collected eligible principal.",
    "terms_still_to_be_agreed_for_live_use": [
      "Attribution of receipts",
      "Eligibility and collection window",
      "Treatment of partial payments",
      "Treatment of subsequent credits and refunds"
    ],
    "external_contact": "No external contact or invoice issuance is authorised or performed by this demonstration. The consultancy's finance owner controls invoice approval and issuance."
  },
  "sources": [
    {
      "source_id": "SOW-01",
      "type": "signed_statement_of_work",
      "date": "2026-03-02",
      "project_id": "DEMO-DASHBOARD",
      "fixed_fee_pence": 2400000,
      "scope": [
        "Reporting dashboard",
        "One import of 2026 data",
        "English CSV report",
        "Two rounds of UAT corrections to the agreed dashboard and report behaviour"
      ],
      "excluded_scope": [
        "Historical data imports before 2026",
        "Additional report languages",
        "SSO module",
        "Mobile screenshot export"
      ],
      "authorised_change_approver_actor_id": "CUSTOMER-OWNER",
      "change_approval_rule": "Additional scope and its price require written approval from CUSTOMER-OWNER before work proceeds.",
      "baseline_purchase_order": "PO-4407",
      "raw_text": "Fixed fee: GBP 24,000 excluding VAT. Deliver a reporting dashboard, one import of 2026 data and an English CSV report. Two rounds of corrections to agreed behaviour during UAT are included. Historical imports before 2026, additional languages, SSO and mobile screenshot export are excluded. Additional scope and its price require written approval from the named customer product owner before work proceeds. PO-4407 covers this baseline scope."
    },
    {
      "source_id": "PO-NOTE-01",
      "type": "customer_ap_email",
      "date": "2026-03-03",
      "sender_actor_id": "CUSTOMER-AP",
      "raw_text": "Please quote a purchase order covering the invoiced work. PO-4407 currently covers the SOW baseline. For any variation, confirm the existing PO has been extended or use a replacement PO before releasing the invoice.",
      "implication": "The supplied record set contains no confirmation that PO-4407 has been extended to CR17 or CR21 and no replacement PO. This is an administrative release condition, not a missing commercial scope or price approval."
    },
    {
      "source_id": "A-12",
      "type": "change_approval_email",
      "date": "2026-03-06",
      "sender_actor_id": "CUSTOMER-OWNER",
      "change_id": "CR12",
      "approved_net_pence": 160000,
      "raw_text": "Approved: CR12, add the SSO module, fixed price GBP 1,600 plus VAT. Please proceed."
    },
    {
      "source_id": "D-12",
      "type": "delivery_acceptance_email",
      "date": "2026-03-14",
      "sender_actor_id": "CUSTOMER-OWNER",
      "change_id": "CR12",
      "raw_text": "SSO has been tested successfully. CR12 accepted."
    },
    {
      "source_id": "A-17",
      "type": "change_approval_email",
      "date": "2026-03-15",
      "sender_actor_id": "CUSTOMER-OWNER",
      "change_id": "CR17",
      "approved_net_pence": 480000,
      "raw_text": "Approved: CR17, import the 2022-2025 history, fixed price GBP 4,800 plus VAT. Please proceed."
    },
    {
      "source_id": "D-17",
      "type": "delivery_acceptance_email",
      "date": "2026-03-28",
      "sender_actor_id": "CUSTOMER-OWNER",
      "change_id": "CR17",
      "raw_text": "The 2022-2025 historical records are available and the reconciliation counts agree. CR17 accepted."
    },
    {
      "source_id": "A-21",
      "type": "change_approval_email",
      "date": "2026-03-24",
      "sender_actor_id": "CUSTOMER-OWNER",
      "change_id": "CR21",
      "approved_net_pence": 210000,
      "raw_text": "Approve CR21: French and German versions of the CSV report, fixed price GBP 2,100 plus VAT. Please proceed."
    },
    {
      "source_id": "D-21",
      "type": "delivery_acceptance_email",
      "date": "2026-03-30",
      "sender_actor_id": "CUSTOMER-OWNER",
      "change_id": "CR21",
      "raw_text": "Both additional language exports downloaded and checked. CR21 signed off."
    },
    {
      "source_id": "UAT-24",
      "type": "uat_ticket",
      "date": "2026-03-18",
      "uat_round": 1,
      "raw_text": "First UAT round: the existing dashboard date filter ignores its end date. Correct it to the agreed SOW behaviour. This is a bug correction, with no new feature or extra UAT round. Internal cost estimate: GBP 650.",
      "internal_estimate_pence": 65000,
      "scope_reference": "SOW-01"
    },
    {
      "source_id": "R-25",
      "type": "unapproved_feature_request",
      "date": "2026-03-20",
      "sender_actor_id": "CUSTOMER-OWNER",
      "raw_text": "Could we add mobile screenshot export? Please price it before we decide.",
      "supplier_internal_note": "Estimate GBP 900. No quote accepted, no scope/price approval and no work authorised in the supplied record set.",
      "internal_estimate_pence": 90000
    },
    {
      "source_id": "COVERAGE-01",
      "type": "synthetic_record_set_manifest",
      "date": "2026-03-31",
      "raw_text": "For this invented project, this fixture is the complete SOW, change-request, approval, delivery, sales-invoice, credit-note and receipt record set from project commencement through 31 March 2026. There are no other change approvals, project invoices, credits, receipts, PO extensions or replacement POs in the synthetic case.",
      "real_world_limitation": "A live review needs an equivalent completeness check. Absence from an incomplete export would not by itself establish that work is unbilled."
    }
  ],
  "tracker_records": [
    {
      "record_id": "T-17",
      "change_id": "CR17",
      "updated_at": "2026-03-28",
      "label": "Historical backfill",
      "proposed_net_pence": 480000,
      "raw_status": "invoiced",
      "invoice_reference": null,
      "source_refs": [
        "A-17",
        "D-17"
      ]
    },
    {
      "record_id": "T-21",
      "change_id": "CR21",
      "updated_at": "2026-03-23",
      "label": "French/German CSV",
      "proposed_net_pence": 210000,
      "raw_status": "awaiting approval",
      "source_refs": [
        "A-21",
        "D-21"
      ]
    },
    {
      "record_id": "T-24",
      "change_id": null,
      "updated_at": "2026-03-18",
      "label": "Extra: correct filter behaviour found in UAT",
      "proposed_net_pence": 65000,
      "amount_basis": "Internal estimate, not an approved additional fee",
      "raw_status": "unbilled",
      "source_refs": [
        "UAT-24"
      ]
    },
    {
      "record_id": "T-25",
      "change_id": null,
      "updated_at": "2026-03-20",
      "label": "Mobile screenshot export",
      "proposed_net_pence": 90000,
      "amount_basis": "Internal estimate, not an approved additional fee",
      "raw_status": "requested",
      "source_refs": [
        "R-25"
      ]
    },
    {
      "record_id": "T-12",
      "change_id": "CR12",
      "updated_at": "2026-03-24",
      "label": "SSO module",
      "proposed_net_pence": 160000,
      "raw_status": "credited; rebill?",
      "source_refs": [
        "A-12",
        "D-12",
        "INV-118",
        "CN-07"
      ]
    },
    {
      "record_id": "T-17-copy",
      "change_id": "CR17",
      "updated_at": "2026-03-31",
      "label": "Historical import",
      "proposed_net_pence": 480000,
      "raw_status": "unbilled",
      "source_refs": [
        "A-17",
        "D-17"
      ],
      "duplicate_of": "T-17"
    }
  ],
  "finance_register": {
    "illustrative": true,
    "coverage_source_id": "COVERAGE-01",
    "cutoff": "2026-03-31",
    "records": [
      {
        "record_id": "INV-100",
        "type": "invoice",
        "date": "2026-03-03",
        "project_id": "DEMO-DASHBOARD",
        "net_pence": 1200000,
        "lines": [
          {
            "description": "SOW-01 core build, first milestone: baseline scope only",
            "scope_id": "SOW-01",
            "change_id": null,
            "net_pence": 1200000
          }
        ],
        "receipt_refs": [
          "RCPT-01"
        ],
        "credit_refs": [],
        "remaining_principal_pence": 0
      },
      {
        "record_id": "INV-110",
        "type": "invoice",
        "date": "2026-03-12",
        "project_id": "DEMO-DASHBOARD",
        "net_pence": 1200000,
        "lines": [
          {
            "description": "SOW-01 core build, final milestone: baseline scope only",
            "scope_id": "SOW-01",
            "change_id": null,
            "net_pence": 1200000
          }
        ],
        "receipt_refs": [
          "RCPT-02"
        ],
        "credit_refs": [],
        "remaining_principal_pence": 0
      },
      {
        "record_id": "INV-118",
        "type": "invoice",
        "date": "2026-03-16",
        "project_id": "DEMO-DASHBOARD",
        "net_pence": 160000,
        "lines": [
          {
            "description": "CR12 SSO module",
            "scope_id": null,
            "change_id": "CR12",
            "net_pence": 160000
          }
        ],
        "receipt_refs": [],
        "credit_refs": [
          "CN-07"
        ],
        "remaining_principal_pence": 0
      },
      {
        "record_id": "CN-07",
        "type": "credit_note",
        "date": "2026-03-24",
        "project_id": "DEMO-DASHBOARD",
        "net_pence": -160000,
        "credits_invoice_id": "INV-118",
        "reason": "Full cancellation solely to correct the PO reference; replaced by INV-127",
        "lines": [
          {
            "description": "Cancel INV-118 / CR12 for PO correction",
            "scope_id": null,
            "change_id": "CR12",
            "net_pence": -160000
          }
        ],
        "replacement_invoice_id": "INV-127"
      },
      {
        "record_id": "INV-127",
        "type": "invoice",
        "date": "2026-03-25",
        "project_id": "DEMO-DASHBOARD",
        "net_pence": 160000,
        "reissues_invoice_id": "INV-118",
        "lines": [
          {
            "description": "CR12 SSO module; replacement of INV-118 with corrected PO reference",
            "scope_id": null,
            "change_id": "CR12",
            "net_pence": 160000
          }
        ],
        "receipt_refs": [],
        "credit_refs": [],
        "remaining_principal_pence": 160000
      }
    ],
    "receipt_register": [
      {
        "record_id": "RCPT-01",
        "date": "2026-03-10",
        "invoice_id": "INV-100",
        "principal_received_pence": 1200000,
        "illustrative": true
      },
      {
        "record_id": "RCPT-02",
        "date": "2026-03-20",
        "invoice_id": "INV-110",
        "principal_received_pence": 1200000,
        "illustrative": true
      }
    ],
    "receipt_convention": "Only the net principal allocation is represented. The fixture makes no claim about VAT rates or gross bank amounts.",
    "project_net_invoiced_after_credits_pence": 2560000,
    "project_principal_received_pence": 2400000,
    "project_outstanding_principal_pence": 160000
  },
  "decisions": [
    {
      "record_id": "T-17",
      "change_id": "CR17",
      "decision": "supported_billing_gap",
      "identified_principal_pence": 480000,
      "reason": "Outside baseline scope, explicitly approved, delivery accepted and absent from the complete invoice/credit register. Tracker invoiced status has no supporting invoice.",
      "evidence_refs": [
        "SOW-01",
        "A-17",
        "D-17",
        "COVERAGE-01"
      ],
      "invoice_release_status": "Awaiting consultancy approval and PO confirmation"
    },
    {
      "record_id": "T-21",
      "change_id": "CR21",
      "decision": "supported_billing_gap",
      "identified_principal_pence": 210000,
      "reason": "Additional languages are outside the English-only baseline. Written approval and delivery acceptance are present; absent from the complete invoice/credit register. Approval post-dates the stale tracker status.",
      "evidence_refs": [
        "SOW-01",
        "A-21",
        "D-21",
        "COVERAGE-01"
      ],
      "invoice_release_status": "Awaiting consultancy approval and PO confirmation"
    },
    {
      "record_id": "T-24",
      "decision": "exclude_included_work",
      "identified_principal_pence": 0,
      "reason": "Correction to agreed filter behaviour in the first included UAT round; internal cost is not an additional approved charge.",
      "evidence_refs": [
        "SOW-01",
        "UAT-24"
      ]
    },
    {
      "record_id": "T-25",
      "decision": "exclude_unapproved_request",
      "identified_principal_pence": 0,
      "reason": "The customer requested a price before deciding. No accepted scope/price approval exists in the complete record set.",
      "evidence_refs": [
        "R-25",
        "COVERAGE-01"
      ]
    },
    {
      "record_id": "T-12",
      "change_id": "CR12",
      "decision": "exclude_existing_invoice_and_debt",
      "identified_principal_pence": 0,
      "reason": "INV-118 plus CN-07 plus INV-127 nets to 160000 pence already invoiced. The unpaid replacement is existing debt, not an unbilled change.",
      "evidence_refs": [
        "INV-118",
        "CN-07",
        "INV-127"
      ]
    },
    {
      "record_id": "T-17-copy",
      "change_id": "CR17",
      "decision": "exclude_duplicate",
      "identified_principal_pence": 0,
      "reason": "Duplicate tracker entry for the same CR17 approval and delivery; no second entitlement.",
      "evidence_refs": [
        "T-17",
        "A-17",
        "D-17"
      ]
    }
  ],
  "single_outstanding_request": {
    "request_id": "ASK-01",
    "recipient_actor_id": "SUPPLIER-FINANCE",
    "related_source_id": "PO-NOTE-01",
    "question": "Can finance use PO-4407 for both draft lines?",
    "reply_options": [
      "Approve both - PO-4407",
      "Approve both - PO [replacement number]",
      "Hold [CR17 / CR21 / both]"
    ],
    "status": "Outstanding; no answer has been invented or assumed.",
    "no_external_contact": true
  },
  "outcome": {
    "illustrative": true,
    "tracker_records_reviewed": 6,
    "supported_billing_gaps": 2,
    "excluded_records": 4,
    "identified_principal_pence": 690000,
    "newly_invoiced_from_pack_pence": 0,
    "realised_eligible_principal_pence": 0,
    "current_success_fee_pence": 0,
    "conditional_success_fee_if_all_identified_principal_is_eligible_and_collected_pence": 69000,
    "conditional_fee_is_not_accrued": true,
    "caveat": "Identification is not recovery and does not guarantee collection. Draft lines are not issued invoices. PO coverage remains unconfirmed."
  },
  "no_gap_example": {
    "synthetic": true,
    "project_id": "DEMO-NO-GAP",
    "review_cutoff": "2026-03-31",
    "sources": [
      {
        "id": "NG-SOW",
        "text": "Baseline fee GBP3000; includes UAT corrections. Additional features require written scope and price approval. Baseline delivered and accepted."
      },
      {
        "id": "NG-INV",
        "text": "Complete invoice/credit/receipt register: baseline invoiced GBP3000 and paid GBP3000. No credits or other invoices."
      },
      {
        "id": "NG-UAT",
        "text": "Correct agreed behaviour in included UAT round. Internal cost estimate GBP400."
      },
      {
        "id": "NG-REQUEST",
        "text": "Please estimate a future feature. Internal estimate GBP700. No customer approval and no delivery."
      }
    ],
    "supported_additional_principal_pence": 0,
    "realised_incremental_principal_pence": 0,
    "decision": "Close baseline project; agree scope and price separately before performing proposed additional work."
  }
}
