Value chains › Fresh Produce
Mango pack house
Field-run mangoes are received, washed, graded into Class I (export), Class II (local market) and processing grade (sent to pulping), pre-cooled and packed into 4 kg export cartons. Growers are paid per kg by grade.
agri.mango.pack_house
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 |
|---|---|---|---|
| Fresh mangoes | MANGO-FRESH | kg | 0804.50 |
Units besides kg: crate20 = 20 kg fruit crate (20 kg) , ctn4 = 4 kg export fruit carton (4 kg)
What the factory makes
Mango grading
| In | Code | Share |
|---|---|---|
| Fresh mangoes | MANGO-FRESH | 100 % |
| Out | Code | Kind | Yield |
|---|---|---|---|
| Mangoes Class I (export grade) | MANGO-CLASS1 | Main product | 40–65 % |
| Mangoes Class II (local market) | MANGO-CLASS2 | Co-product | 15–30 % |
| Mangoes processing grade (pack-house rejects) | MANGO-PROCESSING | By-product | 10–30 % |
| Waste | WASTE | Waste | 1–5 % |
Steps: Receiving and weighing → De-sapping and washing → Sorting for defects → Grading by class and size (count) → Pre-cooling
Export carton packing (4 kg net)
| In | Code | Share |
|---|---|---|
| Mangoes Class I (export grade) | MANGO-CLASS1 | |
| 4 kg ventilated mango carton | CARTON-MANGO-4KG |
| Out | Code | Kind | Yield |
|---|---|---|---|
| Mangoes Class I, 4 kg export carton | MANGO-EXPORT-CTN | Main product | 98–100 % |
Steps: Packing by count → Check-weighing and labelling → Palletising and cold store
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 |
|---|---|---|---|
| Mangoes Class I (export grade) | MANGO-CLASS1 | kg | 0804.50 |
| Mangoes Class II (local market) | MANGO-CLASS2 | kg | 0804.50 |
| Mangoes processing grade (pack-house rejects) | MANGO-PROCESSING | kg | 0804.50 |
| Mangoes Class I, 4 kg export carton | MANGO-EXPORT-CTN | pcs | 0804.50 |
Quality checks
Mango pack-house intake intake
Twenty fruits per grower lot
| Parameter | Accepted | |
|---|---|---|
| Dry matter (maturity; confirm the buyer's minimum) | ≥ 14 % | |
| Fruit fly cut test | pass / fail | critical: a failure holds the lot |
| Spray records within MRL / pre-harvest interval | pass / fail | critical: a failure holds the lot |
| Sap burn, anthracnose, bruising and blemishes | ≤ 10 % |
Mango Class I carton release release
One carton per 100 (at least 2 per lot)
| Parameter | Accepted | |
|---|---|---|
| Pulp temperature | 10–13 °C | critical: a failure holds the lot |
| Carton net weight | ≥ 4 kg | critical: a failure holds the lot |
| Class I tolerance (out-of-grade fruit) | ≤ 10 % | critical: a failure holds the lot |
| Size code / count | text | |
| Grower and pack-house trace label | 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": "MANGO-FRESH"
},
"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": "MANGO-CLASS1",
"completed_at": "2026-11-16T17:30:00+03:00",
"outturn_no": "LOT-…",
"yield_pct": 52.5,
"outputs": [
{
"item": "MANGO-CLASS1",
"grade": "CLASS1",
"role": "main",
"qty": 525,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": null,
"bag_unit": null,
"packets": null
},
{
"item": "MANGO-CLASS2",
"grade": "CLASS2",
"role": "co_product",
"qty": 225,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": null,
"bag_unit": null,
"packets": null
},
{
"item": "MANGO-PROCESSING",
"grade": null,
"role": "by_product",
"qty": 200,
"unit": "kg",
"lot_no": "LOT-…",
"yield_flag": null,
"bags": null,
"bag_unit": null,
"packets": null
},
{
"item": "WASTE",
"grade": null,
"role": "waste",
"qty": 30,
"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 |
|---|---|---|---|
| 4 kg ventilated mango carton | CARTON-MANGO-4KG | pcs |
