| 35716 |
amit |
1 |
package com.spice.profitmandi.service.warehouse;
|
|
|
2 |
|
|
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
4 |
import com.spice.profitmandi.common.model.WarehouseInvoiceModel;
|
|
|
5 |
import com.spice.profitmandi.dao.model.warehouse.WarehouseInvoicePurchaseModel;
|
|
|
6 |
import org.springframework.stereotype.Service;
|
|
|
7 |
|
|
|
8 |
@Service
|
|
|
9 |
public interface InvoiceService {
|
|
|
10 |
|
|
|
11 |
void createInvoiceItem(WarehouseInvoiceModel invoiceModel);
|
|
|
12 |
|
|
|
13 |
WarehouseInvoicePurchaseModel validateInvoiceDetail(WarehouseInvoiceModel invoiceModel) throws ProfitMandiBusinessException;
|
|
|
14 |
|
|
|
15 |
void validateInvoiceDate(int supplierId, int warehouseId, java.time.LocalDate invoiceDate) throws ProfitMandiBusinessException;
|
|
|
16 |
}
|