namespace CashLineERP.Contracts.Finance;

public sealed record FinanceCloseJournalResponse(
    long FinanceCloseJournalId,
    string CloseJournalNumber,
    long AccountingPeriodId,
    long? BranchId,
    string JournalClassCode,
    DateOnly PostingDate,
    DateOnly DocumentDate,
    string? Notes,
    string StatusCode,
    decimal TotalDebitAmount,
    decimal TotalCreditAmount,
    DateTime? SubmittedAtUtc,
    long? SubmittedByUserId,
    DateTime? ApprovedAtUtc,
    long? ApprovedByUserId,
    DateTime? PostedAtUtc,
    long? PostedByUserId,
    long? GeneralLedgerBatchId,
    IReadOnlyCollection<FinanceCloseJournalLineResponse> Lines);
