namespace CashLineERP.Contracts.Finance;

public sealed record AccountsReceivableReceiptResponse(
    long AccountsReceivableReceiptId,
    string ReceiptNumber,
    long CustomerId,
    DateOnly ReceiptDate,
    string ReceiptMethod,
    string CurrencyCode,
    string StatusCode,
    decimal AmountAmount,
    decimal UnappliedAmount,
    decimal RefundedAmount,
    decimal AvailableRefundAmount,
    string? ReferenceNumber,
    string? Notes,
    DateOnly? ReversalDate,
    string? ReversalReasonCode,
    string? ReversalNotes,
    long? ReversalGeneralLedgerBatchId,
    long? ReallocatedFromReceiptId,
    long? ReallocationReceiptId,
    long? GeneralLedgerBatchId,
    IReadOnlyCollection<AccountsReceivableReceiptAllocationResponse> Allocations);
