At the manufacturing plant or while the products are being transferred from one supply layer to another, there is a considerable possibility of receiving damaged or faulty items mixed in with non-defective commodities. This research focuses on the non-defective and defective products that are shipped to retailers by their suppliers. The retailer reworks faulty items to make them non-defective, and the retailer receives a discount on the cost of purchasing defective items. The presented inventory system addresses the uncertainty in inventory costs and also considers the deterioration of items with prioritized maximum product life. In this study, our aim is to minimize the total inventory cost when demand rate as a function of quality and power pattern of time under crisp and generalized triangular neutrosophic environments.Based on the payment deal, interest charges are imposed only when the payment delay has passed a particular allowable time limit. The neutrosophic number, which provides three different types of membership functions representing truth, hesitation, and falseness, is used in the inventory model to handle the cost pattern's uncertainty. A particle swarm optimization approach is used to analyze the proposed inventory model, and the results are validated using a numerical example and sensitivity analysis for various parameters.