{
  "schemaVersion": 1,
  "runDate": "2026-10-09",
  "dataKind": "wholly-synthetic",
  "sourceCommit": "136d201dc9b5deaff6c7a2a45402590e23323f23",
  "scope": "Existing spreadsheet parser, deterministic calculation engine, reference comparison and input rejection. Not the full filing workflow, PDF extraction, DB operation, or an AI tax-answering service.",
  "execution": "Actual Node.js execution; website replays these captured results and does not calculate user-supplied data.",
  "period": {
    "fromMonth": "2025-01",
    "toMonth": "2025-03",
    "label": "2025년 1분기 · 합성 법인 예제"
  },
  "input": [
    {
      "date": "2025-01-10",
      "side": "sale",
      "item": "합성 매출 A",
      "supply": 1000000,
      "vat": 100000,
      "total": 1100000,
      "source": {
        "file": "sales.xls",
        "row": 2
      },
      "inPeriod": true
    },
    {
      "date": "2025-02-12",
      "side": "sale",
      "item": "합성 매출 B",
      "supply": 500000,
      "vat": 50000,
      "total": 550000,
      "source": {
        "file": "sales.xls",
        "row": 3
      },
      "inPeriod": true
    },
    {
      "date": "2025-04-01",
      "side": "sale",
      "item": "합성 기간 밖 거래",
      "supply": 2000000,
      "vat": 200000,
      "total": 2200000,
      "source": {
        "file": "sales.xls",
        "row": 4
      },
      "inPeriod": false
    },
    {
      "date": "2025-03-02",
      "side": "purchase",
      "item": "합성 매입 A",
      "supply": 400000,
      "vat": 40000,
      "total": 440000,
      "source": {
        "file": "purchases.xls",
        "row": 2
      },
      "inPeriod": true
    }
  ],
  "totals": {
    "salesAmount": 1500000,
    "salesTax": 150000,
    "inputTax": 40000,
    "result": 110000
  },
  "comparisonSummary": [
    {
      "label": "매출 공급가액",
      "key": "sales.total",
      "cell": "amount",
      "expected": 1500000,
      "computed": 1500000
    },
    {
      "label": "매출세액",
      "key": "sales.total",
      "cell": "tax",
      "expected": 150000,
      "computed": 150000
    },
    {
      "label": "공제매입세액",
      "key": "input.net",
      "cell": "tax",
      "expected": 40000,
      "computed": 40000
    },
    {
      "label": "예제 차감 결과",
      "key": "final.due",
      "cell": "tax",
      "expected": 110000,
      "computed": 110000
    }
  ],
  "scenarios": {
    "matching": {
      "diffs": [],
      "checked": 133
    },
    "mismatch": {
      "diffs": [
        {
          "key": "final.due",
          "lineNo": 30,
          "cell": "tax",
          "filed": 111000,
          "computed": 110000
        }
      ],
      "checked": 133
    },
    "invalidInput": {
      "name": "Error",
      "message": "invalid-sales.xls:2 — 합계(1099999) ≠ 공급가액(1000000) + 부가세(100000)",
      "input": {
        "date": "2025-01-10",
        "side": "sale",
        "item": "합성 오류 거래",
        "supply": 1000000,
        "vat": 100000,
        "total": 1099999,
        "source": {
          "file": "invalid-sales.xls",
          "row": 2
        },
        "inPeriod": true
      }
    },
    "missingReference": {
      "name": "Error",
      "message": "신고서 대조 불완전: 필수 칸 1개가 없거나 유효한 원 단위 금액이 아니다 (input.invoice.general.tax)",
      "missingField": "input.invoice.general.tax"
    }
  },
  "evidence": {
    "cliCommand": "node packages/cli/src/main.ts compute synthetic/config.json --period 2025-Q1 --form 2025-07-04",
    "cliExitCode": 0,
    "cliOutput": "\n■ 합성 거래 데모 (2025-01~2025-03, 서식 2025-07-04) — 계산값\n  (1) 과세 세금계산서 발급분  금액 1,500,000  세액 150,000\n  (9) 합계  금액 1,500,000  세액 150,000\n  (10) 세금계산서 수취분 일반매입  금액 400,000  세액 40,000\n  (16) 합계 (10)-(11)+(12)+(13)+(14)+(15)  금액 400,000  세액 40,000\n  (18) 차감계 (16)-(17)  금액 400,000  세액 40,000\n  (-) 납부(환급)세액 (매출세액㉮-매입세액㉯)    세액 110,000\n  (30) 차감·가감하여 납부할 세액(환급받을 세액) ㉰-㉱-㉲-㉳-㉴-㉵-㉶-㉷-㉸+㉹    세액 110,000\n",
    "sourceHashes": {
      "packages/import/src/semusarang/trade-entries.ts": "5d6b4badc52c47fc99dbcb4e056490fdaaa536416b1b062e600516aeb8e9b8d1",
      "packages/engine/src/vat/from-trades.ts": "0379b96fb4f3322c7d49843c94be9eba0d2b68fee3e559c2c551fe93e33f1714",
      "packages/cli/src/reconcile.ts": "29e1c7ec858e36fd6bd9b01525dccc8c32d28fb70caf248f0efe26be8121b018"
    }
  },
  "resultHash": "bb5718d5afd825baeff3264754d03bc28174e100e5d197a1dbe788681a285a2f"
}
