using CashLineERP.Contracts.Sales;

namespace CashLineERP.Application.Sales;

public interface ISalesReturnService
{
    IReadOnlyCollection<SalesReturnResponse> GetSalesReturns();

    SalesReturnResponse? GetSalesReturn(long salesReturnId);

    SalesReturnResponse CreateSalesReturn(CreateSalesReturnRequest request);

    SalesReturnResponse SubmitSalesReturn(long salesReturnId, long actorUserId);

    SalesReturnResponse PostSalesReturn(long salesReturnId, long actorUserId);

    SalesReturnResponse IssueCreditNote(long salesReturnId, IssueSalesReturnCreditNoteRequest request);
}
