Lot, Batch, and Expiration Date (EXP) Tracking: FEFO and FIFO Implementation
Discover the nuances of Lot and Batch tracking, alongside FEFO and FIFO methods that ensure the timely dispatch of your inventory before expiration dates pass, in this practical guide.

On this page
Introduction: Face the Silent Cost Leakage in Your Warehouse
If your business sells time-sensitive products such as food items, cosmetics, chemicals, or medical supplies, the biggest threat on your shelves is not theft or physical damage. The largest cost leak comes from products that are forgotten at the back of shelves, pass their expiration date (EXP), and ultimately have to be thrown away. Many SMEs and e-commerce sellers believe they ensure financial control simply by tracking total stock quantities. However, having 100 boxes of product in the warehouse does not mean that business possesses 100 boxes of sellable assets. If half of those boxes have reached the end of their shelf life or will do so in a few weeks, you are facing serious financial loss and a disposal operation.
This situation, which undermines an operation that appears successful on the surface, stems directly from a lack of Lot, Batch, and EXP tracking. It is not enough to know the date a product entered the warehouse; you must record in the system which production series (lot/batch) that product originated from and precisely when it must be consumed. Otherwise, while sending out the newest product on the shelf when packing a customer order from the warehouse, older products left behind will expire. This leads to customer complaints, product returns, loss of reputation, and most importantly, direct capital loss.
In this guide, we will examine in detail the operational logic of Lot and Batch concepts, the specifics of Expiration Date (EXP) tracking, the differences between FEFO (First Expired, First Out) and FIFO (First In, First Out) stock dispatch strategies, and how to ensure traceability in your preliminary accounting processes. Let us review together the steps you need to implement to bring waste rates close to zero in your warehouse and secure your business's profitability.
1. Basic Concepts and Legal Framework: Why Are Lot, Batch, and EXP Vital?
To manage inventory operations correctly, it is first necessary to clarify the meaning of the fundamental terms that form the data infrastructure. Often used interchangeably, the concepts of Lot and Batch actually represent the digital footprint of a product from the moment it is manufactured until it reaches the end consumer.
- Batch Number: A unique code identifying a group of products manufactured under the same production conditions, within the same timeframe, and using the same raw material inputs. For example, all cartons produced during the morning shift of October 10th at a fruit juice factory carry the same batch number.
- Lot Number: A coding system generally used to track the source of raw materials, suppliers, or smaller subgroups within the production process. Although the terms Lot and Batch are used synonymously in many industries, Lot plays a critical role primarily in raw material and component-based traceability.
- Expiration Date (EXP) / Best Before Date (BBD): Refers to the final day on which a product can maintain its safety, hygiene, and quality standards. Indicating these dates on packaging is a legal requirement under food, drug, and cosmetics regulations.
Looking at the legal regulations in Turkey, under regulations issued by the Ministry of Agriculture and Forestry and the Ministry of Health, businesses selling food, dietary supplements, cosmetics, and medical products are obligated to establish a backward traceability system. In the event of a potential public health risk or manufacturing defect, the relevant series must be swiftly recalled from the market. If your system does not record which customer was sold a product from which lot number, you might be forced to recall all your inventory, resulting in immense financial damage. Furthermore, during the stage of writing off and accounting for spoiled or expired products from inventory, you must act in accordance with GİB regulations. To learn about the taxation and VAT dimensions of spoiled and expired products occurring in your business, you can review our article titled Accounting Record and VAT Adjustment for Waste, Loss, and Spoiled Stock.
2. Inventory Strategies Comparison: Differences Between FEFO and FIFO
There are two main strategies in warehouse management that determine the order in which products will be dispatched: FIFO and FEFO. Choosing the wrong strategy causes warehouse workers to simply pick and ship the box at the very front or the most easily accessible one, causing stock with closer expiration dates to decay at the back.
FIFO (First In, First Out): Based on the principle that the product with the oldest warehouse entry date is dispatched first for sale. This method is highly suitable for products that may undergo time-dependent deformation but do not have a strict expiration date (for example, textiles, packaging materials, spare parts, furniture).
FEFO (First Expired, First Out): Based on the principle that the product with the nearest expiration date is dispatched first, regardless of its warehouse entry date. For example, a product entering your warehouse Yesterday may have an EXP 1 month from now, while a product entering Today may have an EXP 15 days from now (different lots may have arrived from the supplier). When FEFO is applied, the warehouse sells the product that entered today first. FEFO is the golden standard that must be used for food, pharmaceuticals, dermocosmetics, and chemical substances.
| Criterion | FIFO (First In, First Out) | FEFO (First Expired, First Out) |
|---|---|---|
| Primary Dispatch Criterion | Warehouse Entry Date | Expiration Date (EXP) |
| Suitable Sectors | Textiles, Spare Parts, Plastics, Stationery | Food, Pharmaceuticals, Cosmetics, Chemicals, Biological Products |
| Waste Risk Reduction Effect | Prevents Fashion and Model Obsolescence | Eliminates Spoilage and Expired Stock Waste |
| Required Tracking Data | Inward Waybill Date and Stock Code | Lot / Batch Number + Detailed EXP Information |
Selecting the right valuation method when calculating your inventory costs and preparing your financial statements is of critical importance. To gain deeper information on this topic, you can take a look at our content on Inventory Cost Calculation and Inventory Valuation Methods.
3. Step-by-Step Guide: Establishing a Lot/EXP Tracking System in Preliminary Accounting and the Warehouse
Making Lot and EXP tracking function seamlessly in your warehouse and digital system is not as complicated as it might seem. With a disciplined intake process and the right software infrastructure, you can quickly achieve operational efficiency. Here are the step-by-step instructions you should follow:
Step 1: Mandate Lot and EXP Data Entry during Goods Receipt
When goods arrive from a supplier, the warehouse clerk should not merely check the box count or quantity and accept the delivery. While entering the invoice or waybill record into the preliminary accounting software, the Lot/Batch number and EXP on the packaging for each item must be logged into the system. If different lots of the same product arrive, they must be recorded in the system as separate lines.
Step 2: Create a Warehouse Labeling and Location Layout
The lot and EXP information entered into the system must match the physical warehouse. By using barcoded labels in your racking system, place the items with the closest EXP at the very front of the picking area (pick-face). This way, picking staff pick the product conforming to the FEFO principle directly from the shelf without needing to ponder or read dates.
Step 3: Perform Lot Matching during Sales and Invoicing
During e-commerce or wholesale sales, the lot number of the product going into the package must be included on the e-Invoice or e-Waybill issued to the customer. This process builds trust with the customer and prevents fraudulent or different-lot product returns in case a return occurs.
Real Business Scenario: Suppose you are an e-commerce brand selling natural cosmetic products. Two different batches of the same moisturizing cream entered your warehouse in March. Batch A (Lot: K2024-1, EXP: 12/01/2024, 200 Units) and Batch B (Lot: K2024-2, EXP: 06/01/2025, 300 Units). For an order of 150 units coming in April, your system should automatically dispatch from Batch A (EXP: 12/2024) using the FEFO algorithm. Thus, products that will expire sooner are offloaded, while Batch B, which has a longer shelf life, safely remains in the warehouse.
4. Common Mistakes by Businesses and Operational Risks
Operational errors frequently encountered in businesses that do not perform Lot and EXP tracking or manage this tracking through word-of-mouth methods include:
- Attempting to Track Inventory on Excel: As product variety and movement frequency increase, Excel files lose currency. Manual spreadsheets open to human error lead to overlooked EXP warnings and increased disposal costs. To prevent errors originating from manual tracking in your business processes, you can apply the steps in our Guide to Preventing Inventory Tracking Errors.
- Recording Mixed Lots during Goods Receipt: Entering different lot numbers on pallets arriving from the supplier as a single stock item completely destroys traceability. To fix the error, every lot must be segregated at the moment of goods receipt.
- Failing to Set Critical EXP Thresholds: Taking action 1 month before a product's EXP is generally too late. Businesses should set up alarm mechanisms based on the product group (for instance, 90 days before EXP) and quickly liquidate these products through discounted campaigns or promotions.
- Failing to Manage Customer-Specific EXP Requests: If you are selling to wholesale buyers or supermarket chains, buyers often stipulate that "At least 70% of shelf life must remain unexpired." Without Lot and EXP tracking, finding and shipping the correct lot from the warehouse that meets this condition becomes impossible.
5. Frequently Asked Questions (FAQ)
What is the difference between a Lot Number and a Serial Number?
A Lot/Batch number is a collective group code assigned to hundreds or thousands of products coming off the same production line and using the same raw material batch. A Serial Number, on the other hand, is a unique code assigned to each individual product. For example, every mobile phone has a separate Serial Number (IMEI); however, 500 cases of canned corn all share a single Lot Number.
Is it mandatory to perform Lot and EXP tracking for every product?
From a legal standpoint, traceability and EXP tracking are mandatory for food, dietary supplements, pharmaceuticals, medical devices, cosmetics, and chemical products. However, in sectors without EXP risk, such as durable consumer goods or textiles, Lot tracking is not legally required, though it is preferred by corporate companies wishing to identify manufacturing errors or raw material defects.
What is the tax aspect regarding the disposal of expired products?
Spoiled or expired products may fall under the status of "lost/damaged goods" within the scope of GİB legislation. During the disposal of such goods, an assessment commission decision or minutes from authorized institutions are required. Pursuant to relevant legislation, input VAT related to lost goods may need to be adjusted. Because detailed procedures are subject to periodic communiqués, you should act in coordination with your financial advisor.
Does establishing a FEFO logic in the warehouse slow down operations?
During the initial setup phase, labeling and barcode scanning processes might take a few days. However, once the system is established, picking speed increases because employees do not have to think about which product to select. Most importantly, since year-end written-off stock costs are eliminated, the financial gain far exceeds the operational effort.
Summary and Conclusion: Waste-Free Inventory Management via Automation
To protect inventory profitability and make your growth sustainable, you must move away from tracking your warehouse based solely on quantity. Lot, batch number, and expiration date (EXP) tracking—when combined with proper FEFO practices—significantly reduce your waste rates, increase customer satisfaction, and safeguard your business during legal audits.
You can leverage digital solutions to track your inventory instantly on a lot and EXP basis, receive automatic alerts for upcoming dates, and work fully integrated with your invoicing processes. Digitization of your stock, lot, and preliminary accounting operations can begin immediately by opening a free account on Qolay.App, putting an end to waste costs in your warehouse.
This article is for general informational purposes. Tax legislation, communiqué limits, and application details are updated periodically; consult your financial advisor and GİB announcements regarding your own business situation.
Try it after reading
Start applying what you read with Qolay.App — for free.
Related articles
Other guides close to this topic.

The Hidden Errors of Production Cost and Bill of Materials Tracking with Excel
The Way Out of Broken Formulas, Outdated Purchase Prices, and Inventory Disconnection
See why production cost and bill of materials tracking done with Excel creates silent errors and how you can establish a flawless inventory-cost workflow with the Qolay.App pre-accounting platform.

Raw Material, Print, and Waste Tracking in Printed T-Shirt, Mug, and Promotional Workshops
DTF Printing, Blank T-Shirt Stock, and Print Error Waste Management
Learn how to cost raw textile or ceramic inventory, DTF printing film, press waste, and shipping packaging in printed t-shirt, mug, and promotional workshops.

Essence, Alcohol, Waste, and Bottle Costs in Cologne and Perfume Filling Workshops
Evaporation Waste, Essence Weight, and Bottle/Cap Inventory Tracking
Learn how to track ethyl alcohol, essence, evaporation waste, and bottle-valve-box inventories with a simple basic accounting setup in cologne and perfume filling workshops.