{
  "kind": "synthetic",
  "version": "demo-export-v1",
  "scenario": "harbor-workshop",
  "report": {
    "schemaVersion": 1,
    "reportSchemaVersion": "action-report-v1",
    "tenantId": "workspace",
    "sourceSystem": "quickbooks",
    "accountId": "123456",
    "mode": "test",
    "connectorVersion": "accounting-evidence-v1",
    "connectorAuthorized": false,
    "asOf": "2026-10-06T00:00:00.000Z",
    "rowCount": 1,
    "evaluatedCount": 1,
    "findings": [
      {
        "findingId": "workspace:quickbooks:123456:invoice.part_paid_stale:1",
        "key": "invoice.part_paid_stale:invoice:1",
        "tenantId": "workspace",
        "entityType": "invoice",
        "entityId": "1",
        "ruleId": "invoice.part_paid_stale",
        "ruleVersion": 1,
        "category": "receivables",
        "severity": "review",
        "confidence": "high",
        "currency": "USD",
        "detectedCents": 6000,
        "recoverableCents": 6000,
        "reason": "Past-due remaining balance with no allocated cash payment for at least 14 calendar days.",
        "signals": [
          "invoice.part_paid_stale"
        ],
        "evidence": [
          "Authoritative remaining balance; credits are not subtracted twice.",
          "Accounting posting dates do not prove bank settlement.",
          "{\"id\":\"3\",\"amountCents\":4000,\"date\":\"2026-09-01\"}"
        ],
        "source": {
          "id": "1",
          "sourceRecordId": "1",
          "sourceSystem": "quickbooks",
          "provider": "quickbooks",
          "workspaceId": "workspace",
          "accountId": "123456",
          "mode": "test",
          "sourceStatus": "Invoice",
          "updatedAt": "2026-10-06T01:00:00.000Z",
          "sourceVersion": "0",
          "status": "open_balance",
          "eligible": true,
          "exclusion": null,
          "customerId": "2",
          "currency": "USD",
          "totalCents": 10000,
          "balanceCents": 6000,
          "paidCents": 4000,
          "paidComplete": false,
          "creditedCents": null,
          "adjustedCents": 0,
          "dueAt": "2026-09-01",
          "paymentEvidence": [
            {
              "id": "3",
              "amountCents": 4000,
              "date": "2026-09-01"
            }
          ],
          "lastPaymentAt": "2026-09-01"
        },
        "provenance": {
          "provider": "quickbooks",
          "accountId": "123456",
          "mode": "test",
          "sourceRecordId": "1",
          "observedAt": "2026-10-06T00:00:00.000Z",
          "version": "accounting-evidence-v1"
        },
        "classification": "finding",
        "economicExposureId": "[\"workspace\",\"quickbooks\",\"123456\",\"test\",\"invoice\",\"1\"]",
        "agingBand": "30–59 days"
      }
    ],
    "risks": [],
    "reconciliationIssues": [],
    "currencies": [
      {
        "currency": "USD",
        "findings": 1,
        "detectedCents": 6000,
        "potentiallyRecoverableCents": 6000
      }
    ],
    "health": {
      "version": "accounting-health-v1",
      "label": "Accounting Revenue Health",
      "score": null,
      "dimensions": [
        {
          "label": "Receivables",
          "rows": 1,
          "flaggedRows": 1,
          "score": 0
        },
        {
          "label": "Reconciliation",
          "rows": 0,
          "flaggedRows": 0,
          "score": null
        },
        {
          "label": "Payment",
          "rows": 0,
          "flaggedRows": 0,
          "score": null
        },
        {
          "label": "Subscription",
          "rows": 0,
          "flaggedRows": 0,
          "score": null
        }
      ],
      "explanation": "Receivables = 100 × (eligible dated invoices − distinct flagged invoices) / eligible dated invoices. No overall score. Reconciliation issues are source observations, not a full reconciliation score. Payment attempts and subscriptions are not measured."
    },
    "coverage": {
      "complete": true
    },
    "sourceSnapshot": {
      "startedAt": "2026-10-06T00:00:00.000Z",
      "observedAt": "2026-10-06T00:00:00.000Z",
      "complete": true,
      "transactional": false,
      "version": "accounting-evidence-v1"
    },
    "verifiedRecoveredCents": null,
    "scope": "Read-only bounded accounting snapshot; six two-decimal currencies; dates use source calendar days. Balances already include credits and tax. No collection, bank settlement, bad-debt intent or verified recovery inferred.",
    "suppressionCount": 0,
    "detectorRegistryVersion": "detector-registry-v2",
    "overlapVersion": "economic-exposure-v1",
    "healthV2": {
      "version": "detector-health-v2.1",
      "label": "Revenue Health · six separate dimensions",
      "score": null,
      "dimensions": [
        {
          "label": "Receivables",
          "rows": 1,
          "flaggedRows": 1,
          "score": 0,
          "coverage": "Measured",
          "scope": "Counts eligible invoices the same way as earlier reports. Shows how common the issue is, not money or the chance of getting paid."
        },
        {
          "label": "Payment",
          "rows": 0,
          "flaggedRows": 0,
          "score": null,
          "coverage": "Not measured",
          "scope": "Counts eligible invoices the same way as earlier reports. Shows how common the issue is, not money or the chance of getting paid."
        },
        {
          "label": "Subscription",
          "rows": 0,
          "flaggedRows": 0,
          "score": null,
          "coverage": "Not measured",
          "scope": "Linked subscription invoice state only; no entitlement or retention measurement."
        },
        {
          "label": "Billing Hygiene",
          "rows": 0,
          "flaggedRows": 0,
          "score": null,
          "coverage": "Not measured",
          "scope": "Drafts with explicit valid dates; 30-day threshold. Intentional drafts can be healthy."
        },
        {
          "label": "Reconciliation",
          "rows": 1,
          "flaggedRows": 0,
          "score": 100,
          "coverage": "Measured",
          "scope": "Known unapplied QBO payments and eligible remaining customer credits only. Not full ledger reconciliation."
        },
        {
          "version": "recovery-readiness-v2.1",
          "label": "Recovery Readiness",
          "rows": 0,
          "flaggedRows": 0,
          "score": null,
          "coverage": "Not measured",
          "scope": "Requires current workspace source-review, monitoring, your permission to act and payment evidence. Not collection probability."
        }
      ],
      "minimumCoverage": "Complete required resources, explicit required fields, at least one eligible record. Missing records/fields are excluded, never treated as healthy.",
      "explanation": "Each measured dimension = round(100 × (eligible records − distinct flagged records) / eligible records). Equal record weights, no currency weighting, no overall score. Coverage describes only these source contracts; 100 does not prove absence of revenue problems."
    },
    "detectorCoverage": [
      {
        "detectorId": "invoice.overdue_unpaid",
        "version": 1,
        "oracleVersion": "detector-oracles-v2-e-1",
        "classification": "finding",
        "matched": 0,
        "eligibleCount": 0,
        "notMeasuredReason": "No records with the complete required field contract",
        "coverage": "Complete bounded source snapshot; eligibility is field-specific",
        "status": "Pilot"
      },
      {
        "detectorId": "invoice.part_paid_stale",
        "version": 1,
        "oracleVersion": "detector-oracles-v2-e-1",
        "classification": "finding",
        "matched": 1,
        "eligibleCount": 1,
        "notMeasuredReason": null,
        "coverage": "Complete bounded source snapshot; eligibility is field-specific",
        "status": "Pilot"
      },
      {
        "detectorId": "quickbooks.unapplied_payment",
        "version": 1,
        "oracleVersion": "detector-oracles-v2-e-1",
        "classification": "observation",
        "matched": 0,
        "eligibleCount": 1,
        "notMeasuredReason": null,
        "coverage": "Complete bounded source snapshot; eligibility is field-specific",
        "status": "Pilot"
      },
      {
        "detectorId": "accounting.available_credit",
        "version": 1,
        "oracleVersion": "detector-oracles-v2-e-1",
        "classification": "observation",
        "matched": 0,
        "eligibleCount": 0,
        "notMeasuredReason": "No records with the complete required field contract",
        "coverage": "Complete bounded source snapshot; eligibility is field-specific",
        "status": "Pilot"
      }
    ],
    "demo": true,
    "evidenceKind": "synthetic"
  },
  "actionCenter": {
    "version": "action-center-v1",
    "reportSchemaVersion": "action-report-v1",
    "priorityVersion": "currency-age-v1",
    "priorityExplanation": "Grouped by currency and rule, then oldest due date (overdue) or last payment (part-paid) first. Ties use finding ID. Amount sorting stays within each currency. Dates describe source age, not severity or collection probability.",
    "items": [
      {
        "classification": "finding",
        "economicExposureId": "[\"workspace\",\"quickbooks\",\"123456\",\"test\",\"invoice\",\"1\"]",
        "agingBand": "30–59 days",
        "signals": [
          "invoice.part_paid_stale"
        ],
        "findingId": "workspace:quickbooks:123456:invoice.part_paid_stale:1",
        "ruleId": "invoice.part_paid_stale",
        "title": "Part-paid balance",
        "currency": "USD",
        "amountCents": 6000,
        "category": "Needs review",
        "sourceDate": "2026-09-01",
        "sourceDateMs": 1788220800000,
        "review": "Source review not completed",
        "manualReviewApproved": false,
        "nextStep": "Check the source invoice, recent payments, credits and disputes before deciding what to do.",
        "authorization": [],
        "verifiedRecoveredCents": null,
        "reversed": false,
        "ambiguous": false,
        "lifecycle": [
          {
            "step": "Find",
            "state": "Found in this scan"
          },
          {
            "step": "Verify",
            "state": "Check your source records; source review not completed"
          },
          {
            "step": "Recover",
            "state": "Not started / requires separate authorization"
          },
          {
            "step": "Prove",
            "state": "Not verified"
          }
        ],
        "history": [
          {
            "at": "2026-10-06T00:00:00.000Z",
            "label": "Finding created from the source snapshot"
          }
        ]
      }
    ],
    "currencies": [
      {
        "currency": "USD",
        "needsAttentionCents": 6000,
        "verifiedRecoveredCents": null
      }
    ],
    "counts": {
      "Needs review": 1,
      "Follow up": 0,
      "Business decision": 0,
      "Recovery in progress": 0,
      "Verified recovered": 0
    },
    "rules": {
      "invoice.part_paid_stale": 1
    },
    "proofExplanation": "A falling balance or a disappearing finding is not verified recovery. Source-observed ledger attribution is not proof of causality."
  },
  "warning": "Fictional inputs. No real recovery, commissioning, active monitoring or customer evidence."
}