{
  "batch": {
    "breed": "RAVI",
    "close_reason": "Final sale completed",
    "duration_days": 36,
    "end_date": "2026-05-15T00:00:00",
    "id": 2,
    "initial_count": 1000,
    "name": "BATCH -02",
    "notes": "",
    "start_date": "2026-04-09T00:00:00",
    "status": "closed"
  },
  "costs": [
    {
      "amount": 47500.0,
      "date": "2026-02-24",
      "description": "Milmolak",
      "type": "medicine"
    },
    {
      "amount": 4500.0,
      "date": "2026-03-07",
      "description": "Costik soda",
      "type": "medicine"
    },
    {
      "amount": 1500.0,
      "date": "2026-03-11",
      "description": "Dahayya 18bag & transport",
      "type": "other"
    },
    {
      "amount": 6284.0,
      "date": "2026-03-28",
      "description": "Newspaper , brownsuger , Glucose , thalathel",
      "type": "other"
    },
    {
      "amount": 1500.0,
      "date": "2026-04-02",
      "description": "Dahayya 19bag & transport",
      "type": "other"
    },
    {
      "amount": 345000.0,
      "date": "2026-04-09",
      "description": "Initial chick purchase",
      "type": "chick"
    },
    {
      "amount": 28800.0,
      "date": "2026-04-09",
      "description": "2 bags \u00d7 50.0 kg = 100.0 kg feed; Chiks transport & feed buy: 1500.0",
      "type": "feed"
    },
    {
      "amount": 41450.0,
      "date": "2026-04-13",
      "description": "3 bags \u00d7 50.0 kg = 150.0 kg feed; transport: 500.0",
      "type": "feed"
    },
    {
      "amount": 320.0,
      "date": "2026-04-13",
      "description": "Surgical glows",
      "type": "utility"
    },
    {
      "amount": 550.0,
      "date": "2026-04-18",
      "description": "Clorin tablat",
      "type": "medicine"
    },
    {
      "amount": 69000.0,
      "date": "2026-04-18",
      "description": "5 bags \u00d7 50.0 kg = 250.0 kg feed; transport: 1000.0; from Samagi farm wmmariyapola  0721048686",
      "type": "feed"
    },
    {
      "amount": 800.0,
      "date": "2026-04-18",
      "description": "Fly kil (kosi marundu)",
      "type": "other"
    },
    {
      "amount": 5550.0,
      "date": "2026-04-20",
      "description": "IBmd vaccine,chik tronic ,anleen milk",
      "type": "medicine"
    },
    {
      "amount": 94850.0,
      "date": "2026-04-21",
      "description": "7 bags",
      "type": "feed"
    },
    {
      "amount": 4500.0,
      "date": "2026-04-21",
      "description": "Dahayya 36 bag with transport",
      "type": "utility"
    },
    {
      "amount": 95850.0,
      "date": "2026-04-25",
      "description": "7 bags \u00d7 50.0 kg = 350.0 kg feed; transport: 1000.0",
      "type": "feed"
    },
    {
      "amount": 109400.0,
      "date": "2026-04-30",
      "description": "8 bags \u00d7 50.0 kg = 400.0 kg feed; transport: 1000.0",
      "type": "feed"
    },
    {
      "amount": 66500.0,
      "date": "2026-05-01",
      "description": "5 bags \u00d7 50.0 kg = 250.0 kg feed; transport: 1000.0",
      "type": "feed"
    },
    {
      "amount": 1200.0,
      "date": "2026-05-01",
      "description": "Fly kil (kosi marunndu)",
      "type": "other"
    },
    {
      "amount": 4564.1,
      "date": "2026-05-01",
      "description": "Electric bill",
      "type": "utility"
    },
    {
      "amount": 14100.0,
      "date": "2026-05-04",
      "description": "1 bags \u00d7 50.0 kg = 50.0 kg feed; transport: 1000.0",
      "type": "feed"
    },
    {
      "amount": 900.0,
      "date": "2026-05-04",
      "description": "Posemotum ",
      "type": "medicine"
    },
    {
      "amount": 3615.0,
      "date": "2026-05-04",
      "description": "Vaccin adikka 350l water,anleen milk-",
      "type": "medicine"
    },
    {
      "amount": 3700.0,
      "date": "2026-05-04",
      "description": "Vaccin ",
      "type": "medicine"
    },
    {
      "amount": 78600.0,
      "date": "2026-05-05",
      "description": "6 bags \u00d7 50.0 kg = 300.0 kg feed",
      "type": "feed"
    },
    {
      "amount": 132000.0,
      "date": "2026-05-07",
      "description": "10 bags \u00d7 50.0 kg = 500.0 kg feed; transport: 1000.0",
      "type": "feed"
    },
    {
      "amount": 105800.0,
      "date": "2026-05-11",
      "description": "8 bags \u00d7 50.0 kg = 400.0 kg feed; transport: 1000.0",
      "type": "feed"
    },
    {
      "amount": 53400.0,
      "date": "2026-05-12",
      "description": "4 bags \u00d7 50.0 kg = 200.0 kg feed; transport: 1000.0",
      "type": "feed"
    },
    {
      "amount": 14100.0,
      "date": "2026-05-14",
      "description": "1 bags \u00d7 50.0 kg = 50.0 kg feed; transport: 1000.0",
      "type": "feed"
    }
  ],
  "feed_purchases": [
    {
      "bags": 2,
      "cost_per_bag": 13650.0,
      "cost_per_kg": 288.0,
      "date": "2026-04-09",
      "extra_cost": 1500.0,
      "extra_cost_note": "Chiks transport & feed buy",
      "feed_cost": 27300.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 28800.0,
      "total_kg": 100.0,
      "transport_cost": 0.0
    },
    {
      "bags": 3,
      "cost_per_bag": 13650.0,
      "cost_per_kg": 276.3333,
      "date": "2026-04-13",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 40950.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 41450.0,
      "total_kg": 150.0,
      "transport_cost": 500.0
    },
    {
      "bags": 5,
      "cost_per_bag": 13600.0,
      "cost_per_kg": 276.0,
      "date": "2026-04-18",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 68000.0,
      "kg_per_bag": 50.0,
      "supplier": "Samagi farm wmmariyapola  0721048686",
      "total_cost": 69000.0,
      "total_kg": 250.0,
      "transport_cost": 1000.0
    },
    {
      "bags": 7,
      "cost_per_bag": 13550.0,
      "cost_per_kg": 275.2857,
      "date": "2026-04-21",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 94850.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 96350.0,
      "total_kg": 350.0,
      "transport_cost": 1500.0
    },
    {
      "bags": 7,
      "cost_per_bag": 13550.0,
      "cost_per_kg": 273.8571,
      "date": "2026-04-25",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 94850.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 95850.0,
      "total_kg": 350.0,
      "transport_cost": 1000.0
    },
    {
      "bags": 8,
      "cost_per_bag": 13550.0,
      "cost_per_kg": 273.5,
      "date": "2026-04-30",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 108400.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 109400.0,
      "total_kg": 400.0,
      "transport_cost": 1000.0
    },
    {
      "bags": 5,
      "cost_per_bag": 13100.0,
      "cost_per_kg": 266.0,
      "date": "2026-05-01",
      "extra_cost": 0.0,
      "extra_cost_note": "Transport",
      "feed_cost": 65500.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 66500.0,
      "total_kg": 250.0,
      "transport_cost": 1000.0
    },
    {
      "bags": 1,
      "cost_per_bag": 13100.0,
      "cost_per_kg": 282.0,
      "date": "2026-05-04",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 13100.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 14100.0,
      "total_kg": 50.0,
      "transport_cost": 1000.0
    },
    {
      "bags": 6,
      "cost_per_bag": 13100.0,
      "cost_per_kg": 262.0,
      "date": "2026-05-05",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 78600.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 78600.0,
      "total_kg": 300.0,
      "transport_cost": 0.0
    },
    {
      "bags": 10,
      "cost_per_bag": 13100.0,
      "cost_per_kg": 264.0,
      "date": "2026-05-07",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 131000.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 132000.0,
      "total_kg": 500.0,
      "transport_cost": 1000.0
    },
    {
      "bags": 8,
      "cost_per_bag": 13100.0,
      "cost_per_kg": 264.5,
      "date": "2026-05-11",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 104800.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 105800.0,
      "total_kg": 400.0,
      "transport_cost": 1000.0
    },
    {
      "bags": 4,
      "cost_per_bag": 13100.0,
      "cost_per_kg": 267.0,
      "date": "2026-05-12",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 52400.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 53400.0,
      "total_kg": 200.0,
      "transport_cost": 1000.0
    },
    {
      "bags": 1,
      "cost_per_bag": 13100.0,
      "cost_per_kg": 282.0,
      "date": "2026-05-14",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 13100.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 14100.0,
      "total_kg": 50.0,
      "transport_cost": 1000.0
    }
  ],
  "records": [
    {
      "daily_growth": null,
      "date": "2026-04-09",
      "day": 0,
      "deaths": 0,
      "fcr": 0.0,
      "feed_kg": null,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 45.0
    },
    {
      "daily_growth": 13.0,
      "date": "2026-04-10",
      "day": 1,
      "deaths": 3,
      "fcr": 0.156,
      "feed_kg": 9.0,
      "mimolac_ratio": null,
      "water_liters": 50.0,
      "weight": 58.0
    },
    {
      "daily_growth": 18.0,
      "date": "2026-04-11",
      "day": 2,
      "deaths": 3,
      "fcr": 0.283,
      "feed_kg": 12.4,
      "mimolac_ratio": "1:1.3",
      "water_liters": 50.0,
      "weight": 76.0
    },
    {
      "daily_growth": 24.0,
      "date": "2026-04-12",
      "day": 3,
      "deaths": 4,
      "fcr": 0.418,
      "feed_kg": 20.0,
      "mimolac_ratio": "1:1.3",
      "water_liters": 70.0,
      "weight": 100.0
    },
    {
      "daily_growth": 23.0,
      "date": "2026-04-13",
      "day": 4,
      "deaths": 3,
      "fcr": 0.577,
      "feed_kg": 28.6,
      "mimolac_ratio": "1:1.3",
      "water_liters": 90.0,
      "weight": 123.0
    },
    {
      "daily_growth": 31.0,
      "date": "2026-04-14",
      "day": 5,
      "deaths": 0,
      "fcr": 0.668,
      "feed_kg": 31.5,
      "mimolac_ratio": "1:1.3",
      "water_liters": 115.0,
      "weight": 154.0
    },
    {
      "daily_growth": 26.4,
      "date": "2026-04-15",
      "day": 6,
      "deaths": 1,
      "fcr": 0.749,
      "feed_kg": 31.65,
      "mimolac_ratio": "1:1.5",
      "water_liters": null,
      "weight": 180.4
    },
    {
      "daily_growth": 34.6,
      "date": "2026-04-16",
      "day": 7,
      "deaths": 1,
      "fcr": 0.826,
      "feed_kg": 41.71,
      "mimolac_ratio": "1:1.5",
      "water_liters": null,
      "weight": 215.0
    },
    {
      "daily_growth": 32.4,
      "date": "2026-04-17",
      "day": 8,
      "deaths": 2,
      "fcr": 0.902,
      "feed_kg": 44.4,
      "mimolac_ratio": "1:1.5",
      "water_liters": 120.0,
      "weight": 247.4
    },
    {
      "daily_growth": 35.6,
      "date": "2026-04-18",
      "day": 9,
      "deaths": 2,
      "fcr": 0.963,
      "feed_kg": 48.18,
      "mimolac_ratio": "1:1.5",
      "water_liters": 140.0,
      "weight": 283.0
    },
    {
      "daily_growth": 42.0,
      "date": "2026-04-19",
      "day": 10,
      "deaths": 0,
      "fcr": 0.993,
      "feed_kg": 49.2,
      "mimolac_ratio": "1:1.5",
      "water_liters": 180.0,
      "weight": 325.0
    },
    {
      "daily_growth": 40.0,
      "date": "2026-04-20",
      "day": 11,
      "deaths": 1,
      "fcr": 1.058,
      "feed_kg": 61.96,
      "mimolac_ratio": "1:1.5",
      "water_liters": 180.0,
      "weight": 365.0
    },
    {
      "daily_growth": 51.0,
      "date": "2026-04-21",
      "day": 12,
      "deaths": 0,
      "fcr": 1.093,
      "feed_kg": 67.1,
      "mimolac_ratio": "1:123",
      "water_liters": 210.0,
      "weight": 416.0
    },
    {
      "daily_growth": 54.0,
      "date": "2026-04-22",
      "day": 13,
      "deaths": 0,
      "fcr": 1.113,
      "feed_kg": 66.86,
      "mimolac_ratio": "1:123",
      "water_liters": 250.0,
      "weight": 470.0
    },
    {
      "daily_growth": 62.0,
      "date": "2026-04-23",
      "day": 14,
      "deaths": 0,
      "fcr": 1.11,
      "feed_kg": 66.18,
      "mimolac_ratio": "1:1.5",
      "water_liters": 250.0,
      "weight": 532.0
    },
    {
      "daily_growth": 70.0,
      "date": "2026-04-24",
      "day": 15,
      "deaths": 1,
      "fcr": 1.122,
      "feed_kg": 82.63,
      "mimolac_ratio": "1:1.1",
      "water_liters": 270.0,
      "weight": 602.0
    },
    {
      "daily_growth": 68.0,
      "date": "2026-04-25",
      "day": 16,
      "deaths": 1,
      "fcr": 1.127,
      "feed_kg": 77.0,
      "mimolac_ratio": "1:1.1",
      "water_liters": 320.0,
      "weight": 670.0
    },
    {
      "daily_growth": 68.0,
      "date": "2026-04-26",
      "day": 17,
      "deaths": 0,
      "fcr": 1.132,
      "feed_kg": 78.85,
      "mimolac_ratio": "1:1.1",
      "water_liters": 400.0,
      "weight": 738.0
    },
    {
      "daily_growth": 82.0,
      "date": "2026-04-27",
      "day": 18,
      "deaths": 1,
      "fcr": 1.148,
      "feed_kg": 102.36,
      "mimolac_ratio": "1:1.1",
      "water_liters": 400.0,
      "weight": 820.0
    },
    {
      "daily_growth": 71.0,
      "date": "2026-04-28",
      "day": 19,
      "deaths": 0,
      "fcr": 1.171,
      "feed_kg": 99.76,
      "mimolac_ratio": "1:1.5",
      "water_liters": 420.0,
      "weight": 891.0
    },
    {
      "daily_growth": 87.0,
      "date": "2026-04-29",
      "day": 20,
      "deaths": 0,
      "fcr": 1.177,
      "feed_kg": 105.25,
      "mimolac_ratio": "1:1.1",
      "water_liters": 430.0,
      "weight": 978.0
    },
    {
      "daily_growth": 82.0,
      "date": "2026-04-30",
      "day": 21,
      "deaths": 0,
      "fcr": 1.192,
      "feed_kg": 110.21,
      "mimolac_ratio": "1:1.1",
      "water_liters": 420.0,
      "weight": 1060.0
    },
    {
      "daily_growth": 84.0,
      "date": "2026-05-01",
      "day": 22,
      "deaths": 1,
      "fcr": 1.205,
      "feed_kg": 110.56,
      "mimolac_ratio": "1:1.1",
      "water_liters": 430.0,
      "weight": 1144.0
    },
    {
      "daily_growth": 93.0,
      "date": "2026-05-02",
      "day": 23,
      "deaths": 1,
      "fcr": 1.22,
      "feed_kg": 126.4,
      "mimolac_ratio": "1:1.5",
      "water_liters": 450.0,
      "weight": 1237.0
    },
    {
      "daily_growth": 99.0,
      "date": "2026-05-03",
      "day": 24,
      "deaths": 1,
      "fcr": 1.229,
      "feed_kg": 127.38,
      "mimolac_ratio": "1:1.5",
      "water_liters": 450.0,
      "weight": 1336.0
    },
    {
      "daily_growth": 90.0,
      "date": "2026-05-04",
      "day": 25,
      "deaths": 0,
      "fcr": 1.242,
      "feed_kg": 125.86,
      "mimolac_ratio": "1:1.5",
      "water_liters": 450.0,
      "weight": 1426.0
    },
    {
      "daily_growth": 71.0,
      "date": "2026-05-05",
      "day": 26,
      "deaths": 1,
      "fcr": 1.269,
      "feed_kg": 123.2,
      "mimolac_ratio": "1:123",
      "water_liters": 450.0,
      "weight": 1497.0
    },
    {
      "daily_growth": 100.0,
      "date": "2026-05-06",
      "day": 27,
      "deaths": 1,
      "fcr": 1.291,
      "feed_kg": 155.48,
      "mimolac_ratio": "1:1.5",
      "water_liters": 500.0,
      "weight": 1597.0
    },
    {
      "daily_growth": 101.0,
      "date": "2026-05-07",
      "day": 28,
      "deaths": 3,
      "fcr": 1.303,
      "feed_kg": 141.04,
      "mimolac_ratio": "1:1.5",
      "water_liters": 550.0,
      "weight": 1698.0
    },
    {
      "daily_growth": 82.0,
      "date": "2026-05-08",
      "day": 29,
      "deaths": 0,
      "fcr": 1.322,
      "feed_kg": 134.78,
      "mimolac_ratio": "1:1.5",
      "water_liters": 550.0,
      "weight": 1780.0
    },
    {
      "daily_growth": 84.0,
      "date": "2026-05-09",
      "day": 30,
      "deaths": 0,
      "fcr": 1.35,
      "feed_kg": 159.2,
      "mimolac_ratio": "1:1.5",
      "water_liters": 550.0,
      "weight": 1864.0
    },
    {
      "daily_growth": 132.0,
      "date": "2026-05-10",
      "day": 31,
      "deaths": 1,
      "fcr": 1.365,
      "feed_kg": 199.19,
      "mimolac_ratio": "1:1.5",
      "water_liters": 550.0,
      "weight": 1996.0
    },
    {
      "daily_growth": 116.0,
      "date": "2026-05-11",
      "day": 32,
      "deaths": 0,
      "fcr": 1.371,
      "feed_kg": 164.12,
      "mimolac_ratio": "1:1.5",
      "water_liters": 550.0,
      "weight": 2112.0
    },
    {
      "daily_growth": 94.0,
      "date": "2026-05-12",
      "day": 33,
      "deaths": 1,
      "fcr": 1.377,
      "feed_kg": 136.0,
      "mimolac_ratio": "1:1.5",
      "water_liters": 550.0,
      "weight": 2206.0
    },
    {
      "daily_growth": 111.0,
      "date": "2026-05-13",
      "day": 34,
      "deaths": 0,
      "fcr": 1.383,
      "feed_kg": 160.5,
      "mimolac_ratio": "1:1.3",
      "water_liters": 550.0,
      "weight": 2317.0
    },
    {
      "daily_growth": 85.0,
      "date": "2026-05-14",
      "day": 35,
      "deaths": 2,
      "fcr": 1.408,
      "feed_kg": 165.5,
      "mimolac_ratio": null,
      "water_liters": 550.0,
      "weight": 2402.0
    }
  ],
  "sales": [
    {
      "buyer": "first buyer ",
      "date": "2026-05-15",
      "is_final_sale": true,
      "price_per_kg": 725.0,
      "quantity": 956,
      "total_price": 1629510.0,
      "total_weight_kg": 2247.6
    }
  ],
  "summary": {
    "cost_per_bird": 1335.83,
    "feed_consumed_kg": 3264.0099999999998,
    "feed_purchased_kg": 3350.0,
    "feed_remaining_kg": 85.99000000000024,
    "profit": 293676.8999999999,
    "profit_per_kg": 130.66,
    "roi_percent": 21.98,
    "total_cost": 1335833.1,
    "total_revenue": 1629510.0
  }
}
