Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.service.warehouse;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.common.model.WarehouseInvoiceModel;
import com.spice.profitmandi.dao.model.warehouse.WarehouseInvoicePurchaseModel;
import org.springframework.stereotype.Service;

@Service
public interface InvoiceService {

    void createInvoiceItem(WarehouseInvoiceModel invoiceModel);

    WarehouseInvoicePurchaseModel validateInvoiceDetail(WarehouseInvoiceModel invoiceModel) throws ProfitMandiBusinessException;

    void validateInvoiceDate(int supplierId, int warehouseId, java.time.LocalDate invoiceDate) throws ProfitMandiBusinessException;
}