Uecko_ERP/apps/server/archive/contexts/customer-billing/domain/services/customer-invoice-service.interface.ts
2025-05-04 22:06:57 +02:00

9 lines
401 B
TypeScript

import { UniqueID } from "@/core/common/domain";
import { Collection, Result } from "@/core/common/helpers";
import { CustomerInvoice } from "../aggregates";
export interface ICustomerInvoiceService {
findCustomerInvoices(transaction?: any): Promise<Result<Collection<CustomerInvoice>, Error>>;
findCustomerInvoiceById(invoiceId: UniqueID, transaction?: any): Promise<Result<CustomerInvoice>>;
}