Value chains › Horticulture
Onion curing and packing
Freshly lifted bulb onions are field- or shed-cured until necks are dry, topped and root-trimmed, then size-graded into large, medium and small cured onions packed in 10 kg nets; split, sprouted and rotten bulbs go out as rejects and curing weight loss is recorded as waste.
agri.onion.curing_pack
Grade, cure and pack yields confirmed
What the factory receives
Raw material your system can send as a consignment (item.code):
| Item | Code | Unit | HS code |
|---|---|---|---|
| Onions, freshly lifted (uncured) | ONION-FIELD | kg | 0703.10 |
Units besides kg: bag50 = 50 kg bag (50 kg) , net10 = 10 kg mesh net bag (10 kg)
What the factory makes
Onion curing, topping and size grading
| In | Code | Share |
|---|---|---|
| Onions, freshly lifted (uncured) | ONION-FIELD | 100 % |
| Out | Code | Kind | Yield |
|---|---|---|---|
| Cured onions, medium (40–60 mm) | ONION-MEDIUM | Main product | 40–55 % |
| Cured onions, large (≥ 60 mm) | ONION-LARGE | Co-product | 20–35 % |
| Cured onions, small / pickling (< 40 mm) | ONION-SMALL | Co-product | 8–15 % |
| Onion rejects (split, sprouted, doubles, soft) | ONION-REJECT | By-product | 2–6 % |
| Waste | WASTE | Waste | 4–10 % |
Steps: Windrow / shed curing (7–14 days, necks dry) → Topping and root trimming → Sorting out rejects → Size grading → Packing in 10 kg nets → Ventilated storage
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 |
|---|---|---|---|
| Cured onions, large (≥ 60 mm) | ONION-LARGE | kg | 0703.10 |
| Cured onions, medium (40–60 mm) | ONION-MEDIUM | kg | 0703.10 |
| Cured onions, small / pickling (< 40 mm) | ONION-SMALL | kg | 0703.10 |
| Onion rejects (split, sprouted, doubles, soft) | ONION-REJECT | kg |
Quality checks
Onions at lifting / intake intake
One 20 kg sample per grower lot
| Parameter | Accepted | |
|---|---|---|
| Mechanical damage, sunscald and rot | ≤ 5 % | critical: a failure holds the lot |
| Bolted (thick-necked) bulbs | ≤ 5 % |
Onion curing endpoint in_process
Ten bulbs per curing bay before topping
| Parameter | Accepted | |
|---|---|---|
| Necks tight and dry, outer skins papery | pass / fail | critical: a failure holds the lot |
| Curing weight loss | ≤ 10 % |
Cured onion release release
One 10 kg net per 1 t graded
| Parameter | Accepted | |
|---|---|---|
| Size within the grade band | pass / fail | critical: a failure holds the lot |
| Soft rot and mould | ≤ 1 % | critical: a failure holds the lot |
| Visible sprouting | ≤ 1 % | |
| Net weight per net | ≥ 10 kg | 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": "ONION-FIELD"
},
"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": "ONION-MEDIUM",
"completed_at": "2026-11-16T17:30:00+03:00",
"outturn_no": "LOT-…",
"yield_pct": 47.5,
"outputs": [
{
"item": "ONION-MEDIUM",
"grade": "MEDIUM",
"role": "main",
"qty": 475,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": null,
"bag_unit": null,
"packets": null
},
{
"item": "ONION-LARGE",
"grade": "LARGE",
"role": "co_product",
"qty": 275,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": null,
"bag_unit": null,
"packets": null
},
{
"item": "ONION-SMALL",
"grade": "SMALL",
"role": "co_product",
"qty": 115,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": null,
"bag_unit": null,
"packets": null
},
{
"item": "ONION-REJECT",
"grade": null,
"role": "by_product",
"qty": 40,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": null,
"bag_unit": null,
"packets": null
},
{
"item": "WASTE",
"grade": null,
"role": "waste",
"qty": 70,
"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 |
|---|---|---|---|
| 10 kg mesh net bag | PACK-NET-10KG | pcs |
