Value chains › Grain Milling
Wheat milling
Wheat grain cleaned, conditioned (tempered) and roller-milled into white flour (bakers and home baking) with bran and pollard by-products, or milled whole into atta/wholemeal. Wheat flour is mandatorily fortified in Kenya (premix per 100 kg); 90 kg bags at intake, 2 kg packets in 24 kg balers and 50 kg bags out.
agri.wheat.milling
Dry milling and dehulling yields confirmed
What the factory receives
Raw material your system can send as a consignment (item.code):
| Item | Code | Unit | HS code |
|---|---|---|---|
| Wheat grain | WHEAT-GRAIN | kg | 1001.99 |
| Fortification premix | PREMIX-FORT | kg |
Units besides kg: bag90 = 90 kg bag (90 kg) , bag50 = 50 kg bag (50 kg) , bale24 = Bale of 12 × 2 kg (24 kg)
What the factory makes
Roller milling to white flour
| In | Code | Share |
|---|---|---|
| Wheat grain | WHEAT-GRAIN | 100 % |
| Fortification premix | PREMIX-FORT |
| Out | Code | Kind | Yield |
|---|---|---|---|
| White wheat flour (fortified) | WHEAT-FLOUR | Main product | 72–78 % |
| Wheat pollard | WHEAT-POLLARD | By-product | 8–14 % |
| Wheat bran | WHEAT-BRAN | By-product | 10–15 % |
| Waste | WASTE | Waste | 1–3 % |
Steps: Pre-cleaning and screening → Conditioning (tempering to about 15–16 % moisture, 12–24 h) → Break and reduction roller milling → Plansifter sieving and purification → Fortification (premix dosing) → Packing (2 kg packets, 50 kg bags)
Whole milling to atta / wholemeal
| In | Code | Share |
|---|---|---|
| Wheat grain | WHEAT-GRAIN | 100 % |
| Fortification premix | PREMIX-FORT |
| Out | Code | Kind | Yield |
|---|---|---|---|
| Atta / wholemeal wheat flour (fortified) | WHEAT-FLOUR-ATTA | Main product | 94–98 % |
| Waste | WASTE | Waste | 2–6 % |
Steps: Cleaning → Chakki / hammer milling → Fortification → Packing
Yield is the share of the input weight, as a range seen in practice. The factory records the real weights on every run.
All products and intermediates
| Item | Code | Unit | HS code |
|---|---|---|---|
| White wheat flour (fortified) | WHEAT-FLOUR | kg | 1101.00 |
| Atta / wholemeal wheat flour (fortified) | WHEAT-FLOUR-ATTA | kg | 1101.00 |
| Wheat bran | WHEAT-BRAN | kg | 2302.30 |
| Wheat pollard | WHEAT-POLLARD | kg | 2302.30 |
Quality checks
Wheat grain intake (EAS 51) intake
One composite sample per delivery: probe at least 5 points per truck or 1 bag in 10
| Parameter | Accepted | |
|---|---|---|
| Moisture | ≤ 13 % | critical: a failure holds the lot |
| Falling number (sprout damage) | ≥ 300 s | critical: a failure holds the lot |
| Test weight (hectolitre mass) | ≥ 70 kg/hL | |
| Protein (dry basis) | ≥ 10 % | |
| Foreign matter | ≤ 1.3 % | |
| Total aflatoxin (B1+B2+G1+G2) | ≤ 10 ppb | critical: a failure holds the lot |
| Aflatoxin B1 | ≤ 5 ppb | critical: a failure holds the lot |
| Grade assigned (G1–G4) | text |
White wheat flour release release
One sample per shift and per packing line
| Parameter | Accepted | |
|---|---|---|
| Moisture | ≤ 13 % | critical: a failure holds the lot |
| Protein (home baking ≥ 9, bakers ≥ 11) | ≥ 9 % | |
| Total ash | ≤ 0.7 % | |
| Iron spot test (fortificant present) | pass / fail | critical: a failure holds the lot |
| Total aflatoxin | ≤ 10 ppb | critical: a failure holds the lot |
| Net weight per packet | ≥ 2000 g | critical: a failure holds the lot |
Atta / wholemeal flour release release
One sample per run
| Parameter | Accepted | |
|---|---|---|
| Moisture | ≤ 13 % | critical: a failure holds the lot |
| Protein | ≥ 12 % | |
| Total ash | ≤ 2 % | |
| Iron spot test (fortificant present) | pass / fail | critical: a failure holds the lot |
Results travel in run.completed (quality) and a hold in lot.hold_changed.
Example messages
1. You send a consignment
POST /api/v1/consignments. Here as toll work (the sender keeps ownership and pays for processing); leave out mode to sell the goods to the factory.
{
"reference_no": "VAB-26-7",
"source": "society_api",
"kind": "value_addition",
"mode": "toll",
"sender": {
"external_system": "your-system",
"society_id": 39,
"name": "Example Farmers Co-operative"
},
"item": {
"code": "WHEAT-GRAIN"
},
"declared_qty": 1000,
"unit": "kg",
"dispatched_at": "2026-11-15T08:10:00+03:00",
"lots": [
{
"lot_no": "LOT-001",
"qty": 1000
}
]
}
2. You receive the results
Webhook run.completed, for 1,000 kg in (the middle of each yield range). Main products and co-products carry their grade when the item is one of a graded family; quality carries the checks recorded on the run.
{
"type": "run.completed",
"data": {
"reference_no": "VAB-26-7",
"work_order_ref": "WO-26-0042",
"item": "WHEAT-FLOUR",
"completed_at": "2026-11-16T17:30:00+03:00",
"outturn_no": "LOT-…",
"yield_pct": 75,
"outputs": [
{
"item": "WHEAT-FLOUR",
"grade": null,
"role": "main",
"qty": 750,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": 15,
"bag_unit": "bag50",
"packets": null
},
{
"item": "WHEAT-POLLARD",
"grade": null,
"role": "by_product",
"qty": 110,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": 2,
"bag_unit": "bag50",
"packets": null
},
{
"item": "WHEAT-BRAN",
"grade": null,
"role": "by_product",
"qty": 125,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": 2,
"bag_unit": "bag50",
"packets": null
},
{
"item": "WASTE",
"grade": null,
"role": "waste",
"qty": 20,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": null,
"bag_unit": null,
"packets": null
}
],
"quality": []
}
}
Before and after the run you also receive consignment.received (weighed in), and then statement.issued, sale.proceeds or invoice.issued and payment.recorded. See Connecting a supplier or society system.
Packaging and consumables
| Item | Code | Unit | HS code |
|---|---|---|---|
| 2 kg flour packet | PACK-BAG-2KG | pcs | |
| Baler sack (12 × 2 kg) | PACK-BALER-24 | pcs | |
| 50 kg woven polypropylene bag | BAG-50 | pcs |
