title: Dashboard Order Summary
type: object
x-tags:
  - Models
description: Recorded capture and full-void activity for the selected period and outlets. This is loyalty purchase activity; source financial sales and refunds are reported by YQueue.
required:
  - captured_amount
  - voided_amount
  - net_captured_amount
  - captured_orders
  - voided_orders
  - average_captured_order_value
  - unique_identified_customers
properties:
  captured_amount:
    allOf:
      - $ref: ./Money.yaml
      - properties:
          amount:
            minimum: 0
    description: Original purchase totals for captures recorded in the period, including captures subsequently voided. Capture time is the order created_at, not its source completed_at.
  voided_amount:
    allOf:
      - $ref: ./Money.yaml
      - properties:
          amount:
            minimum: 0
    description: Original purchase totals for full voids recorded in the period, including purchases captured in an earlier period. Void time is cancelled_at. This does not measure payment refunds.
  net_captured_amount:
    $ref: ./Money.yaml
    description: Captured amount minus voided amount. May be negative when the period includes voids of older purchases. Later voids do not revise the original capture period.
  captured_orders:
    type: integer
    minimum: 0
    description: Number of first captures recorded in the period. Retrying a capture does not add another action.
  voided_orders:
    type: integer
    minimum: 0
    description: Number of first full voids recorded in the period. Repeated voids are counted once.
  average_captured_order_value:
    allOf:
      - $ref: ./Money.yaml
      - properties:
          amount:
            minimum: 0
    description: Captured amount divided by captured order count, rounded to the nearest minor currency unit. Zero when there are no captures; void activity does not reduce this average.
  unique_identified_customers:
    type: integer
    minimum: 0
    description: Distinct currently retained customers whose purchases were captured in the period, including subsequently voided purchases. Void-only activity does not count as purchasing activity. Customer deletion preserves purchase counts and amounts but removes the deleted customer from identity metrics.
