Prodaksha Developers

Value chains › Poultry

Table egg grading and packing

Ungraded eggs from own layers or contract farmers are candled, cleaned and graded by weight into XL, L, M and S; cracked eggs are sold separately and leakers/broken eggs are waste. Eggs are counted in pieces and packed in trays of 30.

agri.chicken.eggs_grading Grade, cure and pack yields confirmed

What the factory receives

Raw material your system can send as a consignment (item.code):

ItemCodeUnitHS code
Eggs ungraded (farm run)EGGS-UNGRADEDpcs0407.21

Units besides kg: tray30 = Tray of 30 eggs (30 pcs) , case360 = Case of 12 trays (360 eggs) (360 pcs)

What the factory makes

Egg candling and weight grading

InCodeShare
Eggs ungraded (farm run)EGGS-UNGRADED100 %
OutCodeKindYield
Eggs large (63–73 g)EGGS-LMain product25–45 %
Eggs extra large (73 g and over)EGGS-XLCo-product2–10 %
Eggs medium (53–63 g)EGGS-MCo-product30–50 %
Eggs small (under 53 g)EGGS-SCo-product3–15 %
Cracked eggs (sell same day / bakery)EGGS-CRACKEDBy-product1–4 %
WasteWASTEWaste0–2 %

Steps: Candling (blood spots, cracks, dirt) → Dry cleaning → Weighing and grading → Tray packing and date stamping

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
Eggs large (63–73 g)EGGS-Lpcs0407.21
Eggs extra large (73 g and over)EGGS-XLpcs0407.21
Eggs medium (53–63 g)EGGS-Mpcs0407.21
Eggs small (under 53 g)EGGS-Spcs0407.21
Cracked eggs (sell same day / bakery)EGGS-CRACKEDpcs0407.21

Quality checks

Egg intake per farm delivery intake

Per delivery: candle 2 trays (60 eggs)

ParameterAccepted
Cracked or broken≤ 3 %
Visibly dirty shells≤ 5 %
Days since lay≤ 5 dayscritical: a failure holds the lot
No layers under drug withdrawal (farm declaration)pass / failcritical: a failure holds the lot

Graded egg release release

One tray per grade per run

ParameterAccepted
Eggs outside the weight grade≤ 5 %
Cracked eggs in graded trays≤ 1 %critical: a failure holds the lot
No blood/meat spots or rots in the candling samplepass / failcritical: a failure holds the lot
Pack date / best-before on the tray labelpass / fail

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": "EGGS-UNGRADED"
    },
    "declared_qty": 1000,
    "unit": "pcs",
    "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": "EGGS-L",
        "completed_at": "2026-11-16T17:30:00+03:00",
        "outturn_no": "LOT-…",
        "yield_pct": 35,
        "outputs": [
            {
                "item": "EGGS-L",
                "grade": "L",
                "role": "main",
                "qty": 350,
                "unit": "pcs",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": null,
                "bag_unit": null,
                "packets": 350
            },
            {
                "item": "EGGS-XL",
                "grade": "XL",
                "role": "co_product",
                "qty": 60,
                "unit": "pcs",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": null,
                "bag_unit": null,
                "packets": 60
            },
            {
                "item": "EGGS-M",
                "grade": "M",
                "role": "co_product",
                "qty": 400,
                "unit": "pcs",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": null,
                "bag_unit": null,
                "packets": 400
            },
            {
                "item": "EGGS-S",
                "grade": "S",
                "role": "co_product",
                "qty": 90,
                "unit": "pcs",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": null,
                "bag_unit": null,
                "packets": 90
            },
            {
                "item": "EGGS-CRACKED",
                "grade": null,
                "role": "by_product",
                "qty": 25,
                "unit": "pcs",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": null,
                "bag_unit": null,
                "packets": 25
            },
            {
                "item": "WASTE",
                "grade": null,
                "role": "waste",
                "qty": 10,
                "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
Pulp egg tray (30 eggs)EGG-TRAYpcs4823.70