{
  "schemaVersion": 1,
  "kitId": "business-restaurant-food-truck",
  "restaurant": "Cedar Street Tacos",
  "currency": "CAD",
  "period": {
    "start": "2026-08-20",
    "end": "2026-09-02",
    "days": 14
  },
  "method": "opening inventory at standard cost plus purchases at invoiced cost less closing inventory at standard cost",
  "purchaseSource": {
    "table": "purchases",
    "rowsInPeriod": 24,
    "purchaseDates": [
      "2026-08-26",
      "2026-09-02"
    ],
    "purchaseIds": [
      "PUR-0073",
      "PUR-0074",
      "PUR-0075",
      "PUR-0076",
      "PUR-0077",
      "PUR-0078",
      "PUR-0079",
      "PUR-0080",
      "PUR-0081",
      "PUR-0082",
      "PUR-0083",
      "PUR-0084",
      "PUR-0085",
      "PUR-0086",
      "PUR-0087",
      "PUR-0088",
      "PUR-0089",
      "PUR-0090",
      "PUR-0091",
      "PUR-0092",
      "PUR-0093",
      "PUR-0094",
      "PUR-0095",
      "PUR-0096"
    ]
  },
  "lines": [
    {
      "ingredientId": "ING-01",
      "ingredient": "Corn Tortilla",
      "stockUnit": "each",
      "standardUnitCostCad": 0.2,
      "openingQuantity": 2013.0,
      "openingValueCad": 402.6,
      "purchasedQuantity": 68.0,
      "purchasedValueCad": 13.26,
      "closingQuantity": 16.0,
      "closingValueCad": 3.2,
      "cogsValueCad": 412.66,
      "recipeUsageQuantity": 2058.0,
      "wasteQuantity": 5.0,
      "usageAndWasteAtStandardCad": 412.6,
      "purchasePriceVarianceCad": -0.34,
      "countVarianceQuantity": -2.0,
      "countVarianceAtStandardCad": -0.4,
      "expectedCogsCad": 412.66,
      "roundingResidualCad": 0.0
    },
    {
      "ingredientId": "ING-02",
      "ingredient": "Chicken Thigh",
      "stockUnit": "kg",
      "standardUnitCostCad": 6.6,
      "openingQuantity": 83.0,
      "openingValueCad": 547.8,
      "purchasedQuantity": 80.0,
      "purchasedValueCad": 517.84,
      "closingQuantity": 20.71,
      "closingValueCad": 136.69,
      "cogsValueCad": 928.95,
      "recipeUsageQuantity": 141.742,
      "wasteQuantity": 0.95,
      "usageAndWasteAtStandardCad": 941.77,
      "purchasePriceVarianceCad": -10.16,
      "countVarianceQuantity": 0.4,
      "countVarianceAtStandardCad": 2.64,
      "expectedCogsCad": 928.97,
      "roundingResidualCad": -0.02
    },
    {
      "ingredientId": "ING-03",
      "ingredient": "Black Beans",
      "stockUnit": "kg",
      "standardUnitCostCad": 2.400235,
      "openingQuantity": 162.0,
      "openingValueCad": 388.84,
      "purchasedQuantity": 92.0,
      "purchasedValueCad": 212.98,
      "closingQuantity": 21.79,
      "closingValueCad": 52.3,
      "cogsValueCad": 549.52,
      "recipeUsageQuantity": 230.565,
      "wasteQuantity": 0.85,
      "usageAndWasteAtStandardCad": 555.45,
      "purchasePriceVarianceCad": -7.84,
      "countVarianceQuantity": -0.8,
      "countVarianceAtStandardCad": -1.92,
      "expectedCogsCad": 549.53,
      "roundingResidualCad": -0.01
    },
    {
      "ingredientId": "ING-04",
      "ingredient": "Lime",
      "stockUnit": "each",
      "standardUnitCostCad": 0.36,
      "openingQuantity": 493.0,
      "openingValueCad": 177.48,
      "purchasedQuantity": 104.0,
      "purchasedValueCad": 36.15,
      "closingQuantity": 26.0,
      "closingValueCad": 9.36,
      "cogsValueCad": 204.27,
      "recipeUsageQuantity": 567.0,
      "wasteQuantity": 6.0,
      "usageAndWasteAtStandardCad": 206.28,
      "purchasePriceVarianceCad": -1.29,
      "countVarianceQuantity": 2.0,
      "countVarianceAtStandardCad": 0.72,
      "expectedCogsCad": 204.27,
      "roundingResidualCad": 0.0
    },
    {
      "ingredientId": "ING-05",
      "ingredient": "Cabbage",
      "stockUnit": "kg",
      "standardUnitCostCad": 1.47,
      "openingQuantity": 52.0,
      "openingValueCad": 76.44,
      "purchasedQuantity": 116.0,
      "purchasedValueCad": 164.98,
      "closingQuantity": 78.96,
      "closingValueCad": 116.07,
      "cogsValueCad": 125.35,
      "recipeUsageQuantity": 87.64,
      "wasteQuantity": 1.05,
      "usageAndWasteAtStandardCad": 130.37,
      "purchasePriceVarianceCad": -5.54,
      "countVarianceQuantity": -0.35,
      "countVarianceAtStandardCad": -0.51,
      "expectedCogsCad": 125.34,
      "roundingResidualCad": 0.01
    },
    {
      "ingredientId": "ING-06",
      "ingredient": "Takeaway Tray",
      "stockUnit": "each",
      "standardUnitCostCad": 0.22,
      "openingQuantity": 1446.0,
      "openingValueCad": 318.12,
      "purchasedQuantity": 128.0,
      "purchasedValueCad": 27.52,
      "closingQuantity": 31.0,
      "closingValueCad": 6.82,
      "cogsValueCad": 338.82,
      "recipeUsageQuantity": 1540.0,
      "wasteQuantity": 6.0,
      "usageAndWasteAtStandardCad": 340.12,
      "purchasePriceVarianceCad": -0.64,
      "countVarianceQuantity": 3.0,
      "countVarianceAtStandardCad": 0.66,
      "expectedCogsCad": 338.82,
      "roundingResidualCad": 0.0
    }
  ],
  "totals": {
    "openingValueCad": 1911.28,
    "purchasesValueCad": 972.73,
    "closingValueCad": 324.44,
    "cogsCad": 2559.57,
    "netSalesCad": 19374.6,
    "foodCostPercent": 13.21
  },
  "notes": [
    "Purchases are the sum of purchases.total_price for every row whose date falls in the period, so this statement reconciles to the shared purchase table exactly.",
    "Opening and closing are valued at a single period standard cost derived from the pack price, which is why a purchase price variance appears as its own line.",
    "The closing quantities are the counted figures in inventory-count-sheet.csv. cogs-report-inconsistent.csv deliberately contradicts one of them."
  ]
}
