Uecko_ERP/apps/server/src/contexts/customer-billing/domain/services/customer-invoice-service.interface.ts

9 lines
397 B
TypeScript
Raw Normal View History

2025-04-22 15:09:57 +00:00
import { UniqueID } from "core/common/domain";
import { Collection, Result } from "core/common/helpers";
2025-02-25 15:25:30 +00:00
import { CustomerInvoice } from "../aggregates";
export interface ICustomerInvoiceService {
findCustomerInvoices(transaction?: any): Promise<Result<Collection<CustomerInvoice>, Error>>;
findCustomerInvoiceById(invoiceId: UniqueID, transaction?: any): Promise<Result<CustomerInvoice>>;
}