{
  "synthetic": true,
  "capability": "ar-integrity-review",
  "status": "available",
  "scenario": "An invoice is marked closed even though its recorded payments do not cover the invoice total.",
  "sourceTable": {
    "columns": [
      "Invoice",
      "Status",
      "Invoice total",
      "Payments",
      "Remaining"
    ],
    "rows": [
      [
        "INV-901",
        "Closed",
        "$12,000",
        "$9,500",
        "$2,500"
      ],
      [
        "INV-902",
        "Posted",
        "$4,800",
        "$4,800",
        "$0"
      ]
    ]
  },
  "deterministicRule": "Recompute the invoice balance from invoice and payment records, then compare money state with workflow status.",
  "flaggedFinding": "INV-901 is closed with a computed $2,500 remaining balance.",
  "possibleReasons": "The difference could be a write-off, credit, missing payment, migration issue, or an incorrect status.",
  "humanReviewQuestions": [
    "Was a credit or write-off authorized?",
    "Is a payment missing from the source?",
    "Which system controls the final status?"
  ],
  "operatingDecision": "Trace payment, credit, and write-off evidence before correcting the receivable or documenting the resolution."
}
