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

namespace Baya.Application.Features.Invoices.Queries.GetInvoice;

/// <summary>The booking's invoice for the customer (tenancy-scoped) or an admin. Surfaces the number, amounts,
/// VAT, مودیان status and a PDF download URL when present.</summary>
public record GetInvoiceQuery(long BookingId) : IRequest<OperationResult<InvoiceDto>>;
