namespace CashLineERP.Application.Finance;

public sealed record AccountsReceivableInvoiceDetailView(
    long AccountsReceivableInvoiceId,
    string InvoiceNumber,
    long CustomerId,
    long? SalesOrderId,
    long? DispatchOrderId,
    string InvoiceType,
    DateOnly InvoiceDate,
    DateOnly? TaxDate,
    DateOnly? DueDate,
    string CurrencyCode,
    string StatusCode,
    decimal SubtotalAmount,
    decimal TaxAmount,
    decimal TotalAmount,
    string? EtaUuid,
    string? EtaStatus,
    long? GeneralLedgerBatchId,
    IReadOnlyCollection<AccountsReceivableInvoiceLineView> Lines);
