{
  "action_kinds": {
    "certify_reconciliation": "certify a reconciliation",
    "close_period": "close the period",
    "post_journal_entry": "post a journal entry"
  },
  "buyer": "Finance teams and accounting firms using AI to prepare journal entries and reconciliations",
  "case_fields": {
    "controller_signoff": {
      "required": false,
      "type": "bool"
    },
    "entity": {
      "required": true,
      "type": "str"
    },
    "entries": {
      "required": true,
      "type": "list"
    },
    "materiality": {
      "required": true,
      "type": "num"
    },
    "period": {
      "required": true,
      "type": "str"
    },
    "period_locked": {
      "required": false,
      "type": "bool"
    },
    "reconciliations": {
      "required": false,
      "type": "list"
    }
  },
  "field": "Accounting close",
  "field_no": 6,
  "id": "accounting-close",
  "job": "Take a period's proposed entries and reconciliations, propose posting, certifying and closing, and decide each action under internal-control rules",
  "limits": "Decisions only: the desk proposes work for the case you sent and decides each action under its published rules. Nothing is executed and no real system is touched. The record proves what was decided on that input, not that the input is true. CAIN-42 is governed AGI infrastructure, not yet AGI; these desks are deterministic rule engines, not general intelligence. Not legal, compliance, medical or insurance advice.",
  "name": "CAIN-42 VAGI Month-End Close Agent",
  "price_proposal": "Proposal: $500/mo per entity; $2,500 setup with the client's chart of accounts and thresholds",
  "recommended_2027": false,
  "references": [
    "Internal control over financial reporting (SOX 404) journal-entry and reconciliation controls",
    "PCAOB AS 2401 (journal entry testing)",
    "COSO 2013 control activities (segregation of duties)"
  ],
  "rule_set": [
    {
      "id": "AC-1",
      "text": "Entries must balance and be non-zero (DENY)."
    },
    {
      "id": "AC-2",
      "text": "Segregation of duties: no self-approval and no AI approver (DENY); unapproved entries (HOLD)."
    },
    {
      "id": "AC-3",
      "text": "No posting to a locked or different period (DENY)."
    },
    {
      "id": "AC-4",
      "text": "Supporting documents must be attached (HOLD)."
    },
    {
      "id": "AC-5",
      "text": "Manual entries at or above materiality get controller review (HOLD)."
    },
    {
      "id": "AC-6",
      "text": "Postings to suspense or clearing accounts are reviewed (HOLD)."
    },
    {
      "id": "AC-7",
      "text": "Reconciliations with a difference over 0.01, or without a named human reviewer (HOLD)."
    },
    {
      "id": "AC-8",
      "text": "The period closes only when every entry and reconciliation is clean and the controller has signed off (DENY / HOLD)."
    }
  ],
  "rule_set_sha256": "589c69cff10ea925553929a507bae6ef0249ac01176bb1d16b33db971d408a32",
  "rules": 8,
  "sample_cases": {
    "clean-close": {
      "case": {
        "controller_signoff": true,
        "entity": "Example Co.",
        "entries": [
          {
            "approved_by": "staff accountant",
            "id": "JE-1",
            "lines": [
              {
                "account": "6100 Rent expense",
                "debit": 12000
              },
              {
                "account": "2100 Accrued liabilities",
                "credit": 12000
              }
            ],
            "manual": false,
            "period": "2026-10",
            "prepared_by": "agent:close-assistant",
            "support_attached": true
          },
          {
            "approved_by": "staff accountant",
            "id": "JE-2",
            "lines": [
              {
                "account": "6100 Rent expense",
                "debit": 3400.5
              },
              {
                "account": "2100 Accrued liabilities",
                "credit": 3400.5
              }
            ],
            "manual": false,
            "period": "2026-10",
            "prepared_by": "agent:close-assistant",
            "support_attached": true
          }
        ],
        "materiality": 50000,
        "period": "2026-10",
        "reconciliations": [
          {
            "account": "1010 Operating cash",
            "gl_balance": 254310.22,
            "reviewed_by": "senior accountant",
            "subledger_balance": 254310.22
          }
        ]
      },
      "expect": "ALLOW",
      "title": "AI-prepared, human-approved entries; reconciled cash; controller signed"
    },
    "material-items": {
      "case": {
        "controller_signoff": true,
        "entity": "Example Co.",
        "entries": [
          {
            "approved_by": "assistant controller",
            "id": "JE-1",
            "lines": [
              {
                "account": "6100 Rent expense",
                "debit": 120000
              },
              {
                "account": "2100 Accrued liabilities",
                "credit": 120000
              }
            ],
            "manual": true,
            "period": "2026-10",
            "prepared_by": "staff accountant",
            "support_attached": true
          },
          {
            "approved_by": "staff accountant",
            "id": "JE-2",
            "lines": [
              {
                "account": "9999 Suspense",
                "debit": 900
              },
              {
                "account": "1010 Operating cash",
                "credit": 900
              }
            ],
            "manual": false,
            "period": "2026-10",
            "prepared_by": "agent:close-assistant",
            "support_attached": false
          }
        ],
        "materiality": 50000,
        "period": "2026-10",
        "reconciliations": [
          {
            "account": "1200 Accounts receivable",
            "gl_balance": 88120.0,
            "reviewed_by": "senior accountant",
            "subledger_balance": 87990.0
          }
        ]
      },
      "expect": "HOLD_FOR_HUMAN",
      "title": "Material manual entry, unsupported suspense posting, AR difference"
    },
    "risky-close": {
      "case": {
        "entity": "Example Co.",
        "entries": [
          {
            "approved_by": "staff accountant",
            "id": "JE-1",
            "lines": [
              {
                "account": "6100 Rent expense",
                "debit": 8000
              },
              {
                "account": "2100 Accrued liabilities",
                "credit": 7800
              }
            ],
            "manual": false,
            "period": "2026-10",
            "prepared_by": "agent:close-assistant",
            "support_attached": true
          },
          {
            "approved_by": "agent:close-assistant",
            "id": "JE-2",
            "lines": [
              {
                "account": "6100 Rent expense",
                "debit": 15000
              },
              {
                "account": "2100 Accrued liabilities",
                "credit": 15000
              }
            ],
            "manual": false,
            "period": "2026-10",
            "prepared_by": "agent:close-assistant",
            "support_attached": true
          },
          {
            "approved_by": "staff accountant",
            "id": "JE-3",
            "lines": [
              {
                "account": "6100 Rent expense",
                "debit": 2200
              },
              {
                "account": "2100 Accrued liabilities",
                "credit": 2200
              }
            ],
            "manual": false,
            "period": "2026-09",
            "prepared_by": "agent:close-assistant",
            "support_attached": true
          }
        ],
        "materiality": 50000,
        "period": "2026-10",
        "reconciliations": []
      },
      "expect": "DENY",
      "title": "Unbalanced entry, AI self-approval, wrong period"
    }
  },
  "samples": [
    "clean-close",
    "material-items",
    "risky-close"
  ],
  "why_proof": "Auditors sample journal entries and ask who prepared, who approved and what supports them. When an AI prepares entries, a signed record that a human approved each one and that controls ran is the evidence they ask for."
}