> ## Documentation Index
> Fetch the complete documentation index at: https://developer.vetcove.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List invoice manual discount history

> Returns the change history for manual discounts applied to a specific invoice. Each entry records when a discount was added, modified, or removed. The history is sorted by creation date, with the most recent entries appearing first.



## OpenAPI

````yaml get /ext/v2/invoices/{invoice_id}/manual-discount-history/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/invoices/{invoice_id}/manual-discount-history/:
    get:
      tags:
        - Invoices
      summary: List invoice manual discount history
      description: >-
        Returns the change history for manual discounts applied to a specific
        invoice. Each entry records when a discount was added, modified, or
        removed. The history is sorted by creation date, with the most recent
        entries appearing first.
      operationId: invoices_get_manual_discount_history
      parameters:
        - description: The ID of the invoice to fetch history for
          in: path
          name: invoice_id
          required: true
          schema:
            description: The ID of the invoice to fetch history for
            title: Invoice Id
            type: integer
        - description: When provided, filters to objects with these IDs.
          in: query
          name: ids
          required: false
          schema:
            anyOf:
              - items:
                  type: integer
                type: array
              - type: 'null'
            description: When provided, filters to objects with these IDs.
            title: Ids
        - description: >-
            A cursor used for pagination. Fetches the page of results ending
            immediately before the object with the given ID. Cannot be used at
            the same time as `starting_after`.
          in: query
          name: ending_before
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              A cursor used for pagination. Fetches the page of results ending
              immediately before the object with the given ID. Cannot be used at
              the same time as `starting_after`.
            title: Ending Before
        - description: >-
            A cursor used for pagination. Fetches the page of results starting
            immediately after the given ID. Cannot be used at the same time as
            `ending_before`.
          in: query
          name: starting_after
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              A cursor used for pagination. Fetches the page of results starting
              immediately after the given ID. Cannot be used at the same time as
              `ending_before`.
            title: Starting After
        - description: The maximum number of items to return per page.
          in: query
          name: limit
          required: false
          schema:
            default: 10
            description: The maximum number of items to return per page.
            maximum: 100
            minimum: 1
            title: Limit
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceManualDiscountHistoryList'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    InvoiceManualDiscountHistoryList:
      properties:
        data:
          description: A single page of data contained within this list.
          items:
            $ref: '#/components/schemas/ExternalInvoiceManualDiscountHistorySchema'
          title: Data
          type: array
        has_more:
          default: false
          description: Whether there are more pages or data in this list.
          title: Has More
          type: boolean
        next_page:
          description: A URL linking to the next page of this list.
          title: Next Page
          type: string
        type:
          default: list
          description: Type of this object. Always `list`.
          title: Type
          type: string
      required:
        - data
        - next_page
      title: InvoiceManualDiscountHistoryList
      type: object
    ExternalInvoiceManualDiscountHistorySchema:
      description: >-
        Invoice manual discount history represents all actions taken on a manual
        discount prior to invoice finalization.
      properties:
        acting_user_id:
          description: The ID of the profile of the user who took this action.
          title: Acting User Id
          type: integer
        action_kind:
          anyOf:
            - $ref: '#/components/schemas/HistoryActionKind'
            - const: ''
              type: string
          description: The kind of action captured by this event.
          title: Action Kind
        cents_value:
          description: If set, the $ off discount this promotion will provide, in cents.
          title: Cents Value
          type: integer
        event_datetime:
          description: The date and time the event occurred.
          format: date-time
          title: Event Datetime
          type: string
        invoice_id:
          description: The ID of the invoice for this discount.
          title: Invoice Id
          type: integer
        invoice_item_id:
          description: The ID of the invoice item for this discount.
          title: Invoice Item Id
          type: integer
        manual_discount_id:
          description: The ID of the manual discount this history is tracking.
          title: Manual Discount Id
          type: integer
        percent_value:
          description: If set, the % discount this promotion will provide.
          title: Percent Value
          type: number
        reason:
          anyOf:
            - type: string
            - type: 'null'
          description: The reason this discount is being applied.
          title: Reason
      required:
        - event_datetime
        - action_kind
        - acting_user_id
        - manual_discount_id
        - invoice_id
        - invoice_item_id
        - percent_value
        - cents_value
        - reason
      title: InvoiceManualDiscountHistory
      type: object
    HistoryActionKind:
      enum:
        - CREATE
        - UPDATE
        - DELETE
      title: HistoryActionKind
      type: string
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````