namespace CashLineERP.Contracts.Finance;

public sealed record AccountsReceivableInvoiceResponse(
    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<AccountsReceivableInvoiceLineResponse> Lines);
