---
title: "List invoice manual discount history"
method: GET
path: "/ext/v2/invoices/{invoice_id}/manual-discount-history/"
tags: ["Invoices"]
---

# List invoice manual discount history

`GET /ext/v2/invoices/{invoice_id}/manual-discount-history/`

## Request

- Base URL: `https://connect.vetcove.com`
- URL: `https://connect.vetcove.com/ext/v2/invoices/{invoice_id}/manual-discount-history/`
- Auth: HTTP bearer

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.

## Path parameters

- `invoice_id` integer, required: The ID of the invoice to fetch history for

## Query parameters

- `ids` integer[], nullable: When provided, filters to objects with these IDs.
- `ending_before` integer, nullable: 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`.
- `starting_after` integer, nullable: 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`.
- `limit` integer: The maximum number of items to return per page.

## Response `200`

OK

- InvoiceManualDiscountHistoryList
  - `data` ExternalInvoiceManualDiscountHistorySchema[], required: A single page of data contained within this list.
    - `acting_user_id` integer, required: The ID of the profile of the user who took this action.
    - `action_kind` union, required: The kind of action captured by this event.
      - 'CREATE' | 'UPDATE' | 'DELETE'
      - ''
    - `cents_value` integer, required: If set, the $ off discount this promotion will provide, in cents.
    - `event_datetime` string, date-time, required: The date and time the event occurred.
    - `invoice_id` integer, required: The ID of the invoice for this discount.
    - `invoice_item_id` integer, required: The ID of the invoice item for this discount.
    - `manual_discount_id` integer, required: The ID of the manual discount this history is tracking.
    - `percent_value` number, required: If set, the % discount this promotion will provide.
    - `reason` string, nullable, required: The reason this discount is being applied.
  - `has_more` boolean: Whether there are more pages or data in this list.
  - `next_page` string, required: A URL linking to the next page of this list.
  - `type` string: Type of this object. Always `list`.

---

[API](https://skmtc.dev/vetcove/apis/ninjaapi.md) - [All operations](https://skmtc.dev/vetcove/apis/ninjaapi/llms.txt) - [OpenAPI document](https://skmtc.dev/vetcove/apis/ninjaapi/revisions/4ceaed956e15?raw)
