{
  "kind": "synthetic",
  "version": "demo-export-v1",
  "scenario": "comet-catering",
  "report": {
    "schemaVersion": 1,
    "reportSchemaVersion": "action-report-v1",
    "tenantId": "workspace",
    "sourceSystem": "square",
    "accountId": "MERCHANT1",
    "locationId": "LOCATION1",
    "mode": "test",
    "connectorVersion": "square-evidence-v1",
    "connectorAuthorized": false,
    "asOf": "2026-10-06T00:00:00.000Z",
    "rowCount": 1,
    "evaluatedCount": 1,
    "findings": [
      {
        "findingId": "workspace:square:MERCHANT1:inv:1:square.invoice_overdue",
        "key": "square.invoice_overdue:invoice:inv:1",
        "tenantId": "workspace",
        "entityType": "invoice",
        "entityId": "inv:1",
        "ruleId": "square.invoice_overdue",
        "ruleVersion": 1,
        "category": "receivables",
        "severity": "review",
        "confidence": "high",
        "currency": "USD",
        "detectedCents": 3000,
        "recoverableCents": 3000,
        "signals": [
          "square.invoice_overdue"
        ],
        "reason": "Published Square invoice has positive unpaid payment-request balances whose due dates have passed in the invoice timezone.",
        "evidence": [
          "Only overdue request balances count; future installments are excluded.",
          "Source timezone: America/Vancouver",
          "{\"id\":\"deposit\",\"type\":\"INSTALLMENT\",\"currency\":\"USD\",\"totalCents\":3000,\"paidCents\":0,\"balanceCents\":3000,\"dueAt\":\"2026-09-01\"}"
        ],
        "source": {
          "id": "inv:1",
          "sourceRecordId": "inv:1",
          "sourceSystem": "square",
          "provider": "square",
          "workspaceId": "workspace",
          "accountId": "MERCHANT1",
          "locationId": "LOCATION1",
          "mode": "test",
          "sourceStatus": "UNPAID",
          "updatedAt": "2026-09-01T00:00:00.000Z",
          "sourceVersion": 1,
          "orderId": "order1",
          "subscriptionId": null,
          "currency": "USD",
          "totalCents": 10000,
          "paidCents": 0,
          "balanceCents": 10000,
          "requests": [
            {
              "id": "balance",
              "type": "INSTALLMENT",
              "currency": "USD",
              "totalCents": 7000,
              "paidCents": 0,
              "balanceCents": 7000,
              "dueAt": "2026-11-01"
            },
            {
              "id": "deposit",
              "type": "INSTALLMENT",
              "currency": "USD",
              "totalCents": 3000,
              "paidCents": 0,
              "balanceCents": 3000,
              "dueAt": "2026-09-01"
            }
          ],
          "timezone": "America/Vancouver",
          "createdAt": "2026-09-01T00:00:00.000Z",
          "dueAt": "2026-09-01",
          "paymentEvidence": [],
          "lastPaymentAt": null,
          "eligible": true,
          "overdueBalanceCents": 3000
        },
        "provenance": {
          "provider": "square",
          "accountId": "MERCHANT1",
          "locationId": "LOCATION1",
          "mode": "test",
          "sourceRecordId": "inv:1",
          "observedAt": "2026-10-06T00:00:00.000Z",
          "version": "square-evidence-v1"
        },
        "classification": "finding",
        "economicExposureId": "[\"workspace\",\"square\",\"MERCHANT1\",\"test\",\"invoice\",\"inv:1\"]",
        "agingBand": "30–59 days"
      }
    ],
    "risks": [],
    "reconciliationIssues": [],
    "currencies": [
      {
        "currency": "USD",
        "findings": 1,
        "detectedCents": 3000,
        "potentiallyRecoverableCents": 3000
      }
    ],
    "health": {
      "score": null,
      "dimensions": [
        {
          "label": "Receivables",
          "rows": 1,
          "flaggedRows": 1
        }
      ]
    },
    "coverage": {
      "complete": true
    },
    "sourceSnapshot": {
      "startedAt": "2026-10-06T00:00:00.000Z",
      "observedAt": "2026-10-06T00:00:00.000Z",
      "complete": true,
      "transactional": false,
      "version": "square-evidence-v1"
    },
    "verifiedRecoveredCents": null,
    "scope": "Read-only Square invoice and native linked payment/refund evidence. Only overdue request balances count. Six supported two-decimal currencies, kept separate; no overall score or verified recovery.",
    "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": 0,
          "flaggedRows": 0,
          "score": null,
          "coverage": "Not 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": "square.invoice_overdue",
        "version": 1,
        "oracleVersion": "square-oracles-v1",
        "classification": "finding",
        "matched": 1,
        "eligibleCount": 1,
        "notMeasuredReason": null,
        "coverage": "Complete bounded source snapshot; eligibility is field-specific",
        "status": "Pilot"
      },
      {
        "detectorId": "square.partial_stale",
        "version": 1,
        "oracleVersion": "square-oracles-v1",
        "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": "square.refund_observed",
        "version": 1,
        "oracleVersion": "square-oracles-v1",
        "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\",\"square\",\"MERCHANT1\",\"test\",\"invoice\",\"inv:1\"]",
        "agingBand": "30–59 days",
        "signals": [
          "square.invoice_overdue"
        ],
        "findingId": "workspace:square:MERCHANT1:inv:1:square.invoice_overdue",
        "ruleId": "square.invoice_overdue",
        "title": "Overdue Square payment requests",
        "currency": "USD",
        "amountCents": 3000,
        "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": 3000,
        "verifiedRecoveredCents": null
      }
    ],
    "counts": {
      "Needs review": 1,
      "Follow up": 0,
      "Business decision": 0,
      "Recovery in progress": 0,
      "Verified recovered": 0
    },
    "rules": {
      "square.invoice_overdue": 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."
}