namespace CashLineERP.Contracts.External;

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