Prodaksha Developers

Value chains › Fresh Produce

Potato pack house

Ware potatoes from growers are received in 50 kg bags, cleaned, sorted and size-graded into large, medium and small (chatts); green, cut and diseased tubers are rejects sold as feed. Packing follows the 50 kg limit of the Irish Potato Regulations.

agri.potato.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
Ware potatoes (field run)POTATO-FRESHkg0701.90

Units besides kg: bag50 = 50 kg bag (50 kg)

What the factory makes

Potato size grading

InCodeShare
Ware potatoes (field run)POTATO-FRESH100 %
OutCodeKindYield
Ware potatoes, largePOTATO-LARGEMain product30–50 %
Ware potatoes, mediumPOTATO-MEDIUMCo-product25–40 %
Ware potatoes, small (chatts)POTATO-SMALLCo-product8–20 %
Potato rejects (green, cut, diseased) for feedPOTATO-REJECTBy-product3–10 %
WasteWASTEWaste1–5 %

Steps: Receiving and weighing → Dry brushing (soil and stones out) → Sorting out green, cut and diseased tubers → Size grading → Bagging (50 kg maximum)

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
Ware potatoes, largePOTATO-LARGEkg0701.90
Ware potatoes, mediumPOTATO-MEDIUMkg0701.90
Ware potatoes, small (chatts)POTATO-SMALLkg0701.90
Potato rejects (green, cut, diseased) for feedPOTATO-REJECTkg

Quality checks

Potato intake intake

Two bags per grower lot

ParameterAccepted
Greened tubers≤ 3 %
Soft rot and bacterial wilt (ooze) checkpass / failcritical: a failure holds the lot
Soil and stones≤ 5 %
Varietytext

Graded potato release release

One bag per 20

ParameterAccepted
Bag weight (Irish Potato Regulations maximum 50 kg)≤ 50 kgcritical: a failure holds the lot
Out-of-size tubers≤ 10 %
Bag label (variety, grade, origin)pass / 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": "POTATO-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": "POTATO-LARGE",
        "completed_at": "2026-11-16T17:30:00+03:00",
        "outturn_no": "LOT-…",
        "yield_pct": 40,
        "outputs": [
            {
                "item": "POTATO-LARGE",
                "grade": "LARGE",
                "role": "main",
                "qty": 400,
                "unit": "kg",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": 8,
                "bag_unit": "bag50",
                "packets": null
            },
            {
                "item": "POTATO-MEDIUM",
                "grade": "MEDIUM",
                "role": "co_product",
                "qty": 325,
                "unit": "kg",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": 6,
                "bag_unit": "bag50",
                "packets": null
            },
            {
                "item": "POTATO-SMALL",
                "grade": "SMALL",
                "role": "co_product",
                "qty": 140,
                "unit": "kg",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": 2,
                "bag_unit": "bag50",
                "packets": null
            },
            {
                "item": "POTATO-REJECT",
                "grade": null,
                "role": "by_product",
                "qty": 65,
                "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.