# BillingRunResellerOutcomeDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

The outcome of a single reseller's slice of a `BillingRunBatchResultDto`.

## Fields
- `resellerId` (string(uuid))
- `resellerName` (string): Display name of the reseller, when resolvable (admin fan-out only). (nullable)
- `billingRunId` (string(uuid)): The created run's id, when a run executed (null for skipped resellers). (nullable)
- `outcome` ([BillingRunResellerOutcome](https://devportal.demo.winkpg.io/docs/api/models/BillingRunResellerOutcome.md)): Classifies how a single reseller fared within an admin billing-run batch. Lives in  Domain.Shared so the Domain aggregate (`MerchantBillingRunBatch`'s embedded  outcome) and the Application.Contracts DTOs can both reference it without a layer violation.
  Values:
  - `Completed`: A run executed for the reseller (may include per-merchant failures within it).
  - `SkippedNoBillableMerchants`: No merchants were assigned to a price plan for the period: no run was created.
  - `SkippedAlreadyRun`: A completed (non-dry) run already exists for this reseller and period.
  - `SkippedRunInProgress`: A run is already in progress for this reseller.
  - `Failed`: The reseller's run failed before completion (or failed to enqueue).
  - `Scheduled`: The reseller's run was accepted and queued as a background job. Merchants are billed asynchronously; the run's final status (Completed, PartiallyCompleted or Failed) appears on the run once processing finishes. An all-resellers batch reports progress through the batch status instead.
  - `SkippedMerchantBillingDisabled`: The reseller has the "Merchant Billing" master switch (ResellerFeatures.MerchantBilling) turned off, so no run was created and no invoices were generated for its merchants.
- `successCount` (integer(int32)): Merchants successfully billed in this reseller's run.
- `failureCount` (integer(int32)): Merchants that failed in this reseller's run.
- `totalBilledAmount` (number(double)): Total amount billed in this reseller's run.

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
