namespace CashLineERP.Application.Finance;

public interface IAccountingPeriodRepository
{
    IReadOnlyCollection<AccountingPeriodView> GetPeriods();

    AccountingPeriodCloseReadinessView GetCloseReadiness(long accountingPeriodId);

    AccountingPeriodMonthEndReviewView GetMonthEndReview(long accountingPeriodId);

    AccountingPeriodView MarkReadyToClose(long accountingPeriodId, long actorUserId);

    AccountingPeriodView Close(long accountingPeriodId, long actorUserId);
}
