{
  "disclosure": "独自ダミー。月内固定の比較用単価による数量評価。会計上の実原価や因果確定ではない。",
  "batch": 2,
  "complete": true,
  "periods": {
    "A:2026-08": {
      "store": "A",
      "period": "2026-08",
      "counts": {
        "M01": 100,
        "M02": 50
      },
      "total_sales": 150,
      "totals": {
        "theoretical": "10400",
        "actual": "11300",
        "waste": "390",
        "unexplained": "510"
      },
      "ingredients": [
        {
          "id": "P",
          "price_per_kg": "200",
          "theoretical_g": "12500",
          "actual_g": "13000",
          "waste_g": "200",
          "unexplained_g": "300",
          "opening_g": "3000",
          "received_g": "12000",
          "returned_g": "0",
          "net_transfer_g": "0",
          "closing_g": "2000",
          "stock_id": "A-2026-08-P",
          "stock_revision": 1,
          "values": {
            "theoretical": "2500",
            "actual": "2600",
            "waste": "40",
            "unexplained": "60"
          }
        },
        {
          "id": "C",
          "price_per_kg": "1000",
          "theoretical_g": "4000",
          "actual_g": "4500",
          "waste_g": "200",
          "unexplained_g": "300",
          "opening_g": "3000",
          "received_g": "3500",
          "returned_g": "0",
          "net_transfer_g": "0",
          "closing_g": "2000",
          "stock_id": "A-2026-08-C",
          "stock_revision": 1,
          "values": {
            "theoretical": "4000",
            "actual": "4500",
            "waste": "200",
            "unexplained": "300"
          }
        },
        {
          "id": "O",
          "price_per_kg": "300",
          "theoretical_g": "13000",
          "actual_g": "14000",
          "waste_g": "500",
          "unexplained_g": "500",
          "opening_g": "3000",
          "received_g": "13000",
          "returned_g": "0",
          "net_transfer_g": "0",
          "closing_g": "2000",
          "stock_id": "A-2026-08-O",
          "stock_revision": 1,
          "values": {
            "theoretical": "3900",
            "actual": "4200",
            "waste": "150",
            "unexplained": "150"
          }
        }
      ],
      "recipes": {
        "P": {
          "M01": "100",
          "M02": "50"
        },
        "C": {
          "M01": "20",
          "M02": "40"
        },
        "O": {
          "M01": "80",
          "M02": "100"
        }
      }
    },
    "A:2026-09": {
      "store": "A",
      "period": "2026-09",
      "counts": {
        "M01": 100,
        "M02": 100
      },
      "total_sales": 200,
      "totals": {
        "theoretical": "17400",
        "actual": "19440",
        "waste": "756",
        "unexplained": "1284"
      },
      "ingredients": [
        {
          "id": "P",
          "price_per_kg": "240",
          "theoretical_g": "15000",
          "actual_g": "16000",
          "waste_g": "400",
          "unexplained_g": "600",
          "opening_g": "3000",
          "received_g": "16500",
          "returned_g": "1000",
          "net_transfer_g": "-500",
          "closing_g": "2000",
          "stock_id": "A-2026-09-P",
          "stock_revision": 1,
          "values": {
            "theoretical": "3600",
            "actual": "3840",
            "waste": "96",
            "unexplained": "144"
          }
        },
        {
          "id": "C",
          "price_per_kg": "1200",
          "theoretical_g": "7000",
          "actual_g": "8000",
          "waste_g": "300",
          "unexplained_g": "700",
          "opening_g": "3000",
          "received_g": "7000",
          "returned_g": "0",
          "net_transfer_g": "0",
          "closing_g": "2000",
          "stock_id": "A-2026-09-C",
          "stock_revision": 1,
          "values": {
            "theoretical": "8400",
            "actual": "9600",
            "waste": "360",
            "unexplained": "840"
          }
        },
        {
          "id": "O",
          "price_per_kg": "300",
          "theoretical_g": "18000",
          "actual_g": "20000",
          "waste_g": "1000",
          "unexplained_g": "1000",
          "opening_g": "3000",
          "received_g": "19000",
          "returned_g": "0",
          "net_transfer_g": "0",
          "closing_g": "2000",
          "stock_id": "A-2026-09-O",
          "stock_revision": 1,
          "values": {
            "theoretical": "5400",
            "actual": "6000",
            "waste": "300",
            "unexplained": "300"
          }
        }
      ],
      "recipes": {
        "P": {
          "M01": "100",
          "M02": "50"
        },
        "C": {
          "M01": "20",
          "M02": "50"
        },
        "O": {
          "M01": "80",
          "M02": "100"
        }
      }
    },
    "B:2026-08": {
      "store": "B",
      "period": "2026-08",
      "counts": {
        "M01": 60,
        "M02": 40
      },
      "total_sales": 100,
      "totals": {
        "theoretical": "7040",
        "actual": "7400",
        "waste": "150",
        "unexplained": "210"
      },
      "ingredients": [
        {
          "id": "P",
          "price_per_kg": "200",
          "theoretical_g": "8000",
          "actual_g": "8500",
          "waste_g": "100",
          "unexplained_g": "400",
          "opening_g": "3000",
          "received_g": "7500",
          "returned_g": "0",
          "net_transfer_g": "0",
          "closing_g": "2000",
          "stock_id": "B-2026-08-P",
          "stock_revision": 1,
          "values": {
            "theoretical": "1600",
            "actual": "1700",
            "waste": "20",
            "unexplained": "80"
          }
        },
        {
          "id": "C",
          "price_per_kg": "1000",
          "theoretical_g": "2800",
          "actual_g": "3000",
          "waste_g": "100",
          "unexplained_g": "100",
          "opening_g": "3000",
          "received_g": "2000",
          "returned_g": "0",
          "net_transfer_g": "0",
          "closing_g": "2000",
          "stock_id": "B-2026-08-C",
          "stock_revision": 1,
          "values": {
            "theoretical": "2800",
            "actual": "3000",
            "waste": "100",
            "unexplained": "100"
          }
        },
        {
          "id": "O",
          "price_per_kg": "300",
          "theoretical_g": "8800",
          "actual_g": "9000",
          "waste_g": "100",
          "unexplained_g": "100",
          "opening_g": "3000",
          "received_g": "8000",
          "returned_g": "0",
          "net_transfer_g": "0",
          "closing_g": "2000",
          "stock_id": "B-2026-08-O",
          "stock_revision": 1,
          "values": {
            "theoretical": "2640",
            "actual": "2700",
            "waste": "30",
            "unexplained": "30"
          }
        }
      ],
      "recipes": {
        "P": {
          "M01": "100",
          "M02": "50"
        },
        "C": {
          "M01": "20",
          "M02": "40"
        },
        "O": {
          "M01": "80",
          "M02": "100"
        }
      }
    },
    "B:2026-09": {
      "store": "B",
      "period": "2026-09",
      "counts": {
        "M01": 50,
        "M02": 50
      },
      "total_sales": 100,
      "totals": {
        "theoretical": "8700",
        "actual": "9672",
        "waste": "318",
        "unexplained": "654"
      },
      "ingredients": [
        {
          "id": "P",
          "price_per_kg": "240",
          "theoretical_g": "7500",
          "actual_g": "7800",
          "waste_g": "200",
          "unexplained_g": "100",
          "opening_g": "3000",
          "received_g": "6300",
          "returned_g": "0",
          "net_transfer_g": "500",
          "closing_g": "2000",
          "stock_id": "B-2026-09-P",
          "stock_revision": 1,
          "values": {
            "theoretical": "1800",
            "actual": "1872",
            "waste": "48",
            "unexplained": "24"
          }
        },
        {
          "id": "C",
          "price_per_kg": "1200",
          "theoretical_g": "3500",
          "actual_g": "4000",
          "waste_g": "100",
          "unexplained_g": "400",
          "opening_g": "3000",
          "received_g": "3000",
          "returned_g": "0",
          "net_transfer_g": "0",
          "closing_g": "2000",
          "stock_id": "B-2026-09-C",
          "stock_revision": 2,
          "values": {
            "theoretical": "4200",
            "actual": "4800",
            "waste": "120",
            "unexplained": "480"
          }
        },
        {
          "id": "O",
          "price_per_kg": "300",
          "theoretical_g": "9000",
          "actual_g": "10000",
          "waste_g": "500",
          "unexplained_g": "500",
          "opening_g": "3000",
          "received_g": "9000",
          "returned_g": "0",
          "net_transfer_g": "0",
          "closing_g": "2000",
          "stock_id": "B-2026-09-O",
          "stock_revision": 1,
          "values": {
            "theoretical": "2700",
            "actual": "3000",
            "waste": "150",
            "unexplained": "150"
          }
        }
      ],
      "recipes": {
        "P": {
          "M01": "100",
          "M02": "50"
        },
        "C": {
          "M01": "20",
          "M02": "50"
        },
        "O": {
          "M01": "80",
          "M02": "100"
        }
      }
    }
  },
  "bridges": [
    {
      "store": "A",
      "before": "11300",
      "after": "19440",
      "difference": "8140",
      "factors": {
        "volume": "10400/3",
        "mix": "1600/3",
        "recipe": "1000",
        "price": "2000",
        "waste": "366",
        "unexplained": "774"
      }
    },
    {
      "store": "B",
      "before": "7400",
      "after": "9672",
      "difference": "2272",
      "factors": {
        "volume": "0",
        "mix": "160",
        "recipe": "500",
        "price": "1000",
        "waste": "168",
        "unexplained": "444"
      }
    }
  ],
  "known_store_subtotal": {
    "volume": "10400/3",
    "mix": "2080/3",
    "recipe": "1500",
    "price": "3000",
    "waste": "534",
    "unexplained": "1218",
    "before": "18700",
    "after": "29112",
    "difference": "10412"
  },
  "all_store_total": {
    "volume": "10400/3",
    "mix": "2080/3",
    "recipe": "1500",
    "price": "3000",
    "waste": "534",
    "unexplained": "1218",
    "before": "18700",
    "after": "29112",
    "difference": "10412"
  },
  "errors": [],
  "global_errors": [],
  "duplicates_removed": {
    "sales": 1,
    "recipes": 0,
    "prices": 0,
    "stocks": 0,
    "waste": 0,
    "transfers": 0
  }
}
