Value chains › Grain Milling
Sorghum milling
Sorghum grain cleaned and decorticated (abrasive dehulling) then hammer-milled into sifted flour with bran by-product, or milled whole into whole-meal flour for porridge (uji) and composite flours.
agri.sorghum.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 |
|---|---|---|---|
| Sorghum grain | SORGHUM-GRAIN | kg | 1007.90 |
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
Decortication and milling
| In | Code | Share |
|---|---|---|
| Sorghum grain | SORGHUM-GRAIN | 100 % |
| Out | Code | Kind | Yield |
|---|---|---|---|
| Sorghum flour (decorticated) | SORGHUM-FLOUR | Main product | 70–82 % |
| Sorghum bran | SORGHUM-BRAN | By-product | 15–25 % |
| Waste | WASTE | Waste | 1–4 % |
Steps: Cleaning and destoning → Decortication (abrasive dehuller) → Winnowing / aspiration of bran → Hammer milling → Sifting → Packing
Whole-meal milling
| In | Code | Share |
|---|---|---|
| Sorghum grain | SORGHUM-GRAIN | 100 % |
| Out | Code | Kind | Yield |
|---|---|---|---|
| Whole-meal sorghum flour | SORGHUM-FLOUR-WHOLE | Main product | 94–98 % |
| Waste | WASTE | Waste | 2–6 % |
Steps: Cleaning and destoning → Hammer milling → 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 |
|---|---|---|---|
| Sorghum flour (decorticated) | SORGHUM-FLOUR | kg | 1102.90 |
| Whole-meal sorghum flour | SORGHUM-FLOUR-WHOLE | kg | 1102.90 |
| Sorghum bran | SORGHUM-BRAN | kg | 2302.90 |
Quality checks
Sorghum grain intake (EAS 757) intake
One composite sample per delivery, probe at least 5 points per load
| Parameter | Accepted | |
|---|---|---|
| Moisture | ≤ 13 % | critical: a failure holds the lot |
| Total aflatoxin (B1+B2+G1+G2) | ≤ 10 ppb | critical: a failure holds the lot |
| Aflatoxin B1 | ≤ 5 ppb | critical: a failure holds the lot |
| Fumonisin | ≤ 4 mg/kg | |
| Foreign matter | ≤ 3 % | |
| Tannin (whole grain, dry basis) | ≤ 0.5 % | |
| Grade assigned (G1–G3) | text |
Sorghum flour release (EAS 95) release
One sample per run
| Parameter | Accepted | |
|---|---|---|
| Moisture | ≤ 13 % | critical: a failure holds the lot |
| Total ash | ≤ 1.5 % | |
| Acid-insoluble ash (sand) | ≤ 0.4 % | critical: a failure holds the lot |
| Tannin | ≤ 0.3 % | |
| Crude fat | ≤ 4.7 % | |
| Particle size (85 % through 0.5 mm fine / 1 mm medium) | pass / fail | |
| Total aflatoxin | ≤ 10 ppb | 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": "SORGHUM-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": "SORGHUM-FLOUR",
"completed_at": "2026-11-16T17:30:00+03:00",
"outturn_no": "LOT-…",
"yield_pct": 76,
"outputs": [
{
"item": "SORGHUM-FLOUR",
"grade": null,
"role": "main",
"qty": 760,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": null,
"bag_unit": null,
"packets": null
},
{
"item": "SORGHUM-BRAN",
"grade": null,
"role": "by_product",
"qty": 200,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": 4,
"bag_unit": "bag50",
"packets": null
},
{
"item": "WASTE",
"grade": null,
"role": "waste",
"qty": 25,
"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 |
