namespace CashLineERP.Contracts.Reporting;

public sealed record AgingReportResponse(
    string LedgerSideCode,
    DateOnly AsOfDate,
    int DocumentCount,
    int PartyCount,
    decimal TotalOutstandingAmount,
    decimal CurrentAmount,
    decimal Bucket1To30Amount,
    decimal Bucket31To60Amount,
    decimal Bucket61To90Amount,
    decimal Bucket90PlusAmount,
    IReadOnlyCollection<AgingReportRowResponse> Rows);
