namespace CashLineERP.Contracts.Finance;

public sealed record SupplierAccountReconciliationResponse(
    long SupplierId,
    string SupplierCode,
    string SupplierName,
    DateOnly AsOfDate,
    string CurrencyCode,
    long? LastStatementId,
    string? LastStatementNumber,
    DateTime? LastStatementGeneratedAtUtc,
    decimal LastStatementClosingBalanceAmount,
    decimal CurrentBalanceAmount,
    decimal OpenPayableAmount,
    decimal OverduePayableAmount,
    decimal UnappliedPaymentAmount,
    int OnHoldBillCount,
    decimal DifferenceAmount,
    IReadOnlyCollection<SupplierAccountReconciliationLineResponse> Lines);
