{
  "batch": {
    "breed": "CIC",
    "close_reason": "Final sale of 483 birds to CHICKEN BUYER 01",
    "duration_days": 33,
    "end_date": "2026-03-03T00:00:00",
    "id": 1,
    "initial_count": 515,
    "name": "first batch",
    "notes": "",
    "start_date": "2026-01-29T00:00:00",
    "status": "closed"
  },
  "costs": [
    {
      "amount": 26250.0,
      "date": "2026-01-17",
      "description": "MILMOLAC",
      "type": "medicine"
    },
    {
      "amount": 5000.0,
      "date": "2026-01-17",
      "description": "MILMOLAC TRANSPORT",
      "type": "transport"
    },
    {
      "amount": 2400.0,
      "date": "2026-01-18",
      "description": "RICE HUSK",
      "type": "utility"
    },
    {
      "amount": 4000.0,
      "date": "2026-01-18",
      "description": "RICE HUSK TRANSPORT",
      "type": "transport"
    },
    {
      "amount": 1850.0,
      "date": "2026-01-26",
      "description": "RED SUGAR,THALA THEL,GULGOSE",
      "type": "medicine"
    },
    {
      "amount": 13100.0,
      "date": "2026-01-28",
      "description": "1 bags \u00d7 50.0 kg = 50.0 kg feed; transport: 500.0",
      "type": "feed"
    },
    {
      "amount": 525.0,
      "date": "2026-01-28",
      "description": "GLUCOSE",
      "type": "medicine"
    },
    {
      "amount": 211150.0,
      "date": "2026-01-29",
      "description": "Initial chick purchase",
      "type": "chick"
    },
    {
      "amount": 5000.0,
      "date": "2026-01-29",
      "description": "chicks transport",
      "type": "transport"
    },
    {
      "amount": 3300.0,
      "date": "2026-01-31",
      "description": "PAPER 15KG",
      "type": "chick"
    },
    {
      "amount": 4330.0,
      "date": "2026-02-03",
      "description": "GAS",
      "type": "utility"
    },
    {
      "amount": 300.0,
      "date": "2026-02-05",
      "description": "Glove",
      "type": "utility"
    },
    {
      "amount": 700.0,
      "date": "2026-02-05",
      "description": "CHICK POSTMOTOM",
      "type": "medicine"
    },
    {
      "amount": 5350.0,
      "date": "2026-02-05",
      "description": "MEDICINE",
      "type": "medicine"
    },
    {
      "amount": 800.0,
      "date": "2026-02-08",
      "description": "CHICK POSTMOTOM",
      "type": "medicine"
    },
    {
      "amount": 50400.0,
      "date": "2026-02-09",
      "description": "4 bags \u00d7 50.0 kg = 200.0 kg feed",
      "type": "feed"
    },
    {
      "amount": 800.0,
      "date": "2026-02-10",
      "description": "ELECTRO LITE",
      "type": "medicine"
    },
    {
      "amount": 2500.0,
      "date": "2026-02-11",
      "description": "RICE HUSK",
      "type": "utility"
    },
    {
      "amount": 5000.0,
      "date": "2026-02-11",
      "description": "RICE HUSK TRANSPORT",
      "type": "transport"
    },
    {
      "amount": 63000.0,
      "date": "2026-02-12",
      "description": "5 bags \u00d7 50.0 kg = 250.0 kg feed",
      "type": "feed"
    },
    {
      "amount": 950.0,
      "date": "2026-02-12",
      "description": "ELECTRO LITE",
      "type": "medicine"
    },
    {
      "amount": 1905.0,
      "date": "2026-02-14",
      "description": "950",
      "type": "medicine"
    },
    {
      "amount": 800.0,
      "date": "2026-02-14",
      "description": "DETH CERTIFICATE",
      "type": "medicine"
    },
    {
      "amount": 550.0,
      "date": "2026-02-14",
      "description": "CHLORINE TABLET",
      "type": "medicine"
    },
    {
      "amount": 5050.0,
      "date": "2026-02-24",
      "description": "ELECTRO LITE",
      "type": "medicine"
    },
    {
      "amount": 350.0,
      "date": "2026-02-25",
      "description": "MOSQUITO KILLER",
      "type": "utility"
    },
    {
      "amount": 50400.0,
      "date": "2026-02-27",
      "description": "4 bags \u00d7 50.0 kg = 200.0 kg feed",
      "type": "feed"
    },
    {
      "amount": 25200.0,
      "date": "2026-02-28",
      "description": "2 bags \u00d7 50.0 kg = 100.0 kg feed",
      "type": "feed"
    },
    {
      "amount": 24400.0,
      "date": "2026-02-28",
      "description": "2 bags \u00d7 50.0 kg = 100.0 kg feed",
      "type": "feed"
    },
    {
      "amount": 12700.0,
      "date": "2026-02-28",
      "description": "1 bags \u00d7 50.0 kg = 50.0 kg feed",
      "type": "feed"
    },
    {
      "amount": 48800.0,
      "date": "2026-02-28",
      "description": "4 bags \u00d7 50.0 kg = 200.0 kg feed",
      "type": "feed"
    },
    {
      "amount": 85400.0,
      "date": "2026-02-28",
      "description": "7 bags \u00d7 50.0 kg = 350.0 kg feed",
      "type": "feed"
    },
    {
      "amount": 1200.0,
      "date": "2026-02-28",
      "description": "CHICK POSTMOTOM",
      "type": "medicine"
    },
    {
      "amount": 12200.0,
      "date": "2026-03-01",
      "description": "1 bags \u00d7 50.0 kg = 50.0 kg feed",
      "type": "feed"
    },
    {
      "amount": 19000.0,
      "date": "2026-03-02",
      "description": "ELECTRIC BILL",
      "type": "utility"
    },
    {
      "amount": 10000.0,
      "date": "2026-03-02",
      "description": "FAN RENT",
      "type": "utility"
    },
    {
      "amount": 5000.0,
      "date": "2026-03-02",
      "description": "FAN RENT TRANSPORT",
      "type": "transport"
    }
  ],
  "feed_purchases": [
    {
      "bags": 4,
      "cost_per_bag": 12600.0,
      "cost_per_kg": 252.0,
      "date": "2026-02-09",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 50400.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 50400.0,
      "total_kg": 200.0,
      "transport_cost": 0.0
    },
    {
      "bags": 5,
      "cost_per_bag": 12600.0,
      "cost_per_kg": 252.0,
      "date": "2026-02-12",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 63000.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 63000.0,
      "total_kg": 250.0,
      "transport_cost": 0.0
    },
    {
      "bags": 1,
      "cost_per_bag": 12600.0,
      "cost_per_kg": 262.0,
      "date": "2026-02-27",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 12600.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 13100.0,
      "total_kg": 50.0,
      "transport_cost": 500.0
    },
    {
      "bags": 4,
      "cost_per_bag": 12600.0,
      "cost_per_kg": 252.0,
      "date": "2026-02-27",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 50400.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 50400.0,
      "total_kg": 200.0,
      "transport_cost": 0.0
    },
    {
      "bags": 2,
      "cost_per_bag": 12600.0,
      "cost_per_kg": 252.0,
      "date": "2026-02-28",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 25200.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 25200.0,
      "total_kg": 100.0,
      "transport_cost": 0.0
    },
    {
      "bags": 2,
      "cost_per_bag": 12200.0,
      "cost_per_kg": 244.0,
      "date": "2026-02-28",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 24400.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 24400.0,
      "total_kg": 100.0,
      "transport_cost": 0.0
    },
    {
      "bags": 1,
      "cost_per_bag": 12700.0,
      "cost_per_kg": 254.0,
      "date": "2026-02-28",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 12700.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 12700.0,
      "total_kg": 50.0,
      "transport_cost": 0.0
    },
    {
      "bags": 4,
      "cost_per_bag": 12200.0,
      "cost_per_kg": 244.0,
      "date": "2026-02-28",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 48800.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 48800.0,
      "total_kg": 200.0,
      "transport_cost": 0.0
    },
    {
      "bags": 7,
      "cost_per_bag": 12200.0,
      "cost_per_kg": 244.0,
      "date": "2026-02-28",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 85400.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 85400.0,
      "total_kg": 350.0,
      "transport_cost": 0.0
    },
    {
      "bags": 1,
      "cost_per_bag": 12200.0,
      "cost_per_kg": 244.0,
      "date": "2026-03-01",
      "extra_cost": 0.0,
      "extra_cost_note": "",
      "feed_cost": 12200.0,
      "kg_per_bag": 50.0,
      "supplier": "",
      "total_cost": 12200.0,
      "total_kg": 50.0,
      "transport_cost": 0.0
    }
  ],
  "records": [
    {
      "daily_growth": null,
      "date": "2026-01-29",
      "day": 0,
      "deaths": 1,
      "fcr": 0.13,
      "feed_kg": 3.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 45.0
    },
    {
      "daily_growth": 25.0,
      "date": "2026-01-30",
      "day": 1,
      "deaths": 1,
      "fcr": 0.195,
      "feed_kg": 4.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 70.0
    },
    {
      "daily_growth": 12.0,
      "date": "2026-01-31",
      "day": 2,
      "deaths": 1,
      "fcr": 0.405,
      "feed_kg": 10.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 82.0
    },
    {
      "daily_growth": 18.0,
      "date": "2026-02-01",
      "day": 3,
      "deaths": 0,
      "fcr": 0.508,
      "feed_kg": 9.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 100.0
    },
    {
      "daily_growth": 25.0,
      "date": "2026-02-02",
      "day": 4,
      "deaths": 2,
      "fcr": 0.58,
      "feed_kg": 11.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 125.0
    },
    {
      "daily_growth": 37.0,
      "date": "2026-02-03",
      "day": 5,
      "deaths": 0,
      "fcr": 0.69,
      "feed_kg": 20.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 162.0
    },
    {
      "daily_growth": 38.0,
      "date": "2026-02-04",
      "day": 6,
      "deaths": 1,
      "fcr": 0.756,
      "feed_kg": 20.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 200.0
    },
    {
      "daily_growth": 37.0,
      "date": "2026-02-05",
      "day": 7,
      "deaths": 1,
      "fcr": 0.831,
      "feed_kg": 23.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 237.0
    },
    {
      "daily_growth": 38.0,
      "date": "2026-02-06",
      "day": 8,
      "deaths": 1,
      "fcr": 0.918,
      "feed_kg": 28.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 275.0
    },
    {
      "daily_growth": 52.0,
      "date": "2026-02-07",
      "day": 9,
      "deaths": 1,
      "fcr": 0.997,
      "feed_kg": 37.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 327.0
    },
    {
      "daily_growth": 46.0,
      "date": "2026-02-08",
      "day": 10,
      "deaths": 1,
      "fcr": 1.068,
      "feed_kg": 36.13,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 373.0
    },
    {
      "daily_growth": 44.0,
      "date": "2026-02-09",
      "day": 11,
      "deaths": 0,
      "fcr": 1.167,
      "feed_kg": 44.55,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 417.0
    },
    {
      "daily_growth": 92.0,
      "date": "2026-02-10",
      "day": 12,
      "deaths": 0,
      "fcr": 1.16,
      "feed_kg": 52.4,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 509.0
    },
    {
      "daily_growth": 62.0,
      "date": "2026-02-11",
      "day": 13,
      "deaths": 0,
      "fcr": 1.205,
      "feed_kg": 49.32,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 571.0
    },
    {
      "daily_growth": 104.2,
      "date": "2026-02-12",
      "day": 14,
      "deaths": 1,
      "fcr": 1.142,
      "feed_kg": 41.1,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 675.2
    },
    {
      "daily_growth": 49.8,
      "date": "2026-02-13",
      "day": 15,
      "deaths": 1,
      "fcr": 1.2,
      "feed_kg": 49.1,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 725.0
    },
    {
      "daily_growth": 70.2,
      "date": "2026-02-14",
      "day": 16,
      "deaths": 1,
      "fcr": 1.224,
      "feed_kg": 51.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 795.2
    },
    {
      "daily_growth": 114.8,
      "date": "2026-02-15",
      "day": 17,
      "deaths": 1,
      "fcr": 1.203,
      "feed_kg": 60.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 910.0
    },
    {
      "daily_growth": 72.5,
      "date": "2026-02-16",
      "day": 18,
      "deaths": 0,
      "fcr": 1.137,
      "feed_kg": 11.0,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 982.5
    },
    {
      "daily_growth": 112.5,
      "date": "2026-02-17",
      "day": 19,
      "deaths": 0,
      "fcr": 1.125,
      "feed_kg": 57.72,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 1095.0
    },
    {
      "daily_growth": 122.0,
      "date": "2026-02-18",
      "day": 20,
      "deaths": 0,
      "fcr": 1.12,
      "feed_kg": 65.47,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 1217.0
    },
    {
      "daily_growth": 101.0,
      "date": "2026-02-19",
      "day": 21,
      "deaths": 0,
      "fcr": 1.137,
      "feed_kg": 67.8,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 1318.0
    },
    {
      "daily_growth": 116.0,
      "date": "2026-02-20",
      "day": 22,
      "deaths": 0,
      "fcr": 1.133,
      "feed_kg": 63.68,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 1434.0
    },
    {
      "daily_growth": 59.0,
      "date": "2026-02-21",
      "day": 23,
      "deaths": 0,
      "fcr": 1.173,
      "feed_kg": 63.03,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 1493.0
    },
    {
      "daily_growth": 127.0,
      "date": "2026-02-22",
      "day": 24,
      "deaths": 0,
      "fcr": 1.179,
      "feed_kg": 79.91,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 1620.0
    },
    {
      "daily_growth": 80.0,
      "date": "2026-02-23",
      "day": 25,
      "deaths": 2,
      "fcr": 1.208,
      "feed_kg": 67.22,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 1700.0
    },
    {
      "daily_growth": 70.0,
      "date": "2026-02-24",
      "day": 26,
      "deaths": 7,
      "fcr": 1.266,
      "feed_kg": 78.12,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 1770.0
    },
    {
      "daily_growth": 36.0,
      "date": "2026-02-25",
      "day": 27,
      "deaths": 5,
      "fcr": 1.329,
      "feed_kg": 66.01,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 1806.0
    },
    {
      "daily_growth": 167.0,
      "date": "2026-02-26",
      "day": 28,
      "deaths": 0,
      "fcr": 1.284,
      "feed_kg": 64.99,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 1973.0
    },
    {
      "daily_growth": 120.0,
      "date": "2026-02-27",
      "day": 29,
      "deaths": 0,
      "fcr": 1.284,
      "feed_kg": 75.58,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 2093.0
    },
    {
      "daily_growth": 56.0,
      "date": "2026-02-28",
      "day": 30,
      "deaths": 0,
      "fcr": 1.316,
      "feed_kg": 67.81,
      "mimolac_ratio": "1:1.5",
      "water_liters": 230.0,
      "weight": 2149.0
    },
    {
      "daily_growth": 112.0,
      "date": "2026-03-01",
      "day": 31,
      "deaths": 1,
      "fcr": 1.33,
      "feed_kg": 84.41,
      "mimolac_ratio": "1:1.5",
      "water_liters": 230.0,
      "weight": 2261.0
    },
    {
      "daily_growth": 20.0,
      "date": "2026-03-03",
      "day": 32,
      "deaths": 0,
      "fcr": 1.406,
      "feed_kg": 88.7,
      "mimolac_ratio": null,
      "water_liters": null,
      "weight": 2281.0
    }
  ],
  "sales": [
    {
      "buyer": "CHICKEN BUYER 01",
      "date": "2026-03-03",
      "is_final_sale": true,
      "price_per_kg": 735.0,
      "quantity": 486,
      "total_price": 810043.5,
      "total_weight_kg": 1102.1
    }
  ],
  "summary": {
    "cost_per_bird": 1377.98,
    "feed_consumed_kg": 1550.05,
    "feed_purchased_kg": 1550.0,
    "feed_remaining_kg": 0.0,
    "profit": 100383.5,
    "profit_per_kg": 91.08,
    "roi_percent": 14.15,
    "total_cost": 709660.0,
    "total_revenue": 810043.5
  }
}
