namespace CashLineERP.Application.Finance;

public sealed record SupplierStatementDetailView(
    long SupplierStatementId,
    string StatementNumber,
    long SupplierId,
    string SupplierCode,
    string SupplierName,
    DateOnly? DateFrom,
    DateOnly? DateTo,
    string CurrencyCode,
    decimal OpeningBalanceAmount,
    decimal TotalChargeAmount,
    decimal TotalSettlementAmount,
    decimal ClosingBalanceAmount,
    decimal OpenPayableAmount,
    decimal OverduePayableAmount,
    DateTime GeneratedAtUtc,
    long GeneratedByUserId,
    IReadOnlyCollection<SupplierStatementLineView> Lines);
