Prodaksha Developers

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):

ItemCodeUnitHS code
Fresh mangoesMANGO-FRESHkg0804.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

InCodeShare
Fresh mangoesMANGO-FRESH100 %
OutCodeKindYield
Mangoes Class I (export grade)MANGO-CLASS1Main product40–65 %
Mangoes Class II (local market)MANGO-CLASS2Co-product15–30 %
Mangoes processing grade (pack-house rejects)MANGO-PROCESSINGBy-product10–30 %
WasteWASTEWaste1–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)

InCodeShare
Mangoes Class I (export grade)MANGO-CLASS1
4 kg ventilated mango cartonCARTON-MANGO-4KG
OutCodeKindYield
Mangoes Class I, 4 kg export cartonMANGO-EXPORT-CTNMain product98–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

ItemCodeUnitHS code
Mangoes Class I (export grade)MANGO-CLASS1kg0804.50
Mangoes Class II (local market)MANGO-CLASS2kg0804.50
Mangoes processing grade (pack-house rejects)MANGO-PROCESSINGkg0804.50
Mangoes Class I, 4 kg export cartonMANGO-EXPORT-CTNpcs0804.50

Quality checks

Mango pack-house intake intake

Twenty fruits per grower lot

ParameterAccepted
Dry matter (maturity; confirm the buyer's minimum)≥ 14 %
Fruit fly cut testpass / failcritical: a failure holds the lot
Spray records within MRL / pre-harvest intervalpass / failcritical: 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)

ParameterAccepted
Pulp temperature10–13 °Ccritical: a failure holds the lot
Carton net weight≥ 4 kgcritical: a failure holds the lot
Class I tolerance (out-of-grade fruit)≤ 10 %critical: a failure holds the lot
Size code / counttext
Grower and pack-house trace labelpass / failcritical: 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

ItemCodeUnitHS code
4 kg ventilated mango cartonCARTON-MANGO-4KGpcs