using Baya.Application.Models.Common;
using Baya.Application.Models.Invoices;
using Mediator;

namespace Baya.Application.Features.Invoices.Commands.IssueInvoice;

/// <summary>Issues the booking's official commission invoice — a sequential number, config-driven VAT on the
/// commission line only, and a (mocked) مودیان submission. Idempotent per booking: re-issue returns the
/// existing invoice.</summary>
public record IssueInvoiceCommand(long BookingId) : IRequest<OperationResult<InvoiceDto>>;
