Spices arrive as crop lots from farmers, traders and mandis, and quality varies from bag to bag. Once an untested lot is cleaned, ground and blended, any problem in it spreads to everything it touched. The simplest control in a spice plant is also the most important: lot testing before processing. Nothing goes to cleaning or grinding until its tests are in and someone has released it.
What to test, and why
- Moisture: high moisture encourages mould growth and affects weight, grinding and shelf life.
- Foreign matter and extraneous material: stones, stems, dust and other material that cleaning has to remove.
- Aflatoxin: a toxin produced by certain moulds, a known concern in chillies, nutmeg and other spices grown or stored in warm, humid conditions.
- Pesticide residues: especially important for export, where buyers and destination markets set their own limits.
- Colour, aroma and volatile oil: commercial quality parameters that affect price and blending.
Limits differ between products, markets and buyers. Keep the limits for each spice and each customer or destination in the system, rather than in someone's memory.
Sampling matters as much as testing
Aflatoxin in particular is unevenly distributed: a few contaminated pods or fingers can sit in an otherwise clean lot. Draw samples from many bags across the lot according to your sampling plan, and record how the sample was drawn along with the result.
Build a testing plan
Not every lot needs every test. A practical plan sets out, for each spice and each market, which tests are done on every lot, which are done on a sampling basis, and which are needed only for certain buyers or destinations. Record the plan in the system so that when a lot is received, the required tests are listed and nothing is missed. Keep the lab, the method and the certificate with each result.
Hold until released
Every lot should enter stock as "on hold" at receipt. In-house results, such as moisture and foreign matter, can be entered the same day; lab results for aflatoxin or residues may take longer. Until the results are in and the lot is released, it should not be possible to issue it to cleaning or grinding. In Formezy, a held lot simply does not appear for issue.
Keep the link through processing
After cleaning and grading, a lot becomes several grades; after grinding, it becomes powder batches; after blending, it is part of a masala. Each step should keep the link to the original crop lot and its test results. Then a buyer's question, or a complaint months later, can be answered by tracing the pack back to the lots and their certificates.
When a lot fails
A failed result is not the end of the story, but it should never be a quiet one. Depending on the test and your procedures, the lot may be rejected and returned, cleaned or reprocessed and retested, or kept for a market with different requirements. Whatever is decided, record the decision, who made it and what happened to the material, so the lot's history is complete.
Certificates for buyers
Export buyers and many domestic institutional buyers ask for a certificate of analysis with each shipment. When test results are stored against the lot, the certificate is printed from the record rather than typed, and it matches the batch numbers on the packing list.
Learn from your suppliers' results
Over a season, lot-wise results show which suppliers, origins and storage practices give the best quality. That turns testing from a cost into a buying tool.
The spice ERP page shows how lots move from receipt and testing through cleaning, grinding and blending, and our page on food traceability and recall software explains lot-wise tracing in more detail.



