namespace CashLineERP.Contracts.External;

public sealed record ExternalCustomerStatusTrackingResponse(
    long PartyId,
    long? CustomerProfileId,
    string? CustomerProfileCode,
    string? CustomerProfileStatusCode,
    string? CustomerClassificationCode,
    string? CustomerSegmentCode,
    string? SalesChannelCode,
    string? PriceTierCode,
    string? InvoiceDeliveryMethodCode,
    bool IsCustomerProfileActive,
    decimal? CreditLimitAmount,
    int? CreditTermsDays,
    bool IsCreditHoldEnabled,
    string? CreditHoldReason,
    string CurrencyCode,
    int OrderCount,
    int InvoiceCount,
    int PaymentCount,
    int DeliveryCount,
    int DeliveredCount,
    int PendingDeliveryCount,
    decimal OpenInvoiceAmount,
    decimal OverdueInvoiceAmount,
    decimal UnappliedPaymentAmount,
    decimal StatementBalanceAmount,
    string? LatestOrderNumber,
    string? LatestOrderStatusCode,
    string? LatestInvoiceNumber,
    string? LatestInvoiceStatusCode,
    string? LatestDispatchNumber,
    string? LatestDispatchStatusCode);
