namespace CashLineERP.Application.External.Views;

public sealed record ExternalStatementDetailView(
    string StatementType,
    long StatementId,
    string StatementNumber,
    DateOnly? DateFrom,
    DateOnly? DateTo,
    string CurrencyCode,
    decimal ClosingBalanceAmount,
    decimal OpenAmount,
    decimal OverdueAmount,
    int DeliveryLogCount,
    DateTime GeneratedAtUtc,
    IReadOnlyCollection<ExternalStatementLineView> Lines,
    IReadOnlyCollection<ExternalStatementDeliveryLogView> DeliveryLogs);
