namespace CashLineERP.Contracts.Finance;

public sealed record CreateAccountsReceivableInvoiceRequest(
    long CustomerId,
    long? SalesOrderId,
    long? DispatchOrderId,
    string InvoiceType,
    DateOnly InvoiceDate,
    DateOnly? TaxDate,
    DateOnly? DueDate,
    string CurrencyCode,
    IReadOnlyCollection<CreateAccountsReceivableInvoiceLineRequest> Lines);
