https://help.tallysolutions.com/docs/te9rel64/Creating_Masters/Inventory_Info/Manufacturing_date_Expiry_date_for_Batches.htm

Using Expired Batches

You need to enable the option Allow use of expired batches for all stock items? to record transactions which involve expired batches of stock items.

Setting this option to Yes will allow you to use expired batches when:

You need to return expired goods to suppliers.

You sell expired batches to customers.

Note: This option is set to Yes , by default. If you select an expired stock item without enabling this option, an error message is displayed.

To use expired batches in transactions

1. Go to Gateway of Tally > Accounting Vouchers > F8: Sales > F12: Configure > F12: Advanced .

2. Set the option Allow use of expired batches for all stock items? to Yes .

3. Press Ctrl+A to accept.

You can now use expired batches of stock items.